Package com.smartgwt.client.widgets

Examples of com.smartgwt.client.widgets.HTMLFlow


            return DESCRIPTION;
        }
    }

    public Canvas getViewPanel() {
        HTMLFlow htmlFlow = new HTMLFlow();
        htmlFlow.setOverflow(Overflow.AUTO);
        htmlFlow.setPadding(10);

        String contents = "<b>Severity 1</b> - Critical problem<br>System is unavailable in production or " +
                "is corrupting data, and the error severely impacts the user's operations." +
                "<br><br><b>Severity 2</b> - Major problem<br>An important function of the system " +
                "is not available in production, and the user's operations are restricted." +
                "<br><br><b>Severity 3</b> - Minor problem<br>Inability to use a function of the " +
                "system occurs, but it does not seriously affect the user's operations.";

        htmlFlow.setContents(contents);

        final SectionStack sectionStack = new SectionStack();
        sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);
        sectionStack.setWidth(300);
        sectionStack.setHeight(350);
View Full Code Here


        }
    }

    public Canvas getViewPanel() {

        HTMLFlow htmlFlow = new HTMLFlow();
        htmlFlow.setWidth(230);
        htmlFlow.setStyleName("exampleTextBlock");
        String contents = "<hr><span class='exampleDropTitle'>Ajax&nbsp;&nbsp;</span> " +
                "<b>A</b>synchronous <b>J</b>avaScript <b>A</b>nd <b>X</b>ML (AJAX) is a " +
                "Web development technique for creating interactive <b>web applications</b>.<hr>";
        htmlFlow.setContents(contents);
        return htmlFlow;
    }
View Full Code Here

    Canvas canvas = new Canvas();
        VLayout layout = new VLayout();
    layout.setMembersMargin(10);

    final HTMLFlow flow = new HTMLFlow();     
    flow.setContents("<span class='exampleDropTitle'>Ajax&nbsp;&nbsp;</span> <b>A</b>synchronous <b>J</b>avaScript <b>A</b>nd " +
                "<b>X</b>ML (AJAX) is a Web development technique for creating interactive <b>web applications</b>. The intent is to " +
                "make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the " +
                "entire Web page does not have to be reloaded each time the user makes a change. This is meant to increase the " +
                "Web page's <b>interactivity</b>, <b>speed</b>, and <b>usability</b>. (Source: <a href='http://www.wikipedia.org' " +
                "title='Wikipedia' target='_blank'>Wikipedia</a>)");
    flow.setStyleName("exampleTextBlock");
    flow.setOverflow(Overflow.HIDDEN);
    flow.setShowEdges(true);
    flow.setPadding(5);
    flow.setWidth(75);
    flow.setHeight(45);
    flow.setTop(50);
    flow.setAnimateTime(800); //in milliseconds

    IButton expandButton = new IButton();
    expandButton.setTitle("Expand");
    expandButton.setLeft(40);
    expandButton.addClickHandler(new ClickHandler() {
      public void onClick(ClickEvent event) {
        flow.animateResize(310,195);

      }
    });

    IButton collapseButton = new IButton();
    collapseButton.setTitle("Collapse");
    collapseButton.addClickHandler(new ClickHandler() {
      public void onClick(ClickEvent event) {
        flow.animateResize(75,45);
      }
    });

    HLayout hLayout = new HLayout();
    hLayout.setMembersMargin(10);
View Full Code Here

            return DESCRIPTION;
        }
    }

    public Canvas getViewPanel() {
        HTMLFlow htmlFlow = new HTMLFlow();
        htmlFlow.setOverflow(Overflow.AUTO);
        htmlFlow.setPadding(10);

        String contents =  "<b>Severity 1</b> - Critical problem<br>System is unavailable in production or " +
              "is corrupting data, and the error severely impacts the user's operations." +
              "<br><br><b>Severity 2</b> - Major problem<br>An important function of the system " +
              "is not available in production, and the user's operations are restricted." +
              "<br><br><b>Severity 3</b> - Minor problem<br>Inability to use a function of the " +
              "system occurs, but it does not seriously affect the user's operations.";

        htmlFlow.setContents(contents);

        final SectionStack sectionStack = new SectionStack();
        sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);
        sectionStack.setWidth(300);
        sectionStack.setHeight(350);
View Full Code Here

    header.setAutoHeight();
    header.setOverflow(Overflow.VISIBLE);
    header.setBackgroundColor("lightgrey");
    header.setWidth100();

    HTMLFlow body = new HTMLFlow();
    body.setBorder("1px");
    body
        .setContents("<p style='font-family: monospace; font-size: 10pt;'>Hallo,<br /><br />am 29.09. (n&auml;chste Woche Freitag) ist Ed Burns in M&uuml;nchen um die Wiesn zu besuchen (siehe JUGM Meeting vom 15.11.2005: <a href='http://www.jugm.de/mitglieder.htm' target='_blank'>http://www.jugm.de/mitglieder.htm</a>)!<br /><br />Davor ist geplant gemeinsam Abend zu essen (Wirtshaus um 18:00). Dabei ist Gelegenheit mit Ed Burns und Vertretern der Apache MyFaces Implementierung &uuml;ber JSF (W&uuml;nsche f&uuml;r 2.0) zu diskutieren.<br /><br />Anschlie&szlig;end (voraussichtlich 20:00) gehts dann auf die Wiesn.<br /><br /><br />Wer Lust hat sich anzuschlie&szlig;en schickt mir bitte ein Mail an ah@jugm.de bis sp&auml;testens Montag Abend damit ich entsprechend einen Tisch reservieren kann.<br /><br /><br />Viele Gr&uuml;&szlig;e<br />Andreas<br /><br /><br /> <br />Yahoo! Groups Links<br /><br />&lt;*&gt; Besuchen Sie Ihre Group im Web unter:<br />    <a href='http://de.groups.yahoo.com/group/gi-ak-jug/' target='_blank'>http://de.groups.yahoo.com/group/gi-ak-jug/</a><br /><br />&lt;*&gt; Um sich von der Group abzumelden, senden Sie eine Mail an:<br />    gi-ak-jug-unsubscribe@yahoogroups.de<br /><br />&lt;*&gt; Mit der Nutzung von Yahoo! Groups akzeptieren Sie unsere:<br />    <a href='http://de.docs.yahoo.com/info/utos.html' target='_blank'>http://de.docs.yahoo.com/info/utos.html</a><br /> <br /><br /><br /><br /></p>");
    body.setWidth100();
    body.setOverflow(Overflow.VISIBLE);

    mainlayout.setMembers(header, body);

    setChildren(mainlayout);
  }
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.HTMLFlow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.