Package com.extjs.gxt.ui.client.widget.layout

Examples of com.extjs.gxt.ui.client.widget.layout.FlowLayout


public class DatePickerExample extends LayoutContainer {

  @Override
  protected void onRender(Element parent, int index) {
    super.onRender(parent, index);
    setLayout(new FlowLayout(10));
   
    final DatePicker picker = new DatePicker();
    picker.addListener(Events.Select, new Listener<ComponentEvent>() {

      public void handleEvent(ComponentEvent be) {
View Full Code Here


public class GroupingGridExample extends LayoutContainer {

  @Override
  protected void onRender(Element parent, int index) {
    super.onRender(parent, index);
    setLayout(new FlowLayout(10));

    GroupingStore<Stock> store = new GroupingStore<Stock>();
    store.add(TestData.getCompanies());
    store.groupBy("industry");
View Full Code Here

    });
    contextMenu.add(remove);

    tree.setContextMenu(contextMenu);

    setLayout(new FlowLayout(8));
    add(tree);

  }
View Full Code Here

public class CalendarPanel extends LayoutContainer {

    // TODO GXT 2

    public CalendarPanel(final String callback, String activeDate) {
        setLayout(new FlowLayout());
        final DateTimeFormat dateTimeFormat = DateTimeFormat.getFormat("dd/MM/yyyy");
        final DateMenu menu = new DateMenu();
        if(activeDate !=null && !"".equals(activeDate.trim()))
        menu.getDatePicker().setValue(dateTimeFormat.parse(activeDate),true);
        menu.addListener(new EventType(Event.ONKEYDOWN+Event.ONKEYUP), new Listener<ComponentEvent>() {
View Full Code Here

                        HTML link = new HTML(Messages.get("webFolderMessage.label") + "<br /><br /><a target=\"_new\" folder=\"" + url + "\" style=\"behavior:url(#default#AnchorClick)\">" + selection.getName() + "</a>");
                        final Dialog dl = new Dialog();
                        dl.setModal(true);
                        dl.setHeading(Messages.get("label.openIEFolder"));
                        dl.setHideOnButtonClick(true);
                        dl.setLayout(new FlowLayout());
                        dl.setScrollMode(Style.Scroll.AUTO);
                        dl.add(link);
                        dl.setHeight(150);
                        linker.loaded();
                        dl.show();
View Full Code Here

    @Override public void onComponentSelection() {
        final com.extjs.gxt.ui.client.widget.Window dl = new com.extjs.gxt.ui.client.widget.Window();
        HTML html = new HTML("Generating war, please wait ...");
        dl.setModal(true);
        dl.setHeading(Messages.get("label.export"));
        dl.setLayout(new FlowLayout());
        dl.setScrollMode(Style.Scroll.AUTO);
        dl.add(html);
        dl.setHeight(120);
        dl.show();
View Full Code Here

    Map<Element, Module> m;
    protected LayoutContainer scrollContainer;

    public MainModule(final String html, final String path, final String template, String nodeTypes, GWTEditConfiguration config) {
        super("main", path, template, nodeTypes, new FlowLayout());
        setScrollMode(Style.Scroll.NONE);

        this.id = "main";
        this.originalHtml = html;
        this.path = path;
        this.template = template;
        this.config = config;
        this.depth = 0;

        head = new ToolbarHeader();
        head.setText(Messages.get("label.page", "Page") + ": " + path);
        head.addStyleName("x-panel-header");
        head.setStyleAttribute("z-index", "999");
        head.setStyleAttribute("position", "relative");

        scrollContainer = new LayoutContainer(new FlowLayout());
        add(head);
        add(scrollContainer);
        scrollContainer.addStyleName("gwt-body-edit");
        Hover.getInstance().setMainModule(this);
        Selection.getInstance().setMainModule(this);
View Full Code Here

*/
public class PlaceholderModule extends Module {
    private LayoutContainer panel;

    public PlaceholderModule(String id, String path, Element divElement, MainModule mainModule) {
        super(id, path, divElement, mainModule, new FlowLayout());

        if (path.endsWith("*")) {
            setBorders(false);
        } else {
            setBorders(true);
View Full Code Here

        }
      }

    };
   
    FlowLayout layoutMain = new  FlowLayout();
    setLayout(layoutMain);
       
      FieldSet fieldSet = new FieldSet();
      fieldSet.setBorders(false);
       
View Full Code Here

public class Portlet extends ContentPanel {

  private boolean pinned = false;

  public Portlet() {
    this(new FlowLayout());
  }
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.widget.layout.FlowLayout

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.