Java 类com.vaadin.ui.AbsoluteLayout 实例源码

项目:hybridbpm    文件:ProcessModelLayout.java   
@Override
public void drop(DragAndDropEvent event) {
    WrapperTransferable transfrable = (WrapperTransferable) event.getTransferable();
    WrapperTargetDetails details = (WrapperTargetDetails) event.getTargetDetails();
    System.out.println("transfrable " + transfrable.getClass().getCanonicalName());
    System.out.println("transfrable.getDraggedComponent() " + transfrable.getDraggedComponent().getClass().getCanonicalName());
    if (transfrable.getDraggedComponent() instanceof Button) {
        // Calculate the drag coordinate difference
        int xChange = details.getMouseEvent().getClientX() - transfrable.getMouseDownEvent().getClientX();
        int yChange = details.getMouseEvent().getClientY() - transfrable.getMouseDownEvent().getClientY();

        // Move the component in the absolute layout
        AbsoluteLayout.ComponentPosition componentPosition = processModelLayout.getPosition(transfrable.getSourceComponent());
        componentPosition.setLeftValue(componentPosition.getLeftValue() + xChange);
        componentPosition.setTopValue(componentPosition.getTopValue() + yChange);

        ElementModelLayout elementModelLayout = (ElementModelLayout) ((Button) transfrable.getDraggedComponent()).getParent();
        TaskModel elementModel = elementModelLayout.getTaskModel();
        elementModel.setX(componentPosition.getLeftValue());
        elementModel.setY(componentPosition.getTopValue());
        processModel.getTaskModels().put(elementModel.getId(), elementModel);
        transitionManager.setValue(processModel.getTaskModels(), processModel.getTransitionModels());
        setTaskActive(elementModel);
    }
}
项目:zklogtool    文件:TransactionLogView.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // horizontalSplitPanel_2
    horizontalSplitPanel_2 = buildHorizontalSplitPanel_2();
    mainLayout.addComponent(horizontalSplitPanel_2,
            "top:0.0px;right:1.0px;bottom:3.0px;left:0.0px;");

    return mainLayout;
}
项目:zklogtool    文件:OpenTransactionLogFileDialog.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // verticalLayout_1
    verticalLayout_1 = buildVerticalLayout_1();
    mainLayout.addComponent(verticalLayout_1, "top:0.0px;left:0.0px;");

    return mainLayout;
}
项目:zklogtool    文件:OpenSnapshotFileDialog.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // verticalLayout_1
    verticalLayout_1 = buildVerticalLayout_1();
    mainLayout.addComponent(verticalLayout_1, "top:0.0px;left:0.0px;");

    return mainLayout;
}
项目:zklogtool    文件:MainLayout.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // verticalLayout_4
    verticalLayout_4 = buildVerticalLayout_4();
    mainLayout.addComponent(verticalLayout_4,
            "top:0.0px;right:0.0px;bottom:6.0px;left:0.0px;");

    return mainLayout;
}
项目:zklogtool    文件:SnapshotView.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // horizontalSplitPanel_1
    horizontalSplitPanel_1 = buildHorizontalSplitPanel_1();
    mainLayout.addComponent(horizontalSplitPanel_1,
            "top:0.0px;right:0.0px;bottom:8.0px;left:0.0px;");

    return mainLayout;
}
项目:konekti    文件:LoginViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("380px");
    mainLayout.setHeight("300px");
    mainLayout.setMargin(false);

    // top-level component properties
    setWidth("380px");
    setHeight("300px");

    // verticalLayoutSecurity
    verticalLayoutSecurity = buildVerticalLayoutSecurity();
    mainLayout.addComponent(verticalLayoutSecurity,
            "top:0.0px;bottom:9.0px;left:0.0px;");

    return mainLayout;
}
项目:konekti    文件:PasswordChangeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("300px");
    mainLayout.setHeight("250px");
    mainLayout.setMargin(false);

    // top-level component properties
    setWidth("300px");
    setHeight("250px");

    // verticalLayout_1
    verticalPasswordLayout = buildVerticalLayout_1();
    mainLayout.addComponent(verticalPasswordLayout, "top:0.0px;left:0.0px;");

    return mainLayout;
}
项目:konekti    文件:ProfileSettingsViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("300px");
    mainLayout.setHeight("280px");
    mainLayout.setMargin(false);

    // top-level component properties
    setWidth("300px");
    setHeight("280px");

    // profileLayout
    profileLayout = buildVerticalProfileLayout();
    mainLayout.addComponent(profileLayout, "top:0.0px;left:0.0px;");

    return mainLayout;
}
项目:konekti    文件:LogoutViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("350px");
    mainLayout.setHeight("350px");
    mainLayout.setMargin(false);

    // top-level component properties
    setWidth("350px");
    setHeight("350px");

    // verticalLayout_1
    profileLayout = buildProfileLayout();
    mainLayout.addComponent(profileLayout, "top:0.0px;left:0.0px;");

    return mainLayout;
}
项目:usergrid    文件:UserListWindow.java   
private void addList( AbsoluteLayout mainLayout ) {

        ListSelect list = new ListSelect();
        list.setWidth( "100%" );
        list.setHeight( "420px" );
        list.setNullSelectionAllowed( false );
        list.setImmediate( true );

        list.addValueChangeListener( new Property.ValueChangeListener() {
            @Override
            public void valueChange( Property.ValueChangeEvent event ) {
                Object value = event.getProperty().getValue();
                if ( value != null ) {
                    close();
                    selectedUser = ( String ) value;
                    showUser( ( String ) value );
                }
            }
        });

        loadData( list );

        mainLayout.addComponent( list, "left: 0px; top: 0px;" );
    }
项目:academ    文件:ListadoEvaluaciones.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("300px");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("300px");
    setHeight("100.0%");

    // tablaEvaluaciones
    tablaEvaluaciones = new Table();
    tablaEvaluaciones.setImmediate(false);
    tablaEvaluaciones.setWidth("300px");
    tablaEvaluaciones.setHeight("100.0%");
    mainLayout.addComponent(tablaEvaluaciones,
            "top:48.0px;bottom:20.0px;left:0.0px;");

    // panelTitulo
    panelTitulo = buildPanelTitulo();
    mainLayout.addComponent(panelTitulo, "top:20.0px;left:0.0px;");

    return mainLayout;
}
项目:academ    文件:PanelOpciones.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // tabSheetOpciones
    tabSheetOpciones = new TabSheet();
    tabSheetOpciones.setImmediate(false);
    tabSheetOpciones.setWidth("100.0%");
    tabSheetOpciones.setHeight("100.0%");
    mainLayout.addComponent(tabSheetOpciones,
            "top:20.0px;bottom:20.0px;left:0.0px;");

    return mainLayout;
}
项目:academ    文件:ListadoEvaluaciones.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("300px");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("300px");
    setHeight("100.0%");

    // tablaEvaluaciones
    tablaEvaluaciones = new Table();
    tablaEvaluaciones.setImmediate(false);
    tablaEvaluaciones.setWidth("300px");
    tablaEvaluaciones.setHeight("100.0%");
    mainLayout.addComponent(tablaEvaluaciones,
            "top:48.0px;bottom:20.0px;left:0.0px;");

    // panelTitulo
    panelTitulo = buildPanelTitulo();
    mainLayout.addComponent(panelTitulo, "top:20.0px;left:0.0px;");

    return mainLayout;
}
项目:academ    文件:PanelOpciones.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // tabSheetOpciones
    tabSheetOpciones = new TabSheet();
    tabSheetOpciones.setImmediate(false);
    tabSheetOpciones.setWidth("100.0%");
    tabSheetOpciones.setHeight("100.0%");
    mainLayout.addComponent(tabSheetOpciones,
            "top:20.0px;bottom:20.0px;left:0.0px;");

    return mainLayout;
}
项目:konekti    文件:ProductUnitViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("120px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OrganizationTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:57.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:SupplierGroupViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("140px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferLineStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:CalendarTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    codeField.setMaxLength(64);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    descriptionField.setTabIndex(2);
    descriptionField.setMaxLength(256);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:ClientTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("140px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    descriptionField.setTabIndex(2);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:ProductTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("120px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:InvoiceTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:ClientGroupViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("140px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    descriptionField.setTabIndex(2);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferRequestStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:AlarmTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    descriptionField.setTabIndex(2);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:AreaTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("24px");
    descriptionField.setTabIndex(1);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("140px");
    nameField.setHeight("-1px");
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:17.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:SupplierTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("140px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:InvoiceLineStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:LocationTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:InvoiceStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferRequestLineStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:StockStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:EmployeeAgentTypeViewComponent.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("120px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:17.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:OfferRequestTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:EmployeeAgentStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    descriptionField.setTabIndex(2);
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    // nameField
    nameField = new TextField();
    nameField.setCaption("Nombre");
    nameField.setImmediate(false);
    nameField.setWidth("120px");
    nameField.setHeight("-1px");
    nameField.setTabIndex(1);
    nameField.setRequired(true);
    mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:ServiceStatusViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}
项目:konekti    文件:ServiceTypeViewForm.java   
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("100px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("100px");

    // codeField
    codeField = new TextField();
    codeField.setCaption("Código");
    codeField.setImmediate(false);
    codeField.setWidth("140px");
    codeField.setHeight("-1px");
    codeField.setTabIndex(1);
    codeField.setRequired(true);
    mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("520px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");

    return mainLayout;
}