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

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


    return panel;
  }
 
  private final LayoutContainer createSelectionButtons() {
    LayoutContainer panel = new LayoutContainer();   
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(300, 22); //have to hard code to make it visible in FF...
    RowData layoutData = new RowData();
    layoutData.setMargins(new Margins(0, 5, 0, 0));
    addButton(BTN_ONE, BTN_ONE, panel, layoutData, false, constants.showSelectLevel1());
    addButton(BTN_TWO, BTN_TWO, panel, layoutData, false, constants.showSelectLevel2());
View Full Code Here


    return panel;
  }

  private final LayoutContainer createExtendedButtons() {
    LayoutContainer panel = new LayoutContainer();   
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(300, 22); //have to hard code to make it visible in FF...
    RowData layoutData = new RowData();
    layoutData.setMargins(new Margins(0, 5, 0, 0));
//    addButton(BTN_ALL, constants.shortHandForAllElements(), panel, layoutData, false, constants.showSelectAll());
//    RowData spaceData = new RowData();
View Full Code Here

    return panel;
  }
 
  private final LayoutContainer createRegexPanel() {
    LayoutContainer panel = new LayoutContainer();   
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(300, 22); //have to hard code to make it visible in FF...
    RowData layoutData = new RowData();
    layoutData.setHeight(22);
   
    regExField = new TextField <String>();
View Full Code Here

    //button row:
    LayoutContainer buttonRow = createAddRemoveButtons();
   
    //all together
    LayoutContainer panel = new LayoutContainer();   
    RowLayout rLayout = new RowLayout(Orientation.HORIZONTAL);
    rLayout.setExtraStyle("align-right");
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(300, 22);
    RowData layoutData = new RowData();
    layoutData.setMargins(new Margins(0, 5, 0, 0));
    addButton(BTN_EMPTY_LIST, constants.emptyList(), panel, layoutData, false, constants.emptyList());
   
View Full Code Here

    return cont;
  }
  private final LayoutContainer createAddRemoveButtons() {
    LayoutContainer panel = new LayoutContainer();   
    XUser user = ((Workbench)Registry.get(Workbench.ID)).getUser();
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(280, 22); //have to hard code to make it visible in FF...
    RowData layoutData = new RowData();
    layoutData.setMargins(new Margins(0, 5, 0, 0));
    showOnRight = new CheckBox();
    showOnRight.setBoxLabel(constants.alwaysShowFilterOnRight());
View Full Code Here

  }
  private final LayoutContainer arrangeCaptionTreeAndButtons(LayoutContainer headerButtons, String caption,
      LayoutContainer treePanel, LayoutContainer eButtons, LayoutContainer buttonRow, LayoutContainer regex) {
    LayoutContainer content = new LayoutContainer();
    content.setHeight(365);
    content.setLayout(new RowLayout());
    RowData layoutData = new RowData();
    layoutData.setMargins(new Margins(5, 0, 0, 0));
   
    if (headerButtons != null) {
      content.add(headerButtons);
    }
    content.add(new Label(caption));
    content.add(treePanel, layoutData);
    if (eButtons != null) {
      content.add(eButtons, layoutData);
    }
    content.add(buttonRow, layoutData);
    if (regex != null) {
      content.add(regex, layoutData);
    } else {
      LayoutContainer panel = new LayoutContainer();   
      panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
      panel.setSize(230, 50); //have to hard code to make it visible in FF...
      RowData lData = new RowData();
      lData.setMargins(new Margins(5, 5, 0, 0));
      LabelField l = new LabelField();
      l.setText(constants.shiftCtrlHint());
View Full Code Here

  }
 
  private final LayoutContainer createButtonsPanel() {
    LayoutContainer buttons = new LayoutContainer();
    LayoutContainer panel = new LayoutContainer();   
    panel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    panel.setSize(25, 22); //have to hard code to make it visible in FF...   
   
    buttons.setAutoHeight(true);
    buttons.setLayout(new RowLayout());
    RowData data = new RowData();
    data.setMargins(new Margins(0, 0, 25, 6));
    buttons.add(panel);
    buttons.add(new Label(constants.filterOr()), data);
   
View Full Code Here

    panel.setButtonAlign(HorizontalAlignment.RIGHT);
    panel.setLayout(new FlowLayout());

    // main container:
    LayoutContainer main = new LayoutContainer();
    RowLayout rowLayout = new RowLayout();
    main.setLayout(rowLayout);

    main.add(createAccountChoice());
    main.add(createTreePanel());
View Full Code Here

        });
  }
 
  private final LayoutContainer createTreePanel() {
    LayoutContainer panel = new LayoutContainer();
    panel.setLayout(new RowLayout());
    panel.add(new LabelField(constants.views() + ":"));
    LayoutContainer treePanel = new LayoutContainer();
    selectionTree = new ViewSelectionTree(false, true);
    Tree viewTree = selectionTree.getTree();
    viewTree.setCheckable(true);
View Full Code Here

    tabFolder = new TabPanel();
    tabFolder.setTabScroll(true);

    addTabs(tabFolder);

    RowLayout layout = new RowLayout(Orientation.VERTICAL);
    content.setLayout(layout);
    content.add(tabFolder, new RowData(1, 1));
  }
View Full Code Here

TOP

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

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.