当前位置: 首页>>代码示例>>Java>>正文


Java AbsoluteLayout.setHeight方法代码示例

本文整理汇总了Java中com.vaadin.ui.AbsoluteLayout.setHeight方法的典型用法代码示例。如果您正苦于以下问题:Java AbsoluteLayout.setHeight方法的具体用法?Java AbsoluteLayout.setHeight怎么用?Java AbsoluteLayout.setHeight使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.vaadin.ui.AbsoluteLayout的用法示例。


在下文中一共展示了AbsoluteLayout.setHeight方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:TransactionLogView.java

示例2: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:19,代码来源:OpenTransactionLogFileDialog.java

示例3: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:MainLayout.java

示例4: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:SnapshotView.java

示例5: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:21,代码来源:LoginViewForm.java

示例6: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:FeedbackTypeViewForm.java

示例7: buildErrorHeaderLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildErrorHeaderLayout() {
	// common part: create layout
	errorHeaderLayout = new AbsoluteLayout();
	errorHeaderLayout.setImmediate(false);
	errorHeaderLayout.setWidth("100.0%");
	errorHeaderLayout.setHeight("100px");
	errorHeaderLayout.setMargin(false);
	
	// imageErrorImage
	imageErrorImage = new Embedded();
	imageErrorImage.setImmediate(false);
	imageErrorImage.setWidth("60px");
	imageErrorImage.setHeight("60px");
	imageErrorImage.setSource(new ThemeResource(
			"images/exclamation.png"));
	imageErrorImage.setType(1);
	imageErrorImage.setMimeType("image/png");
	errorHeaderLayout.addComponent(imageErrorImage,
			"top:20.0px;left:20.0px;");
	
	// errorHeaderTittleLabel
	errorHeaderTittleLabel = new Label();
	errorHeaderTittleLabel.setImmediate(false);
	errorHeaderTittleLabel.setWidth("100.0%");
	errorHeaderTittleLabel.setHeight("100.0%");
	errorHeaderTittleLabel.setValue("Error Header");
	errorHeaderLayout.addComponent(errorHeaderTittleLabel,
			"top:20.0px;right:36.0px;bottom:20.0px;left:118.0px;");
	
	return errorHeaderLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:33,代码来源:ErrorViewForm.java

示例8: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("60px");
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("60px");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:15,代码来源:PanelHerramientas.java

示例9: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:35,代码来源:ClientTypeViewForm.java

示例10: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("500px");
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("500px");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:15,代码来源:PanelContenido.java

示例11: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:16,代码来源:AboutViewForm.java

示例12: createWestLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
/**
    * Creates the west area layout including the
    * accordion and tree views.
    * 
    * @return
    */
   @SuppressWarnings("serial")
private Layout createWestLayout() {
       m_tree = createTree();
       
       
       final TextField filterField = new TextField("Filter");
       filterField.setTextChangeTimeout(200);
       
       
       final Button filterBtn = new Button("Filter");
       filterBtn.addListener(new ClickListener() {

           @Override
           public void buttonClick(ClickEvent event) {
           	GCFilterableContainer container = m_tree.getContainerDataSource();
               container.removeAllContainerFilters();
               
               String filterString = (String) filterField.getValue();
               if(!filterString.equals("") && filterBtn.getCaption().toLowerCase().equals("filter")) {
                   container.addContainerFilter(LABEL_PROPERTY, (String) filterField.getValue(), true, false);
                   filterBtn.setCaption("Clear");
               } else {
                   filterField.setValue("");
                   filterBtn.setCaption("Filter");
               }
               
           }
       });
       
       
       HorizontalLayout filterArea = new HorizontalLayout();
       filterArea.addComponent(filterField);
       filterArea.addComponent(filterBtn);
       filterArea.setComponentAlignment(filterBtn, Alignment.BOTTOM_CENTER);
       
       m_treeAccordion = new Accordion();
       m_treeAccordion.addTab(m_tree, m_tree.getTitle());
       m_treeAccordion.setWidth("100%");
       m_treeAccordion.setHeight("100%");
       
       AbsoluteLayout absLayout = new AbsoluteLayout();
       absLayout.setWidth("100%");
       absLayout.setHeight("100%");
       absLayout.addComponent(filterArea, "top: 25px; left: 15px;");
       absLayout.addComponent(m_treeAccordion, "top: 75px; left: 15px; right: 15px; bottom:25px;"); 
       
       return absLayout;
   }
 
开发者ID:qoswork,项目名称:opennmszh,代码行数:55,代码来源:TopologyWidgetTestApplication.java

示例13: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("340px");
	mainLayout.setHeight("180px");
	
	// top-level component properties
	setWidth("340px");
	setHeight("180px");
	
	// usernameField
	fieldUsuario = new TextField();
	fieldUsuario.setImmediate(false);
	fieldUsuario.setWidth("210px");
	fieldUsuario.setHeight("-1px");
	mainLayout.addComponent(fieldUsuario, "top:20.0px;left:100.0px;");
	
	// usernameLabel
	labelUsuario = new Label();
	labelUsuario.setImmediate(false);
	labelUsuario.setWidth("-1px");
	labelUsuario.setHeight("-1px");
	labelUsuario.setValue("Username:");
	mainLayout.addComponent(labelUsuario, "top:22.0px;left:20.0px;");
	
	// passwordField
	fieldContraseña = new PasswordField();
	fieldContraseña.setImmediate(false);
	fieldContraseña.setWidth("210px");
	fieldContraseña.setHeight("-1px");
	mainLayout.addComponent(fieldContraseña, "top:56.0px;left:100.0px;");
	
	// passwordLabel
	labelContraseña = new Label();
	labelContraseña.setImmediate(false);
	labelContraseña.setWidth("-1px");
	labelContraseña.setHeight("-1px");
	labelContraseña.setValue("Password:");
	mainLayout.addComponent(labelContraseña, "top:60.0px;left:20.0px;");
	
	// loginButton
	botonIniciarSesion = new Button();
	botonIniciarSesion.setCaption("Sign in");
	botonIniciarSesion.setImmediate(true);
	botonIniciarSesion.setWidth("-1px");
	botonIniciarSesion.setHeight("-1px");
	mainLayout.addComponent(botonIniciarSesion, "top:94.0px;left:209.0px;");
	
	// errorLabel
	labelError = new Label();
	labelError.setImmediate(false);
	labelError.setWidth("-1px");
	labelError.setHeight("-1px");
	mainLayout.addComponent(labelError, "top:142.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:60,代码来源:FormularioInicioSesion.java

示例14: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("700px");
	mainLayout.setHeight("440px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("700px");
	setHeight("440px");
	
	// activeField
	activeField = new CheckBox();
	activeField.setCaption("Activo");
	activeField.setImmediate(false);
	activeField.setWidth("-1px");
	activeField.setHeight("-1px");
	activeField.setTabIndex(1);
	activeField.setRequired(true);
	mainLayout.addComponent(activeField, "top:14.0px;left:507.0px;");
	
	// commentField
	commentField = new TextField();
	commentField.setCaption("Comentario");
	commentField.setImmediate(false);
	commentField.setWidth("540px");
	commentField.setHeight("160px");
	commentField.setTabIndex(3);
	mainLayout.addComponent(commentField, "top:100.0px;left:20.0px;");
	
	// passwordField
	passwordField = new PasswordField();
	passwordField.setCaption("Clave");
	passwordField.setImmediate(false);
	passwordField.setWidth("160px");
	passwordField.setHeight("-1px");
	passwordField.setTabIndex(2);
	passwordField.setRequired(true);
	mainLayout.addComponent(passwordField, "top:56.0px;left:20.0px;");
	
	// usernameField
	usernameField = new TextField();
	usernameField.setCaption("Nombre usuario");
	usernameField.setImmediate(false);
	usernameField.setWidth("160px");
	usernameField.setHeight("-1px");
	usernameField.setRequired(true);
	mainLayout.addComponent(usernameField, "top:17.0px;left:20.0px;");
	
	// rolesField
	rolesField = new Table();
	rolesField.setCaption("Roles");
	rolesField.setImmediate(false);
	rolesField.setWidth("501px");
	rolesField.setHeight("140px");
	mainLayout.addComponent(rolesField, "top:281.0px;left:19.0px;");
	
	// brnAdd
	brnAdd = new Button();
	brnAdd.setCaption("+");
	brnAdd.setImmediate(true);
	brnAdd.setWidth("-1px");
	brnAdd.setHeight("-1px");
	mainLayout.addComponent(brnAdd, "top:283.0px;left:525.0px;");
	
	// btnRemove
	btnRemove = new Button();
	btnRemove.setCaption("-");
	btnRemove.setImmediate(true);
	btnRemove.setWidth("-1px");
	btnRemove.setHeight("-1px");
	mainLayout.addComponent(btnRemove, "top:320.0px;left:525.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:78,代码来源:UserViewForm.java

示例15: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@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%");
	
	// tableUsuariosDisponibles
	tableUsuariosDisponibles = new Table();
	tableUsuariosDisponibles.setCaption("Usuarios Disponibles");
	tableUsuariosDisponibles.setImmediate(false);
	tableUsuariosDisponibles.setWidth("180px");
	tableUsuariosDisponibles.setHeight("257px");
	mainLayout.addComponent(tableUsuariosDisponibles,
			"top:37.0px;left:20.0px;");
	
	// tableEvaluadores
	tableEvaluadores = new Table();
	tableEvaluadores.setCaption("Evaluadores");
	tableEvaluadores.setImmediate(false);
	tableEvaluadores.setWidth("180px");
	tableEvaluadores.setHeight("257px");
	mainLayout.addComponent(tableEvaluadores, "top:37.0px;left:281.0px;");
	
	// buttonAgregar
	buttonAgregar = new Button();
	buttonAgregar.setCaption(">");
	buttonAgregar.setImmediate(true);
	buttonAgregar.setWidth("45px");
	buttonAgregar.setHeight("-1px");
	mainLayout.addComponent(buttonAgregar, "top:80.0px;left:220.0px;");
	
	// buttonRemover
	buttonRemover = new Button();
	buttonRemover.setCaption("<");
	buttonRemover.setImmediate(true);
	buttonRemover.setWidth("45px");
	buttonRemover.setHeight("-1px");
	mainLayout.addComponent(buttonRemover, "top:160.0px;left:220.0px;");
	
	// buttonAgregarTodos
	buttonAgregarTodos = new Button();
	buttonAgregarTodos.setCaption(">>");
	buttonAgregarTodos.setImmediate(true);
	buttonAgregarTodos.setWidth("45px");
	buttonAgregarTodos.setHeight("-1px");
	mainLayout
			.addComponent(buttonAgregarTodos, "top:120.0px;left:220.0px;");
	
	// buttonRemoverTodos
	buttonRemoverTodos = new Button();
	buttonRemoverTodos.setCaption("<<");
	buttonRemoverTodos.setImmediate(true);
	buttonRemoverTodos.setWidth("45px");
	buttonRemoverTodos.setHeight("-1px");
	mainLayout
			.addComponent(buttonRemoverTodos, "top:200.0px;left:220.0px;");
	
	// buttonGuardar
	buttonGuardar = new Button();
	buttonGuardar.setCaption("Guardar");
	buttonGuardar.setImmediate(true);
	buttonGuardar.setWidth("-1px");
	buttonGuardar.setHeight("-1px");
	mainLayout.addComponent(buttonGuardar, "top:320.0px;left:388.0px;");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:74,代码来源:ListadoEvaluadores.java


注:本文中的com.vaadin.ui.AbsoluteLayout.setHeight方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。