List of usage examples for com.vaadin.ui AbsoluteLayout AbsoluteLayout
public AbsoluteLayout()
From source file:annis.gui.querybuilder.TigerQueryBuilderCanvas.java
License:Apache License
public TigerQueryBuilderCanvas(QueryController controller) { this.controller = controller; nodes = new HashMap<>(); edges = new ArrayList<>(); setSizeFull();/*from w ww . j a v a 2 s. c o m*/ setImmediate(true); area = new AbsoluteLayout(); area.setWidth("2000px"); area.setHeight("2000px"); area.addStyleName("no-vertical-drag-hints"); area.addStyleName("no-horizontal-drag-hints"); area.addStyleName("no-box-drag-hints"); canvas = new SimpleCanvas(); canvas.setSizeFull(); canvas.addStyleName("tigerquery-builder-canvas"); handler = new AbsoluteDropHandler(this, area); DragAndDropWrapper areaPane = new DragAndDropWrapper(area); areaPane.setWidth("2000px"); areaPane.setHeight("2000px"); areaPane.setDropHandler(handler); area.addComponent(canvas, "top:0px;left:0px"); setContent(areaPane); addStyleName("no-vertical-drag-hints"); addStyleName("no-horizontal-drag-hints"); addStyleName("no-box-drag-hints"); }
From source file:ar.com.zir.cipres.ui.login.LoginForm.java
@AutoGenerated private AbsoluteLayout buildAbsoluteLayout_1() { // common part: create layout absoluteLayout_1 = new AbsoluteLayout(); absoluteLayout_1.setImmediate(false); absoluteLayout_1.setWidth("100.0%"); absoluteLayout_1.setHeight("100.0%"); // pwdPassword pwdPassword = new PasswordField(); pwdPassword.setCaption("Password"); pwdPassword.setImmediate(true);/*from w w w . j a v a2 s.c om*/ pwdPassword.setDescription("Contrasea del usuario"); pwdPassword.setWidth("-1px"); pwdPassword.setHeight("-1px"); pwdPassword.setTabIndex(6); pwdPassword.setRequired(true); pwdPassword.setNullSettingAllowed(true); absoluteLayout_1.addComponent(pwdPassword, "top:99.0px;left:211.0px;"); // txtUsuario txtUsuario = new TextField(); txtUsuario.setCaption("Usuario"); txtUsuario.setImmediate(true); txtUsuario.setDescription("Nombre de usuario"); txtUsuario.setWidth("-1px"); txtUsuario.setHeight("-1px"); txtUsuario.setTabIndex(5); txtUsuario.setRequired(true); txtUsuario.setInputPrompt("Ingrese el usuario"); txtUsuario.setMaxLength(10); absoluteLayout_1.addComponent(txtUsuario, "top:99.0px;left:18.0px;"); // btnLogin btnLogin = new Button(); btnLogin.setCaption("Login"); btnLogin.setImmediate(true); btnLogin.setWidth("88px"); btnLogin.setHeight("-1px"); btnLogin.setTabIndex(7); absoluteLayout_1.addComponent(btnLogin, "top:99.0px;left:403.0px;"); // embedded_1 embedded_1 = new Embedded(); embedded_1.setImmediate(false); embedded_1.setWidth("56px"); embedded_1.setHeight("56px"); embedded_1.setSource(new ThemeResource("security.png")); embedded_1.setType(1); embedded_1.setMimeType("image/png"); absoluteLayout_1.addComponent(embedded_1, "top:18.0px;left:425.0px;"); // label_1 label_1 = new Label(); label_1.setStyleName("login"); label_1.setImmediate(false); label_1.setWidth("-1px"); label_1.setHeight("-1px"); label_1.setValue("<h2>Bienvenido a </h2>"); label_1.setContentMode(ContentMode.HTML); absoluteLayout_1.addComponent(label_1, "top:18.0px;left:18.0px;"); // embedded_2 embedded_2 = new Embedded(); embedded_2.setImmediate(false); embedded_2.setWidth("141px"); embedded_2.setHeight("45px"); embedded_2.setSource(new ThemeResource("cipres-header.png")); embedded_2.setType(1); embedded_2.setMimeType("image/png"); absoluteLayout_1.addComponent(embedded_2, "top:25.0px;left:200.0px;"); return absoluteLayout_1; }
From source file:br.com.anteros.mobileserver.app.form.ConfigurationForm.java
License:Apache License
private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);//from www . java 2 s. c om mainLayout.setWidth("100%"); mainLayout.setHeight("100%"); mainLayout.setMargin(false); // top-level component properties setWidth("100%"); setHeight("100%"); // cbDialect cbDialect = new ComboBox(); cbDialect.setImmediate(false); cbDialect.setWidth("-1px"); cbDialect.setHeight("-1px"); cbDialect.addItem(MobileServerContext.H2); cbDialect.addItem(MobileServerContext.ORACLE); cbDialect.addItem(MobileServerContext.MYSQL); cbDialect.addItem(MobileServerContext.FIREBIRD); cbDialect.addItem(MobileServerContext.POSTGRESQL); // lblDialect lblDialect = new Label(); lblDialect.setImmediate(false); lblDialect.setWidth("-1px"); lblDialect.setHeight("-1px"); lblDialect.setValue("Dialeto"); // cbCharset cbCharset = new ComboBox(); cbCharset.setImmediate(false); cbCharset.setWidth("-1px"); cbCharset.setHeight("-1px"); cbCharset.addItem(AnterosStandardsCharsets.ISO_8859_1.name()); cbCharset.addItem(AnterosStandardsCharsets.US_ASCII.name()); cbCharset.addItem(AnterosStandardsCharsets.UTF_16.name()); cbCharset.addItem(AnterosStandardsCharsets.UTF_16BE.name()); cbCharset.addItem(AnterosStandardsCharsets.UTF_16LE.name()); cbCharset.addItem(AnterosStandardsCharsets.UTF_8.name()); // lblCharset lblCharset = new Label(); lblCharset.setImmediate(false); lblCharset.setWidth("-1px"); lblCharset.setHeight("-1px"); lblCharset.setValue("Charset"); // fldURL fldURL = new TextField(); fldURL.setImmediate(false); fldURL.setWidth("458px"); fldURL.setHeight("-1px"); // lblURL lblURL = new Label(); lblURL.setImmediate(false); lblURL.setWidth("-1px"); lblURL.setHeight("-1px"); lblURL.setValue("Url conexo"); // fldUser fldUser = new TextField(); fldUser.setImmediate(false); fldUser.setWidth("157px"); fldUser.setHeight("-1px"); // lblUser lblUser = new Label(); lblUser.setImmediate(false); lblUser.setWidth("-1px"); lblUser.setHeight("-1px"); lblUser.setValue("Usurio"); // fldPassword fldPassword = new PasswordField(); fldPassword.setImmediate(false); fldPassword.setWidth("157px"); fldPassword.setHeight("-1px"); // lblPassword lblPassword = new Label(); lblPassword.setImmediate(false); lblPassword.setWidth("-1px"); lblPassword.setHeight("-1px"); lblPassword.setValue("Senha"); // fldCatalog fldCatalog = new TextField(); fldCatalog.setImmediate(false); fldCatalog.setWidth("157px"); fldCatalog.setHeight("-1px"); // lblCatalog lblCatalog = new Label(); lblCatalog.setImmediate(false); lblCatalog.setWidth("-1px"); lblCatalog.setHeight("-1px"); lblCatalog.setValue("Catalog"); // fldSchema fldSchema = new TextField(); fldSchema.setImmediate(false); fldSchema.setWidth("157px"); fldSchema.setHeight("-1px"); // lblSchema lblSchema = new Label(); lblSchema.setImmediate(false); lblSchema.setWidth("-1px"); lblSchema.setHeight("-1px"); lblSchema.setValue("Schema"); // imgAnteros imgAnteros = new Embedded(); imgAnteros.setImmediate(false); imgAnteros.setWidth("165px"); imgAnteros.setHeight("45px"); imgAnteros.setSource(new ThemeResource("images/anteros_mobile_server45.png")); imgAnteros.setType(1); imgAnteros.setMimeType("image/png"); // fldInitPoolSize fldInitPoolSize = new TextField(); fldInitPoolSize.setImmediate(false); fldInitPoolSize.setWidth("157px"); fldInitPoolSize.setHeight("-1px"); // lblPool lblPool = new Label(); lblPool.setImmediate(false); lblPool.setWidth("-1px"); lblPool.setHeight("-1px"); lblPool.setValue("<b>Pool de conexes</b>"); lblPool.setContentMode(3); // label_2 label_2 = new Label(); label_2.setImmediate(false); label_2.setWidth("-1px"); label_2.setHeight("-1px"); label_2.setValue("<b>Pool de conexes</b>"); label_2.setContentMode(3); // lblInitialPoolSize lblInitialPoolSize = new Label(); lblInitialPoolSize.setImmediate(false); lblInitialPoolSize.setWidth("-1px"); lblInitialPoolSize.setHeight("-1px"); lblInitialPoolSize.setValue("Tamanho inicial"); // fldMinPoolSize fldMinPoolSize = new TextField(); fldMinPoolSize.setImmediate(false); fldMinPoolSize.setWidth("157px"); fldMinPoolSize.setHeight("-1px"); // lblMinPoolSize lblMinPoolSize = new Label(); lblMinPoolSize.setImmediate(false); lblMinPoolSize.setWidth("-1px"); lblMinPoolSize.setHeight("-1px"); lblMinPoolSize.setValue("Tamanho Mnimo"); // lblMaxPoolSize lblMaxPoolSize = new Label(); lblMaxPoolSize.setImmediate(false); lblMaxPoolSize.setWidth("-1px"); lblMaxPoolSize.setHeight("-1px"); lblMaxPoolSize.setValue("Tamanho Mximo"); // fldMaxPoolSize fldMaxPoolSize = new TextField(); fldMaxPoolSize.setImmediate(false); fldMaxPoolSize.setWidth("157px"); fldMaxPoolSize.setHeight("-1px"); // fldAcquireIncrement fldAcquireIncrement = new TextField(); fldAcquireIncrement.setImmediate(false); fldAcquireIncrement.setWidth("157px"); fldAcquireIncrement.setHeight("-1px"); // lblAcquireIncrement lblAcquireIncrement = new Label(); lblAcquireIncrement.setImmediate(false); lblAcquireIncrement.setWidth("-1px"); lblAcquireIncrement.setHeight("-1px"); lblAcquireIncrement.setValue("Incremento"); // chShowSql chShowSql = new CheckBox(); chShowSql.setCaption("Mostrar SQL's no log"); chShowSql.setImmediate(false); chShowSql.setWidth("-1px"); chShowSql.setHeight("-1px"); // chFormatSql chFormatSql = new CheckBox(); chFormatSql.setCaption("Formatar SQL's "); chFormatSql.setImmediate(false); chFormatSql.setWidth("-1px"); chFormatSql.setHeight("-1px"); // btnOk btnOk = new Button(); btnOk.setCaption("Ok"); btnOk.setIcon(new ThemeResource("icons/16/ok.png")); btnOk.setImmediate(true); btnOk.setWidth("-1px"); btnOk.setHeight("-1px"); // btnCancel btnCancel = new Button(); btnCancel.setCaption("Cancela"); btnCancel.setIcon(new ThemeResource("icons/16/cancel.png")); btnCancel.setImmediate(true); btnCancel.setWidth("-1px"); btnCancel.setHeight("-1px"); // imgConfiguration imgConfiguration = new Embedded(); imgConfiguration.setImmediate(false); imgConfiguration.setWidth("48px"); imgConfiguration.setHeight("48px"); imgConfiguration.setSource(new ThemeResource("images/configuration.png")); imgConfiguration.setType(1); imgConfiguration.setMimeType("image/png"); // lblAccessControl lblAccessControl = new Label(); lblAccessControl.setImmediate(false); lblAccessControl.setWidth("-1px"); lblAccessControl.setHeight("-1px"); lblAccessControl.setValue("<b>Controle de acesso</b>"); lblAccessControl.setContentMode(3); // lblAccessUser lblAccessUser = new Label(); lblAccessUser.setImmediate(false); lblAccessUser.setWidth("-1px"); lblAccessUser.setHeight("-1px"); lblAccessUser.setValue("Usurio"); // fldAccessUser fldAccessUser = new TextField(); fldAccessUser.setImmediate(false); fldAccessUser.setWidth("157px"); fldAccessUser.setHeight("-1px"); // lblAccessPassword lblAccessPassword = new Label(); lblAccessPassword.setImmediate(false); lblAccessPassword.setWidth("-1px"); lblAccessPassword.setHeight("-1px"); lblAccessPassword.setValue("Senha"); // fldAccessPassword fldAccessPassword = new PasswordField(); fldAccessPassword.setImmediate(false); fldAccessPassword.setWidth("157px"); fldAccessPassword.setHeight("-1px"); // cbTipoPool cbTipoPool = new ComboBox(); cbTipoPool.setImmediate(false); cbTipoPool.setWidth("100.0%"); cbTipoPool.setHeight("-1px"); cbTipoPool.addItem(PoolDatasource.POOL_C3P0); cbTipoPool.addItem(PoolDatasource.POOL_TOMCAT); cbTipoPool.addItem(PoolDatasource.POOL_JNDI); cbTipoPool.addItem(PoolDatasource.JDBC_WITHOUT_PO0L); // lblTipoPool lblTipoPool = new Label(); lblTipoPool.setImmediate(false); lblTipoPool.setWidth("103px"); lblTipoPool.setHeight("-1px"); lblTipoPool.setValue("Gerenciador pool"); // fldJNDI fldJNDI = new TextField(); fldJNDI.setImmediate(false); fldJNDI.setWidth("300px"); fldJNDI.setHeight("-1"); // lblJNDI lblJNDI = new Label(); lblJNDI.setImmediate(false); lblJNDI.setWidth("-1px"); lblJNDI.setHeight("-1px"); lblJNDI.setValue("Recurso JNDI"); // lblQueryTimeout lblQueryTimeout = new Label(); lblQueryTimeout.setImmediate(false); lblQueryTimeout.setWidth("-1px"); lblQueryTimeout.setHeight("-1px"); lblQueryTimeout.setValue("Timeout query"); // fldMaxPoolSize fldQueryTimeout = new TextField(); fldQueryTimeout.setImmediate(false); fldQueryTimeout.setWidth("100px"); fldQueryTimeout.setHeight("-1px"); // lblQueryTimeoutSeconds lblQueryTimeoutSeconds = new Label(); lblQueryTimeoutSeconds.setImmediate(false); lblQueryTimeoutSeconds.setWidth("-1px"); lblQueryTimeoutSeconds.setHeight("-1px"); lblQueryTimeoutSeconds.setValue("segundos"); mainLayout.addComponent(cbDialect, "top:20.0px;left:269.0px;"); mainLayout.addComponent(lblDialect, "top:17.0px;left:223.0px;"); mainLayout.addComponent(cbCharset, "top:20.0px;left:569.0px;"); mainLayout.addComponent(lblCharset, "top:17.0px;left:519.0px;"); mainLayout.addComponent(fldURL, "top:44.0px;left:269.0px;"); mainLayout.addComponent(lblURL, "top:41.0px;left:195.0px;"); mainLayout.addComponent(fldUser, "top:69.0px;left:269.0px;"); mainLayout.addComponent(lblUser, "top:69.0px;left:218.0px;"); mainLayout.addComponent(fldPassword, "top:69.0px;left:571.0px;"); mainLayout.addComponent(lblPassword, "top:69.0px;left:529.0px;"); mainLayout.addComponent(fldCatalog, "top:94.0px;left:269.0px;"); mainLayout.addComponent(lblCatalog, "top:94.0px;left:216.0px;"); mainLayout.addComponent(fldSchema, "top:94.0px;left:571.0px;"); mainLayout.addComponent(lblSchema, "top:93.0px;left:519.0px;"); mainLayout.addComponent(imgAnteros, "top:5.0px;left:5.0px;"); mainLayout.addComponent(cbTipoPool, "top:159.0px;right:230.0px;left:269.0px;"); mainLayout.addComponent(lblTipoPool, "top:156.0px;left:165.0px;"); mainLayout.addComponent(lblJNDI, "top:197.0px;left:184.0px;"); mainLayout.addComponent(fldJNDI, "top:197.0px;left:269.0px;"); mainLayout.addComponent(fldInitPoolSize, "top:221.0px;left:269.0px;"); mainLayout.addComponent(lblPool, "top:130.0px;left:269.0px;"); mainLayout.addComponent(label_2, "top:130.0px;left:269.0px;"); mainLayout.addComponent(lblInitialPoolSize, "top:221.0px;left:172.0px;"); mainLayout.addComponent(fldMinPoolSize, "top:246.0px;left:269.0px;"); mainLayout.addComponent(lblMinPoolSize, "top:247.0px;left:164.0px;"); mainLayout.addComponent(lblMaxPoolSize, "top:273.0px;left:162.0px;"); mainLayout.addComponent(fldMaxPoolSize, "top:272.0px;left:269.0px;"); mainLayout.addComponent(fldAcquireIncrement, "top:297.0px;left:269.0px;"); mainLayout.addComponent(lblAcquireIncrement, "top:298.0px;left:200.0px;"); mainLayout.addComponent(chShowSql, "top:234.0px;left:571.0px;"); mainLayout.addComponent(chFormatSql, "top:250.0px;left:571.0px;"); mainLayout.addComponent(lblQueryTimeout, "top:297.0px;left:480.0px;"); mainLayout.addComponent(fldQueryTimeout, "top:298.0px;left:571.0px;"); mainLayout.addComponent(lblQueryTimeoutSeconds, "top:297.0px;left:675.0px;"); mainLayout.addComponent(imgConfiguration, "top:153.0px;left:30.0px;"); mainLayout.addComponent(lblAccessControl, "top:328.0px;left:180.0px;"); mainLayout.addComponent(lblAccessUser, "top:350.0px;left:220.0px;"); mainLayout.addComponent(fldAccessUser, "top:350.0px;left:269.0px;"); mainLayout.addComponent(lblAccessPassword, "top:349.0px;left:529.0px;"); mainLayout.addComponent(fldAccessPassword, "top:348.0px;left:571.0px;"); mainLayout.addComponent(btnOk, "top:394.0px;left:580.0px;"); mainLayout.addComponent(btnCancel, "top:394.0px;left:648.0px;"); return mainLayout; }
From source file:br.com.anteros.mobileserver.app.form.UserLoginForm.java
License:Apache License
private AbsoluteLayout buildMainLayout() { mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);/*from w w w . j ava 2 s. c o m*/ mainLayout.setWidth("100%"); mainLayout.setHeight("100%"); mainLayout.setMargin(false); setWidth("100.0%"); setHeight("100.0%"); verticalLayout = buildVerticalLayout(); mainLayout.addComponent(verticalLayout, "top:0.0px;left:0.0px;"); return mainLayout; }
From source file:br.com.anteros.mobileserver.app.form.UserLoginForm.java
License:Apache License
private AbsoluteLayout buildAbsoluteLayout() { absoluteLayout = new AbsoluteLayout(); absoluteLayout.setImmediate(false);//from w ww .ja v a 2s. c o m absoluteLayout.setWidth("100.0%"); absoluteLayout.setHeight("100.0%"); absoluteLayout.setMargin(false); lblPassword = new Label(); lblPassword.setImmediate(false); lblPassword.setWidth("-1px"); lblPassword.setHeight("-1px"); lblPassword.setValue("Usurio"); absoluteLayout.addComponent(lblPassword, "top:20.0px;left:16.0px;"); lblUserName = new Label(); lblUserName.setImmediate(false); lblUserName.setWidth("-1px"); lblUserName.setHeight("-1px"); lblUserName.setValue("Senha"); absoluteLayout.addComponent(lblUserName, "top:54.0px;left:24.0px;"); fldUserName = new TextField(); fldUserName.setImmediate(false); fldUserName.setWidth("217px"); fldUserName.setHeight("-1px"); fldUserName.setSecret(false); absoluteLayout.addComponent(fldUserName, "top:20.0px;left:83.0px;"); fldPassword = new PasswordField(); fldPassword.setImmediate(false); fldPassword.setWidth("217px"); fldPassword.setHeight("-1px"); absoluteLayout.addComponent(fldPassword, "top:54.0px;left:83.0px;"); btnLogin = new Button(); btnLogin.setCaption("Login"); btnLogin.setImmediate(true); btnLogin.setWidth("100px"); btnLogin.setHeight("-1px"); absoluteLayout.addComponent(btnLogin, "top:100.0px;left:200.0px;"); return absoluteLayout; }
From source file:co.edu.icesi.academ.client.perfiles.administrador.PanelAlcance.java
License:Open Source License
@AutoGenerated private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);/* w ww . j a v a 2s. c o m*/ mainLayout.setWidth("840px"); mainLayout.setHeight("440px"); // top-level component properties setWidth("840px"); setHeight("440px"); // label_4 label_4 = new Label(); label_4.setImmediate(false); label_4.setWidth("-1px"); label_4.setHeight("-1px"); label_4.setValue("Competencias"); mainLayout.addComponent(label_4, "top:220.0px;left:23.0px;"); // button_guardarAlcance button_guardarAlcance = new Button(); button_guardarAlcance.setCaption("Guardar Alcance"); button_guardarAlcance.setImmediate(true); button_guardarAlcance.setWidth("-1px"); button_guardarAlcance.setHeight("-1px"); mainLayout.addComponent(button_guardarAlcance, "top:20.0px;left:20.0px;"); // table_bloques table_bloques = new Table(); table_bloques.setImmediate(false); table_bloques.setWidth("260px"); table_bloques.setHeight("120px"); mainLayout.addComponent(table_bloques, "top:60.0px;left:20.0px;"); // tableMaterias tableMaterias = new Table(); tableMaterias.setImmediate(false); tableMaterias.setWidth("520px"); tableMaterias.setHeight("120px"); mainLayout.addComponent(tableMaterias, "top:60.0px;left:300.0px;"); // tableResultadoAlcance tableResultadoAlcance = new Table(); tableResultadoAlcance.setImmediate(false); tableResultadoAlcance.setWidth("800px"); tableResultadoAlcance.setHeight("140px"); mainLayout.addComponent(tableResultadoAlcance, "top:300.0px;left:20.0px;"); // tableCompetencias tableCompetencias = new Table(); tableCompetencias.setCaption("Resultados aprendizaje"); tableCompetencias.setImmediate(false); tableCompetencias.setWidth("700px"); tableCompetencias.setHeight("80px"); mainLayout.addComponent(tableCompetencias, "top:200.0px;left:120.0px;"); return mainLayout; }
From source file:co.edu.icesi.academ.client.perfiles.administrador.PanelBloquesMaterias.java
License:Open Source License
@AutoGenerated private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);// w w w.j a v a2 s . c o m mainLayout.setWidth("840px"); mainLayout.setHeight("440px"); // top-level component properties setWidth("840px"); setHeight("440px"); // btn_crearBloque btn_crearBloque = new Button(); btn_crearBloque.setCaption("Crear bloque de Materias:"); btn_crearBloque.setImmediate(true); btn_crearBloque.setWidth("-1px"); btn_crearBloque.setHeight("-1px"); mainLayout.addComponent(btn_crearBloque, "top:20.0px;left:20.0px;"); // btn_editarMateria btn_editarMateria = new Button(); btn_editarMateria.setCaption("Editar Materia"); btn_editarMateria.setImmediate(true); btn_editarMateria.setWidth("160px"); btn_editarMateria.setHeight("-1px"); mainLayout.addComponent(btn_editarMateria, "top:274.0px;left:20.0px;"); // btn_editarBloque btn_editarBloque = new Button(); btn_editarBloque.setCaption("Editar Bloque de Materias"); btn_editarBloque.setImmediate(true); btn_editarBloque.setWidth("-1px"); btn_editarBloque.setHeight("-1px"); mainLayout.addComponent(btn_editarBloque, "top:20.0px;left:200.0px;"); // btn_crearMateria btn_crearMateria = new Button(); btn_crearMateria.setCaption("Crear materia"); btn_crearMateria.setImmediate(true); btn_crearMateria.setWidth("160px"); btn_crearMateria.setHeight("-1px"); mainLayout.addComponent(btn_crearMateria, "top:242.0px;left:20.0px;"); // btnAsociar btnAsociar = new Button(); btnAsociar.setCaption(">>"); btnAsociar.setImmediate(true); btnAsociar.setWidth("100.0%"); btnAsociar.setHeight("-1px"); mainLayout.addComponent(btnAsociar, "top:280.0px;right:280.0px;left:460.0px;"); // btnDesasociar btnDesasociar = new Button(); btnDesasociar.setCaption("<<"); btnDesasociar.setImmediate(true); btnDesasociar.setWidth("100px"); btnDesasociar.setHeight("-1px"); mainLayout.addComponent(btnDesasociar, "top:306.0px;left:460.0px;"); // tableBloques tableBloques = new Table(); tableBloques.setImmediate(false); tableBloques.setWidth("800px"); tableBloques.setHeight("123px"); mainLayout.addComponent(tableBloques, "top:60.0px;left:20.0px;"); // tableMatNoAso tableMatNoAso = new Table(); tableMatNoAso.setImmediate(false); tableMatNoAso.setWidth("260px"); tableMatNoAso.setHeight("180px"); mainLayout.addComponent(tableMatNoAso, "top:220.0px;left:200.0px;"); // tableMatAso tableMatAso = new Table(); tableMatAso.setImmediate(false); tableMatAso.setWidth("260px"); tableMatAso.setHeight("180px"); mainLayout.addComponent(tableMatAso, "top:220.0px;left:560.0px;"); return mainLayout; }
From source file:co.edu.icesi.academ.client.perfiles.administrador.PanelCrearBloque.java
License:Open Source License
@AutoGenerated private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);/*ww w.j a va2 s . c o m*/ mainLayout.setWidth("360px"); mainLayout.setHeight("140px"); // top-level component properties setWidth("360px"); setHeight("140px"); // btnCrearBloque btnCrearBloque = new Button(); btnCrearBloque.setCaption("Crear bloque"); btnCrearBloque.setImmediate(true); btnCrearBloque.setWidth("238px"); btnCrearBloque.setHeight("-1px"); mainLayout.addComponent(btnCrearBloque, "top:80.0px;left:62.0px;"); // textNombreBloque textNombreBloque = new TextField(); textNombreBloque.setCaption("Nombre bloque"); textNombreBloque.setImmediate(false); textNombreBloque.setWidth("100.0%"); textNombreBloque.setHeight("-1px"); mainLayout.addComponent(textNombreBloque, "top:40.0px;right:52.0px;left:60.0px;"); return mainLayout; }
From source file:co.edu.icesi.academ.client.perfiles.administrador.PanelCrearMateria.java
License:Open Source License
@AutoGenerated private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);//from w ww. ja v a 2 s . c o m mainLayout.setWidth("360px"); mainLayout.setHeight("180px"); // top-level component properties setWidth("360px"); setHeight("180px"); // btnGuardar btnGuardar = new Button(); btnGuardar.setCaption("Guardar"); btnGuardar.setImmediate(true); btnGuardar.setWidth("240px"); btnGuardar.setHeight("-1px"); mainLayout.addComponent(btnGuardar, "top:120.0px;left:60.0px;"); // txt_codigo txt_codigo = new TextField(); txt_codigo.setCaption("Cdigo"); txt_codigo.setImmediate(false); txt_codigo.setWidth("240px"); txt_codigo.setHeight("-1px"); mainLayout.addComponent(txt_codigo, "top:40.0px;left:60.0px;"); // txt_nombre txt_nombre = new TextField(); txt_nombre.setCaption("Nombre"); txt_nombre.setImmediate(false); txt_nombre.setWidth("240px"); txt_nombre.setHeight("-1px"); mainLayout.addComponent(txt_nombre, "top:80.0px;left:60.0px;"); return mainLayout; }
From source file:co.edu.icesi.academ.client.perfiles.administrador.PanelCrearPrograma.java
License:Open Source License
@AutoGenerated private AbsoluteLayout buildMainLayout() { // common part: create layout mainLayout = new AbsoluteLayout(); mainLayout.setImmediate(false);/*from w w w . j a v a 2 s . c o m*/ mainLayout.setWidth("440px"); mainLayout.setHeight("300px"); // top-level component properties setWidth("440px"); setHeight("300px"); // btn_guardar btn_guardar = new Button(); btn_guardar.setCaption("Guardar"); btn_guardar.setImmediate(true); btn_guardar.setWidth("320px"); btn_guardar.setHeight("-1px"); mainLayout.addComponent(btn_guardar, "top:240.0px;left:60.0px;"); // txt_nombre txt_nombre = new TextField(); txt_nombre.setCaption("Nombre"); txt_nombre.setImmediate(false); txt_nombre.setWidth("320px"); txt_nombre.setHeight("-1px"); mainLayout.addComponent(txt_nombre, "top:40.0px;left:60.0px;"); // txt_descripcion txt_descripcion = new TextArea(); txt_descripcion.setCaption("Descripcin"); txt_descripcion.setImmediate(false); txt_descripcion.setWidth("320px"); txt_descripcion.setHeight("108px"); mainLayout.addComponent(txt_descripcion, "top:120.0px;right:60.0px;"); // txtCodigo txtCodigo = new TextField(); txtCodigo.setCaption("Cdigo"); txtCodigo.setImmediate(false); txtCodigo.setWidth("320px"); txtCodigo.setHeight("-1px"); mainLayout.addComponent(txtCodigo, "top:80.0px;left:60.0px;"); return mainLayout; }