com.vaadin.ui.HorizontalLayout.setImmediate() - java examples

Here are the examples of the java api com.vaadin.ui.HorizontalLayout.setImmediate() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

26 Examples 7

17 View Complete Implementation : AttributeSelectionWindow.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    // optionGroupAttribute
    optionGroupAttribute = new OptionGroup();
    optionGroupAttribute.setCaption("Attribute Source");
    optionGroupAttribute.setImmediate(false);
    optionGroupAttribute.setWidth("-1px");
    optionGroupAttribute.setHeight("-1px");
    optionGroupAttribute.setInvalidAllowed(false);
    horizontalLayout_1.addComponent(optionGroupAttribute);
    // verticalLayout_2
    verticalLayout_2 = buildVerticalLayout_2();
    horizontalLayout_1.addComponent(verticalLayout_2);
    return horizontalLayout_1;
}

17 View Complete Implementation : ActionAutocleanupConfigurationItem.java
Copyright Eclipse Public License 1.0
Author : eclipse
private static HorizontalLayout newHorizontalLayout() {
    final HorizontalLayout layout = new HorizontalLayout();
    layout.setSpacing(true);
    layout.setImmediate(true);
    return layout;
}

16 View Complete Implementation : MainLayout.java
Copyright Apache License 2.0
Author : alenca
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_3() {
    // common part: create layout
    horizontalLayout_3 = new HorizontalLayout();
    horizontalLayout_3.setImmediate(false);
    horizontalLayout_3.setWidth("100.0%");
    horizontalLayout_3.setHeight("100.0%");
    horizontalLayout_3.setMargin(false);
    // tabSheet_1
    tabSheet_1 = new TabSheet();
    tabSheet_1.setImmediate(false);
    tabSheet_1.setWidth("100.0%");
    tabSheet_1.setHeight("100.0%");
    horizontalLayout_3.addComponent(tabSheet_1);
    return horizontalLayout_3;
}

15 View Complete Implementation : MainLayout.java
Copyright Apache License 2.0
Author : alenca
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_4() {
    // common part: create layout
    horizontalLayout_4 = new HorizontalLayout();
    horizontalLayout_4.setImmediate(false);
    horizontalLayout_4.setWidth("100.0%");
    horizontalLayout_4.setHeight("-1px");
    horizontalLayout_4.setMargin(false);
    // versionLabel
    versionLabel = new Label();
    versionLabel.setImmediate(false);
    versionLabel.setWidth("-1px");
    versionLabel.setHeight("-1px");
    versionLabel.setValue("zklogtool web application 0.1");
    horizontalLayout_4.addComponent(versionLabel);
    horizontalLayout_4.setComponentAlignment(versionLabel, new Alignment(34));
    return horizontalLayout_4;
}

14 View Complete Implementation : PIPManagement.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutToolbar() {
    // common part: create layout
    horizontalLayoutToolbar = new HorizontalLayout();
    horizontalLayoutToolbar.setImmediate(false);
    horizontalLayoutToolbar.setWidth("-1px");
    horizontalLayoutToolbar.setHeight("-1px");
    horizontalLayoutToolbar.setMargin(false);
    horizontalLayoutToolbar.setSpacing(true);
    // buttonAdd
    buttonAdd = new Button();
    buttonAdd.setCaption("Add Configuration");
    buttonAdd.setImmediate(true);
    buttonAdd.setWidth("-1px");
    buttonAdd.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonAdd);
    // buttonClone
    buttonClone = new Button();
    buttonClone.setCaption("Clone Configuration");
    buttonClone.setImmediate(true);
    buttonClone.setWidth("-1px");
    buttonClone.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonClone);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove Configuration");
    buttonRemove.setImmediate(true);
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonRemove);
    // buttonImport
    buttonImport = new Button();
    buttonImport.setCaption("Import Configuration");
    buttonImport.setImmediate(false);
    buttonImport.setDescription("Imports a configuration from a properties file.");
    buttonImport.setWidth("-1px");
    buttonImport.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonImport);
    return horizontalLayoutToolbar;
}

14 View Complete Implementation : AttributeSimpleCreatorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // tableCategory
    tableCategory = new Table();
    tableCategory.setCaption("Choose Category");
    tableCategory.setImmediate(false);
    tableCategory.setWidth("-1px");
    tableCategory.setHeight("-1px");
    tableCategory.setInvalidAllowed(false);
    tableCategory.setRequired(true);
    horizontalLayout_1.addComponent(tableCategory);
    // tableDatatype
    tableDatatype = new Table();
    tableDatatype.setCaption("Choose Data Type");
    tableDatatype.setImmediate(false);
    tableDatatype.setWidth("-1px");
    tableDatatype.setHeight("-1px");
    tableDatatype.setInvalidAllowed(false);
    tableDatatype.setRequired(true);
    horizontalLayout_1.addComponent(tableDatatype);
    return horizontalLayout_1;
}

14 View Complete Implementation : AttributeStandardSelectorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_2() {
    // common part: create layout
    horizontalLayout_2 = new HorizontalLayout();
    horizontalLayout_2.setImmediate(false);
    horizontalLayout_2.setWidth("-1px");
    horizontalLayout_2.setHeight("-1px");
    horizontalLayout_2.setMargin(false);
    horizontalLayout_2.setSpacing(true);
    // tableAttributes
    tableAttributes = new Table();
    tableAttributes.setCaption("Standard Attributes");
    tableAttributes.setImmediate(false);
    tableAttributes.setWidth("-1px");
    tableAttributes.setHeight("-1px");
    tableAttributes.setInvalidAllowed(false);
    tableAttributes.setRequired(true);
    horizontalLayout_2.addComponent(tableAttributes);
    // tableDatatypes
    tableDatatypes = new Table();
    tableDatatypes.setCaption("Standard Data Types");
    tableDatatypes.setImmediate(false);
    tableDatatypes.setWidth("-1px");
    tableDatatypes.setHeight("-1px");
    tableDatatypes.setInvalidAllowed(false);
    tableDatatypes.setRequired(true);
    horizontalLayout_2.addComponent(tableDatatypes);
    return horizontalLayout_2;
}

14 View Complete Implementation : EnumerationEditorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // buttonAdd
    buttonAdd = new Button();
    buttonAdd.setCaption("Add");
    buttonAdd.setImmediate(true);
    buttonAdd.setDescription("Add a new enumeration value.");
    buttonAdd.setWidth("-1px");
    buttonAdd.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonAdd);
    horizontalLayout_1.setComponentAlignment(buttonAdd, new Alignment(9));
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove");
    buttonRemove.setImmediate(true);
    buttonRemove.setDescription("Remove the selected enumeration value.");
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonRemove);
    horizontalLayout_1.setComponentAlignment(buttonRemove, new Alignment(10));
    // buttonClearAll
    buttonClearAll = new Button();
    buttonClearAll.setCaption("Clear All");
    buttonClearAll.setImmediate(false);
    buttonClearAll.setDescription("Clears all the values out.");
    buttonClearAll.setWidth("-1px");
    buttonClearAll.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonClearAll);
    return horizontalLayout_1;
}

14 View Complete Implementation : PIPParameterComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // buttonAdd
    buttonAdd = new Button();
    buttonAdd.setCaption("Add");
    buttonAdd.setImmediate(false);
    buttonAdd.setWidth("-1px");
    buttonAdd.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonAdd);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove");
    buttonRemove.setImmediate(false);
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonRemove);
    // buttonClone
    buttonClone = new Button();
    buttonClone.setCaption("Clone");
    buttonClone.setImmediate(false);
    buttonClone.setWidth("-1px");
    buttonClone.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonClone);
    // buttonClear
    buttonClear = new Button();
    buttonClear.setCaption("Clear All");
    buttonClear.setImmediate(false);
    buttonClear.setWidth("-1px");
    buttonClear.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonClear);
    return horizontalLayout_1;
}

14 View Complete Implementation : AttributeSelectionWindow.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private VerticalLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new VerticalLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("-1px");
    mainLayout.setHeight("-1px");
    mainLayout.setMargin(true);
    mainLayout.setSpacing(true);
    // top-level component properties
    setWidth("-1px");
    setHeight("-1px");
    // horizontalLayout_1
    horizontalLayout_1 = buildHorizontalLayout_1();
    mainLayout.addComponent(horizontalLayout_1);
    // horizontalLayoutAttribute
    horizontalLayoutAttribute = new HorizontalLayout();
    horizontalLayoutAttribute.setImmediate(false);
    horizontalLayoutAttribute.setWidth("-1px");
    horizontalLayoutAttribute.setHeight("-1px");
    horizontalLayoutAttribute.setMargin(false);
    mainLayout.addComponent(horizontalLayoutAttribute);
    mainLayout.setExpandRatio(horizontalLayoutAttribute, 1.0f);
    // buttonSave
    buttonSave = new Button();
    buttonSave.setCaption("Select");
    buttonSave.setImmediate(true);
    buttonSave.setWidth("-1px");
    buttonSave.setHeight("-1px");
    mainLayout.addComponent(buttonSave);
    mainLayout.setComponentAlignment(buttonSave, new Alignment(48));
    return mainLayout;
}

14 View Complete Implementation : ObligationAdviceEditorWindow.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // buttonAdd
    buttonAdd = new Button();
    buttonAdd.setCaption("Add Expression");
    buttonAdd.setImmediate(false);
    buttonAdd.setWidth("-1px");
    buttonAdd.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonAdd);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove Expression");
    buttonRemove.setImmediate(false);
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonRemove);
    // buttonClear
    buttonClear = new Button();
    buttonClear.setCaption("Clear Expressions");
    buttonClear.setImmediate(false);
    buttonClear.setWidth("-1px");
    buttonClear.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonClear);
    return horizontalLayout_1;
}

13 View Complete Implementation : OpenTransactionLogFileDialog.java
Copyright Apache License 2.0
Author : alenca
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // followCheckbox
    followCheckbox = new CheckBox();
    followCheckbox.setCaption("Follow");
    followCheckbox.setImmediate(false);
    followCheckbox.setWidth("-1px");
    followCheckbox.setHeight("-1px");
    horizontalLayout_1.addComponent(followCheckbox);
    // startFromLastCheckbox
    startFromLastCheckbox = new CheckBox();
    startFromLastCheckbox.setCaption("Start from last transaction");
    startFromLastCheckbox.setImmediate(false);
    startFromLastCheckbox.setWidth("-1px");
    startFromLastCheckbox.setHeight("-1px");
    horizontalLayout_1.addComponent(startFromLastCheckbox);
    return horizontalLayout_1;
}

12 View Complete Implementation : AttributeDictionary.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutToolbar() {
    // common part: create layout
    horizontalLayoutToolbar = new HorizontalLayout();
    horizontalLayoutToolbar.setImmediate(false);
    horizontalLayoutToolbar.setWidth("-1px");
    horizontalLayoutToolbar.setHeight("-1px");
    horizontalLayoutToolbar.setMargin(false);
    horizontalLayoutToolbar.setSpacing(true);
    // buttonNew
    buttonNew = new Button();
    buttonNew.setCaption("New");
    buttonNew.setImmediate(true);
    buttonNew.setDescription("Create a new attribute");
    buttonNew.setWidth("70px");
    buttonNew.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonNew);
    horizontalLayoutToolbar.setComponentAlignment(buttonNew, new Alignment(9));
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove");
    buttonRemove.setImmediate(true);
    buttonRemove.setDescription("Remove the selected attribute(s)");
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonRemove);
    horizontalLayoutToolbar.setComponentAlignment(buttonRemove, new Alignment(9));
    // buttonClone
    buttonClone = new Button();
    buttonClone.setCaption("Clone");
    buttonClone.setImmediate(true);
    buttonClone.setDescription("Clone an attribute.");
    buttonClone.setWidth("-1px");
    buttonClone.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonClone);
    horizontalLayoutToolbar.setComponentAlignment(buttonClone, new Alignment(9));
    // comboBoxFilterCategory
    comboBoxFilterCategory = new ComboBox();
    comboBoxFilterCategory.setCaption("Filter By Category");
    comboBoxFilterCategory.setImmediate(false);
    comboBoxFilterCategory.setWidth("-1px");
    comboBoxFilterCategory.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(comboBoxFilterCategory);
    // comboBoxFilterDatatype
    comboBoxFilterDatatype = new ComboBox();
    comboBoxFilterDatatype.setCaption("Filter By Data Type");
    comboBoxFilterDatatype.setImmediate(false);
    comboBoxFilterDatatype.setWidth("-1px");
    comboBoxFilterDatatype.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(comboBoxFilterDatatype);
    return horizontalLayoutToolbar;
}

12 View Complete Implementation : ObadviceDictionary.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutToolbar() {
    // common part: create layout
    horizontalLayoutToolbar = new HorizontalLayout();
    horizontalLayoutToolbar.setImmediate(false);
    horizontalLayoutToolbar.setWidth("-1px");
    horizontalLayoutToolbar.setHeight("-1px");
    horizontalLayoutToolbar.setMargin(false);
    horizontalLayoutToolbar.setSpacing(true);
    // buttonNew
    buttonNew = new Button();
    buttonNew.setCaption("New");
    buttonNew.setImmediate(true);
    buttonNew.setDescription("Add a new advice or obligation to the dictionary.");
    buttonNew.setWidth("-1px");
    buttonNew.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonNew);
    horizontalLayoutToolbar.setComponentAlignment(buttonNew, new Alignment(24));
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove");
    buttonRemove.setImmediate(true);
    buttonRemove.setDescription("Remove the selected advice or obligation from the dictionary.");
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonRemove);
    horizontalLayoutToolbar.setComponentAlignment(buttonRemove, new Alignment(24));
    // buttonClone
    buttonClone = new Button();
    buttonClone.setCaption("Clone");
    buttonClone.setImmediate(true);
    buttonClone.setDescription("Clone the selected obligation/advice.");
    buttonClone.setWidth("-1px");
    buttonClone.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonClone);
    horizontalLayoutToolbar.setComponentAlignment(buttonClone, new Alignment(24));
    // comboBoxFilter
    comboBoxFilter = new ComboBox();
    comboBoxFilter.setCaption("Filter By Type");
    comboBoxFilter.setImmediate(false);
    comboBoxFilter.setWidth("-1px");
    comboBoxFilter.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(comboBoxFilter);
    return horizontalLayoutToolbar;
}

12 View Complete Implementation : UserManagement.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutToolbar() {
    // common part: create layout
    horizontalLayoutToolbar = new HorizontalLayout();
    horizontalLayoutToolbar.setImmediate(false);
    horizontalLayoutToolbar.setWidth("-1px");
    horizontalLayoutToolbar.setHeight("-1px");
    horizontalLayoutToolbar.setMargin(true);
    horizontalLayoutToolbar.setSpacing(true);
    // buttonAdd
    buttonAdd = new Button();
    buttonAdd.setCaption("Add User");
    buttonAdd.setImmediate(false);
    buttonAdd.setWidth("-1px");
    buttonAdd.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonAdd);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove User");
    buttonRemove.setImmediate(false);
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonRemove);
    return horizontalLayoutToolbar;
}

12 View Complete Implementation : AttributeDictionarySelectorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_2() {
    // common part: create layout
    horizontalLayout_2 = new HorizontalLayout();
    horizontalLayout_2.setImmediate(false);
    horizontalLayout_2.setWidth("-1px");
    horizontalLayout_2.setHeight("-1px");
    horizontalLayout_2.setMargin(false);
    horizontalLayout_2.setSpacing(true);
    // comboBoxCategoryFilter
    comboBoxCategoryFilter = new ComboBox();
    comboBoxCategoryFilter.setCaption("Filter Category");
    comboBoxCategoryFilter.setImmediate(false);
    comboBoxCategoryFilter.setWidth("-1px");
    comboBoxCategoryFilter.setHeight("-1px");
    horizontalLayout_2.addComponent(comboBoxCategoryFilter);
    horizontalLayout_2.setExpandRatio(comboBoxCategoryFilter, 1.0f);
    // buttonNewAttribute
    buttonNewAttribute = new Button();
    buttonNewAttribute.setCaption("New Attribute");
    buttonNewAttribute.setImmediate(true);
    buttonNewAttribute.setDescription("Click to create a new attribute in the dictionary.");
    buttonNewAttribute.setWidth("-1px");
    buttonNewAttribute.setHeight("-1px");
    horizontalLayout_2.addComponent(buttonNewAttribute);
    horizontalLayout_2.setComponentAlignment(buttonNewAttribute, new Alignment(10));
    return horizontalLayout_2;
}

12 View Complete Implementation : OaExpressionsEditorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // buttonadd
    buttonadd = new Button();
    buttonadd.setCaption("Add");
    buttonadd.setImmediate(true);
    buttonadd.setWidth("-1px");
    buttonadd.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonadd);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove");
    buttonRemove.setImmediate(true);
    buttonRemove.setDescription("Remove selected expression(s).");
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonRemove);
    return horizontalLayout_1;
}

11 View Complete Implementation : XacmlAdminConsole.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("100.0%");
    horizontalLayout_1.setHeight("40px");
    horizontalLayout_1.setMargin(false);
    // embedded_1
    embedded_1 = new Embedded();
    embedded_1.setImmediate(false);
    embedded_1.setWidth("30px");
    embedded_1.setHeight("30px");
    embedded_1.setSource(new ThemeResource("img/att.png"));
    embedded_1.setType(1);
    embedded_1.setMimeType("image/png");
    horizontalLayout_1.addComponent(embedded_1);
    horizontalLayout_1.setComponentAlignment(embedded_1, new Alignment(33));
    // caption
    caption = new Label();
    caption.setImmediate(false);
    caption.setWidth("-1px");
    caption.setHeight("-1px");
    caption.setValue("Apache OpenAZ Admin Console");
    horizontalLayout_1.addComponent(caption);
    horizontalLayout_1.setExpandRatio(caption, 1.0f);
    horizontalLayout_1.setComponentAlignment(caption, new Alignment(33));
    // labelWelcome
    labelWelcome = new Label();
    labelWelcome.setImmediate(false);
    labelWelcome.setWidth("-1px");
    labelWelcome.setHeight("40px");
    labelWelcome.setValue("Label");
    horizontalLayout_1.addComponent(labelWelcome);
    horizontalLayout_1.setComponentAlignment(labelWelcome, new Alignment(34));
    return horizontalLayout_1;
}

11 View Complete Implementation : XacmlAdminConsole.java
Copyright MIT License
Author : att
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("100.0%");
    horizontalLayout_1.setHeight("40px");
    horizontalLayout_1.setMargin(false);
    // embedded_1
    embedded_1 = new Embedded();
    embedded_1.setImmediate(false);
    embedded_1.setWidth("30px");
    embedded_1.setHeight("30px");
    embedded_1.setSource(new ThemeResource("img/att.png"));
    embedded_1.setType(1);
    embedded_1.setMimeType("image/png");
    horizontalLayout_1.addComponent(embedded_1);
    horizontalLayout_1.setComponentAlignment(embedded_1, new Alignment(33));
    // caption
    caption = new Label();
    caption.setImmediate(false);
    caption.setWidth("-1px");
    caption.setHeight("-1px");
    caption.setValue("AT&T Policy Engine Admin Console");
    horizontalLayout_1.addComponent(caption);
    horizontalLayout_1.setExpandRatio(caption, 1.0f);
    horizontalLayout_1.setComponentAlignment(caption, new Alignment(33));
    // labelWelcome
    labelWelcome = new Label();
    labelWelcome.setImmediate(false);
    labelWelcome.setWidth("-1px");
    labelWelcome.setHeight("40px");
    labelWelcome.setValue("Label");
    horizontalLayout_1.addComponent(labelWelcome);
    horizontalLayout_1.setComponentAlignment(labelWelcome, new Alignment(34));
    return horizontalLayout_1;
}

10 View Complete Implementation : PDPManagement.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutToolbar() {
    // common part: create layout
    horizontalLayoutToolbar = new HorizontalLayout();
    horizontalLayoutToolbar.setImmediate(false);
    horizontalLayoutToolbar.setWidth("-1px");
    horizontalLayoutToolbar.setHeight("-1px");
    horizontalLayoutToolbar.setMargin(true);
    horizontalLayoutToolbar.setSpacing(true);
    // buttonCreate
    buttonCreate = new Button();
    buttonCreate.setCaption("Create Group");
    buttonCreate.setImmediate(false);
    buttonCreate.setWidth("-1px");
    buttonCreate.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonCreate);
    // buttonRemove
    buttonRemove = new Button();
    buttonRemove.setCaption("Remove Group");
    buttonRemove.setImmediate(false);
    buttonRemove.setWidth("-1px");
    buttonRemove.setHeight("-1px");
    horizontalLayoutToolbar.addComponent(buttonRemove);
    return horizontalLayoutToolbar;
}

10 View Complete Implementation : ArtifactDetailsLayout.java
Copyright Eclipse Public License 1.0
Author : eclipse
private void buildLayout() {
    final HorizontalLayout header = new HorizontalLayout();
    header.addStyleName("artifact-details-header");
    header.addStyleName("bordered-layout");
    header.addStyleName("no-border-bottom");
    header.setSpacing(false);
    header.setMargin(false);
    header.setSizeFull();
    header.setHeightUndefined();
    header.setImmediate(true);
    header.addComponents(replacedleOfArtifactDetails, maxMinButton);
    header.setComponentAlignment(replacedleOfArtifactDetails, Alignment.TOP_LEFT);
    header.setComponentAlignment(maxMinButton, Alignment.TOP_RIGHT);
    header.setExpandRatio(replacedleOfArtifactDetails, 1.0F);
    setSizeFull();
    setImmediate(true);
    addStyleName("artifact-table");
    addStyleName("table-layout");
    addComponent(header);
    setComponentAlignment(header, Alignment.MIDDLE_CENTER);
    addComponent(artifactDetailsTable);
    setComponentAlignment(artifactDetailsTable, Alignment.MIDDLE_CENTER);
    setExpandRatio(artifactDetailsTable, 1.0F);
}

7 View Complete Implementation : AbstractTableHeader.java
Copyright Eclipse Public License 1.0
Author : eclipse
private void buildLayout() {
    final HorizontalLayout replacedleFilterIconsLayout = createHeaderFilterIconLayout();
    replacedleFilterIconsLayout.addComponents(headerCaption, searchField, searchResetIcon, showFilterButtonLayout);
    replacedleFilterIconsLayout.setComponentAlignment(headerCaption, Alignment.TOP_LEFT);
    replacedleFilterIconsLayout.setComponentAlignment(searchField, Alignment.TOP_RIGHT);
    replacedleFilterIconsLayout.setComponentAlignment(searchResetIcon, Alignment.TOP_RIGHT);
    replacedleFilterIconsLayout.setComponentAlignment(showFilterButtonLayout, Alignment.TOP_RIGHT);
    if (hasCreatePermission() && isAddNewItemAllowed()) {
        replacedleFilterIconsLayout.addComponent(addIcon);
        replacedleFilterIconsLayout.setComponentAlignment(addIcon, Alignment.TOP_RIGHT);
    }
    if (hasCreatePermission() && isBulkUploadAllowed()) {
        replacedleFilterIconsLayout.addComponent(bulkUploadIcon);
        replacedleFilterIconsLayout.setComponentAlignment(bulkUploadIcon, Alignment.TOP_RIGHT);
    }
    replacedleFilterIconsLayout.addComponent(maxMinIcon);
    replacedleFilterIconsLayout.setComponentAlignment(maxMinIcon, Alignment.TOP_RIGHT);
    replacedleFilterIconsLayout.setExpandRatio(headerCaption, 0.4F);
    replacedleFilterIconsLayout.setExpandRatio(searchField, 0.6F);
    addComponent(replacedleFilterIconsLayout);
    final HorizontalLayout dropHintDropFilterLayout = new HorizontalLayout();
    dropHintDropFilterLayout.addStyleName("filter-drop-hint-layout");
    dropHintDropFilterLayout.setWidth(100, Unit.PERCENTAGE);
    if (isDropFilterRequired()) {
        filterDroppedInfo = new HorizontalLayout();
        filterDroppedInfo.setImmediate(true);
        filterDroppedInfo.setStyleName("target-dist-filter-info");
        filterDroppedInfo.setHeightUndefined();
        filterDroppedInfo.setSizeUndefined();
        displayFilterDropedInfoOnLoad();
        final DragAndDropWrapper dropFilterLayout = new DragAndDropWrapper(filterDroppedInfo);
        dropFilterLayout.setId(getDropFilterId());
        dropFilterLayout.setDropHandler(getDropFilterHandler());
        dropHintDropFilterLayout.addComponent(dropFilterLayout);
        dropHintDropFilterLayout.setComponentAlignment(dropFilterLayout, Alignment.TOP_CENTER);
        dropHintDropFilterLayout.setExpandRatio(dropFilterLayout, 1.0F);
    }
    addComponent(dropHintDropFilterLayout);
    setComponentAlignment(dropHintDropFilterLayout, Alignment.TOP_CENTER);
    addStyleName("bordered-layout");
    addStyleName("no-border-bottom");
}

5 View Complete Implementation : ExpressionBuilderComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // buttonAddExpression
    buttonAddExpression = new Button();
    buttonAddExpression.setCaption("Add Expression");
    buttonAddExpression.setImmediate(true);
    buttonAddExpression.setWidth("-1px");
    buttonAddExpression.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonAddExpression);
    // buttonDeleteExpression
    buttonDeleteExpression = new Button();
    buttonDeleteExpression.setCaption("Delete Expression");
    buttonDeleteExpression.setImmediate(true);
    buttonDeleteExpression.setWidth("-1px");
    buttonDeleteExpression.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonDeleteExpression);
    // buttonClearAll
    buttonClearAll = new Button();
    buttonClearAll.setCaption("Clear All");
    buttonClearAll.setImmediate(true);
    buttonClearAll.setDescription("Clears all the expressions.");
    buttonClearAll.setWidth("-1px");
    buttonClearAll.setHeight("-1px");
    horizontalLayout_1.addComponent(buttonClearAll);
    // checkBoxShortName
    checkBoxShortName = new CheckBox();
    checkBoxShortName.setCaption("Display Short XACML ID's");
    checkBoxShortName.setImmediate(false);
    checkBoxShortName.setDescription("If checked, the right-most string of the function and datatype URI's will only be displayed.");
    checkBoxShortName.setWidth("-1px");
    checkBoxShortName.setHeight("-1px");
    horizontalLayout_1.addComponent(checkBoxShortName);
    return horizontalLayout_1;
}

4 View Complete Implementation : RangeEditorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_2() {
    // common part: create layout
    horizontalLayout_2 = new HorizontalLayout();
    horizontalLayout_2.setImmediate(false);
    horizontalLayout_2.setWidth("-1px");
    horizontalLayout_2.setHeight("-1px");
    horizontalLayout_2.setMargin(false);
    horizontalLayout_2.setSpacing(true);
    // comboBoxMax
    comboBoxMax = new ComboBox();
    comboBoxMax.setCaption("Maximum Type");
    comboBoxMax.setImmediate(true);
    comboBoxMax.setDescription("Select the type for the maximum.");
    comboBoxMax.setWidth("-1px");
    comboBoxMax.setHeight("-1px");
    horizontalLayout_2.addComponent(comboBoxMax);
    // textFieldMax
    textFieldMax = new TextField();
    textFieldMax.setCaption("Maximum Value");
    textFieldMax.setImmediate(true);
    textFieldMax.setDescription("Enter a value for the maxmum.");
    textFieldMax.setWidth("-1px");
    textFieldMax.setHeight("-1px");
    textFieldMax.setInvalidAllowed(false);
    textFieldMax.setInputPrompt("eg. 100");
    horizontalLayout_2.addComponent(textFieldMax);
    return horizontalLayout_2;
}

4 View Complete Implementation : RangeEditorComponent.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // comboBoxMin
    comboBoxMin = new ComboBox();
    comboBoxMin.setCaption("Minimum Type");
    comboBoxMin.setImmediate(true);
    comboBoxMin.setDescription("Select the type for the minimum.");
    comboBoxMin.setWidth("-1px");
    comboBoxMin.setHeight("-1px");
    horizontalLayout_1.addComponent(comboBoxMin);
    // textFieldMin
    textFieldMin = new TextField();
    textFieldMin.setCaption("Minimum Value");
    textFieldMin.setImmediate(true);
    textFieldMin.setDescription("Enter a value for the minimum.");
    textFieldMin.setWidth("-1px");
    textFieldMin.setHeight("-1px");
    textFieldMin.setInvalidAllowed(false);
    textFieldMin.setInputPrompt("eg. 1");
    horizontalLayout_1.addComponent(textFieldMin);
    horizontalLayout_1.setComponentAlignment(textFieldMin, new Alignment(9));
    return horizontalLayout_1;
}

1 View Complete Implementation : ApplyEditorWindow.java
Copyright Apache License 2.0
Author : apache
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);
    // textAreaDescription
    textAreaDescription = new TextArea();
    textAreaDescription.setCaption("Enter A Description");
    textAreaDescription.setImmediate(false);
    textAreaDescription.setWidth("50.0%");
    textAreaDescription.setHeight("-1px");
    horizontalLayout_1.addComponent(textAreaDescription);
    // textFieldFilter
    textFieldFilter = new TextField();
    textFieldFilter.setCaption("Filter Function By ID");
    textFieldFilter.setImmediate(false);
    textFieldFilter.setWidth("-1px");
    textFieldFilter.setHeight("-1px");
    horizontalLayout_1.addComponent(textFieldFilter);
    horizontalLayout_1.setComponentAlignment(textFieldFilter, new Alignment(9));
    // comboBoxDatatypeFilter
    comboBoxDatatypeFilter = new ComboBox();
    comboBoxDatatypeFilter.setCaption("Filter By Data Type");
    comboBoxDatatypeFilter.setImmediate(false);
    comboBoxDatatypeFilter.setWidth("-1px");
    comboBoxDatatypeFilter.setHeight("-1px");
    horizontalLayout_1.addComponent(comboBoxDatatypeFilter);
    horizontalLayout_1.setComponentAlignment(comboBoxDatatypeFilter, new Alignment(9));
    // checkBoxFilterIsBag
    checkBoxFilterIsBag = new CheckBox();
    checkBoxFilterIsBag.setCaption("Is Bag Filter");
    checkBoxFilterIsBag.setImmediate(false);
    checkBoxFilterIsBag.setWidth("-1px");
    checkBoxFilterIsBag.setHeight("-1px");
    horizontalLayout_1.addComponent(checkBoxFilterIsBag);
    horizontalLayout_1.setComponentAlignment(checkBoxFilterIsBag, new Alignment(9));
    return horizontalLayout_1;
}