Examples of HtmlContainer


Examples of com.extjs.gxt.ui.client.widget.HtmlContainer

      }
    });
    serviceField.setValue(serviceDisco.getSearchServices().get(0));
    main.add(serviceField);  
   
    searchForm = new HtmlContainer();
    main.add(searchForm);
     
    searchPanel.add(main);
   
    searchButton = new Button(JabberApp.getConstants().search());
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.HtmlContainer

  private void createNorth() {
    StringBuffer sb = new StringBuffer();
    sb.append("<div id='demo-header' class='x-small-editor'><div id='demo-theme'></div><div id=demo-title>Ext GWT Mail Demo</div></div>");

    HtmlContainer northPanel = new HtmlContainer(sb.toString());
    northPanel.setStateful(false);

    BorderLayoutData data = new BorderLayoutData(LayoutRegion.NORTH, 33);
    data.setMargins(new Margins());
    viewport.add(northPanel, data);
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.HtmlContainer

  private void createNorth() {
    StringBuffer sb = new StringBuffer();
    sb.append("<div id='demo-theme'></div><div id=demo-title>Ext GWT Explorer Demo</div>");

    northPanel = new HtmlContainer(sb.toString());
    northPanel.setStateful(false);
    northPanel.setId("demo-header");
    northPanel.addStyleName("x-small-editor");

    ThemeSelector selector = new ThemeSelector();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.HtmlContainer

  private void createNorth() {
    StringBuffer sb = new StringBuffer();
    sb.append("<div id='demo-header' class='x-small-editor'><div id='demo-theme'></div><div id=demo-title>Ext GWT Examples</div></div>");

    HtmlContainer northPanel = new HtmlContainer(sb.toString());
    northPanel.setStateful(false);

    ThemeSelector selector = new ThemeSelector();
    selector.setWidth(125);
    northPanel.add(selector, "#demo-theme");

    BorderLayoutData data = new BorderLayoutData(LayoutRegion.NORTH, 33);
    data.setMargins(new Margins());
    viewport.add(northPanel, data);
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.HtmlContainer

            el = module.getHeader().el();
        }

        if (text != null) {
            layoutContainer.setLayout(new CenterLayout());
            HtmlContainer box = new HtmlContainer(text);
            box.addStyleName("x-view-item");
            box.setStyleAttribute("background-color", "white");
            box.setStyleAttribute("color", textColor);
            box.setStyleAttribute("font-weight", "bold");
            box.setStyleAttribute("text-align", "center");
            box.setWidth(250);
            box.setStyleAttribute("white-space", "normal");
            layoutContainer.add(box);
        }
        if (!images.isEmpty()) {
            layoutContainer.setLayout(new HBoxLayout());
            for (AbstractImagePrototype image : images) {
View Full Code Here

Examples of org.geomajas.puregwt.client.map.gfx.HtmlContainer

      GWT.log("WARN: Trying to remove bottom container when there is no top container...");
    }
  }

  private void fakeZoom(double scale, Bbox bounds) {
    HtmlContainer container = getBottomContainer();
    if (container == null || beginOrigin == null) {
      getTopContainer();
      return;
    }

    // Zoom in:
    container.zoomToLocation(scale / beginScale, 0, 0);
  }
View Full Code Here

Examples of org.geomajas.puregwt.client.map.gfx.HtmlContainer

    container.zoomToLocation(scale / beginScale, 0, 0);
  }

  private HtmlContainer getTopContainer() {
    if (htmlContainer.getChildCount() < 2) {
      HtmlContainer tempContainer = new HtmlGroup();
      if (renderDelayed) {
        tempContainer.setVisible(false);
      }
      htmlContainer.add(tempContainer);
      return tempContainer;
    }
    return (HtmlContainer) htmlContainer.getChild(1);
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlContainer

    /* methods to draw information */

    @Override
    public HtmlComponent createComponent(Object object, Class type) {
        final HtmlContainer container = new HtmlBlockContainer();
        draw(getDegreeCurricularPlan(), createMainTable(container));
        return container;
    }
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlContainer

        page.bind(bean, "page");
        selected.bind(bean, "selected");
        selected.setConverter(new DomainObjectKeyConverter());

        HtmlContainer container = new HtmlBlockContainer();
        container.addChild(page);
        container.addChild(selected);

        addPreviousNextButtons(container, page, "previous", "next");

        container.addChild(table);

        if (table.getHeader() != null) {
            for (HtmlTableRow row : table.getHeader().getRows()) {
                row.createCell("");
            }
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlContainer

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            private HtmlComponent processUnionGroup(UnionGroup object) {
                HtmlContainer container = new HtmlInlineContainer();
                container.setIndented(false);

                int i = object.getChildren().size();

                for (Group child : object.getChildren()) {
                    if (child instanceof UnionGroup) {
                        container.addChild(processUnionGroup((UnionGroup) child));
                    } else {
                        container.addChild(new HtmlText(child.getPresentationName()));
                    }
                    i--;
                    if (i > 0) {
                        container.addChild(new HtmlText(", "));
                    }
                }

                return container;
            }

            @Override
            public HtmlComponent createComponent(Object object, Class type) {

                HtmlInlineContainer container = new HtmlInlineContainer();

                if (object instanceof UnionGroup) {
                    container.addChild(processUnionGroup((UnionGroup) object));
                } else {
                    Group group = (Group) object;
                    container.addChild(new HtmlText(group.getPresentationName()));
                }

                return container;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.