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


Java VerticalLayoutContainer类代码示例

本文整理汇总了Java中com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer的典型用法代码示例。如果您正苦于以下问题:Java VerticalLayoutContainer类的具体用法?Java VerticalLayoutContainer怎么用?Java VerticalLayoutContainer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


VerticalLayoutContainer类属于com.sencha.gxt.widget.core.client.container包,在下文中一共展示了VerticalLayoutContainer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getFilePanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private FormPanel getFilePanel() {
	VerticalLayoutContainer layoutContainer = new VerticalLayoutContainer();

	file = new FileUploadField();
	file.setName(UIMessages.INSTANCE.gdidFileUploadFieldText());
	file.setAllowBlank(false);

	layoutContainer.add(new FieldLabel(file, UIMessages.INSTANCE.file()),
			new VerticalLayoutData(-18, -1));
	layoutContainer.add(new Label(UIMessages.INSTANCE.maxFileSizeText()),
			new VerticalLayoutData(-18, -1));

	uploadPanel = new FormPanel();
	uploadPanel.setMethod(Method.POST);
	uploadPanel.setEncoding(Encoding.MULTIPART);
	uploadPanel.setAction("fileuploadzip.do");
	uploadPanel.setWidget(layoutContainer);

	return uploadPanel;
}
 
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:21,代码来源:OpenProjectDialog.java

示例2: createFilePanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private FormPanel createFilePanel() {
	final VerticalLayoutContainer layoutContainer = new VerticalLayoutContainer();

	file = new FileUploadField();
	file.setName(UIMessages.INSTANCE.gdidFileUploadFieldText());
	file.setAllowBlank(false);

	layoutContainer.add(new FieldLabel(file, UIMessages.INSTANCE.file()),
			new VerticalLayoutData(-18, -1));
	layoutContainer.add(new Label(UIMessages.INSTANCE.maxFileSizeText()),
			new VerticalLayoutData(-18, -1));

	uploadPanel = new FormPanel();
	uploadPanel.setMethod(Method.POST);
	uploadPanel.setEncoding(Encoding.MULTIPART);
	uploadPanel.setAction("fileupload.do");
	uploadPanel.setWidget(layoutContainer);

	return uploadPanel;
}
 
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:21,代码来源:JoinDataDialog.java

示例3: createPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private Widget createPanel() {
	
	VerticalLayoutContainer container = new VerticalLayoutContainer();
	container.setScrollMode(ScrollMode.AUTO);
	container.setSize("450px", "160px");
			
	Label bboxLabel = new Label("Bbox (" + UIMessages.INSTANCE.lowerLeftXField() + ", " + UIMessages.INSTANCE.lowerLeftYField() + 
			", " + UIMessages.INSTANCE.upperRightXField() + ", " + UIMessages.INSTANCE.upperRightYField() + ")");
	bboxLabel.getElement().getStyle().setFontWeight(FontWeight.BOLD);		
	container.add(bboxLabel);
	bboxField = new TextField();
	bboxField.setEmptyText(UIMessages.INSTANCE.bboxFieldCustomExtent());		
	bboxField.setWidth("450px");
	container.add(bboxField);	
	return container;
}
 
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:17,代码来源:CustomExtentDialog.java

示例4: createGridPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private HorizontalPanel createGridPanel() {
	HorizontalPanel hPanel = new HorizontalPanel();
	hPanel.setSize("510px", "320px");
	
	vehicleStore = new ListStore<VehicleJSO>(vehicleProps.key());
	vehiculeGrid = createGrid(vehicleStore, vehicleProps);
	
	vehiculeGrid.getSelectionModel().addSelectionChangedHandler(
			new SelectionChangedHandler<VehicleJSO>() {
				@Override
				public void onSelectionChanged(
						SelectionChangedEvent<VehicleJSO> event) {
					List<VehicleJSO> selected = event.getSelection();						
					vehicleToolBar.setVehicles(selected);						
				}
			});

	VerticalLayoutContainer gridContainer = new VerticalLayoutContainer();
	gridContainer.setWidth(500);
	gridContainer.setHeight(320);
	gridContainer.add(vehiculeGrid, new VerticalLayoutData(1, 1));				
	hPanel.add(gridContainer);
	hPanel.add(vehicleToolBar);
	return hPanel;
}
 
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:26,代码来源:VehicleDialog.java

示例5: FileManagerViewImpl

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public FileManagerViewImpl(final PlatformContext context,
		FileManagerPresenter presenter) {
	this.fileManagerPresenter = presenter;
	this.context = context;
	container = uiBinder.createAndBindUi(this);
	myDoc.add(getMyTreeGrid());
	
	
	VerticalLayoutContainer commonContainer=new VerticalLayoutContainer();
	commonContainer.setScrollMode(ScrollMode.AUTOY);
	commonContainer.add(getCommonDocFilter(),
			new VerticalLayoutData(1, 30, new Margins(4, 20, 4, 4)));
	commonContainer.add(getCommonTreeGrid(), new VerticalLayoutData(1, 1));
	commonDoc.add(commonContainer);
	
	container.setActiveWidget(myDoc);
	
}
 
开发者ID:ctripcorp,项目名称:dataworks-zeus,代码行数:19,代码来源:FileManagerViewImpl.java

示例6: getHiveProcesserFieldSet

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private FieldSet getHiveProcesserFieldSet() {
	if (hiveProcesserFieldSet == null) {
		hiveProcesserFieldSet = new FieldSet();
		hiveProcesserFieldSet.setCollapsible(true);
		hiveProcesserFieldSet.setHeadingText("辅助功能配置");
		VerticalLayoutContainer container = new VerticalLayoutContainer();
		/*outputTableLabel = new FieldLabel(getLabel(),"产出的表名");
		syncTableLabel = new FieldLabel(getLabel(),"阻塞同步的天网表");
		keepDaysLabel = new FieldLabel(getLabel(),"旧分区保留天数");
		driftPercentLabel = new FieldLabel(getLabel(),"产出数据浮动报警");
		zkHostLabel = new FieldLabel(getLabel(),"自定义ZK host");
		zkPathLabel = new FieldLabel(getLabel(),"自定义ZK path");
		
		container.add(syncTableLabel);
		container.add(outputTableLabel);
		container.add(keepDaysLabel);
		container.add(driftPercentLabel);
		container.add(zkHostLabel);
		container.add(zkPathLabel);*/

		hiveProcesserFieldSet.add(container);
	}
	return hiveProcesserFieldSet;
}
 
开发者ID:ctripcorp,项目名称:dataworks-zeus,代码行数:25,代码来源:CardInfo.java

示例7: getBaseFieldSet

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public FieldSet getBaseFieldSet() {
	if(baseFieldSet==null){
		baseFieldSet=new FieldSet();
		baseFieldSet.setHeadingText("基本信息");
		
		VerticalLayoutContainer p = new VerticalLayoutContainer();
		
		baseId=new Label();
		baseName=new Label();
		baseOwner=new Label();
		baseDesc=new Label();
		baseFollers=new Label();
		baseAdmins=new Label();
		
		p.add(new FieldLabel(baseId, "id"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		p.add(new FieldLabel(baseName,"名称"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		p.add(new FieldLabel(baseOwner,"所有人"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		p.add(new FieldLabel(baseDesc,"描述"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		p.add(new FieldLabel(baseFollers,"关注人员"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		p.add(new FieldLabel(baseAdmins,"管理员"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
		baseFieldSet.add(p);
	}
	return baseFieldSet;
}
 
开发者ID:ctripcorp,项目名称:dataworks-zeus,代码行数:25,代码来源:CardInfo.java

示例8: CardUserInfo

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public CardUserInfo(UserPresenter presenter) {
	this.presenter = presenter;
	addButton(edituser);
	if (presenter.getZuser().getUid().equals(UserUtil.admin)) {
		addButton(checkuser);
	}
	FlowLayoutContainer centerContainer=new FlowLayoutContainer();
	VerticalLayoutContainer p = new VerticalLayoutContainer();
	luid=new Label();
	lname=new Label();
	luserType=new Label();
	leffective=new Label();
	lemail=new Label("");
	phoneContent=new HTMLPanel("");
	descriptionContent=new HTMLPanel("");
	p.add(new FieldLabel(luid, "用户账号"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(lname,"用户姓名"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(luserType,"用户状态"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(leffective,"用户类型"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(lemail, "邮箱地址"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(phoneContent, "手机号码"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	p.add(new FieldLabel(descriptionContent, "描述"),new VerticalLayoutContainer.VerticalLayoutData(1, -1,new Margins(10)));
	
	centerContainer.add(p);
	setCenter(centerContainer);
}
 
开发者ID:ctripcorp,项目名称:dataworks-zeus,代码行数:27,代码来源:CardUserInfo.java

示例9: ContentView

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public ContentView() {
  tabs = new HashMap<>();
  contentContaineer = new VerticalLayoutContainer();
  contentContaineer.setBorders(false);
  tabPanel = new TabPanel();
  tabUebersicht = new TabItemConfig("Portal");
  // Tab-Panel
  tabPanel.setBorders(false);
  tabPanel.setBodyBorder(false);
  tabPanel.setTabScroll(true);
  // Portal-Tab (immer vorhanden)
  tabUebersicht.setClosable(false);
  tabUebersicht.setEnabled(true);
  tabPanel.add(createUebersicht(),
               tabUebersicht);
  contentContaineer.add(tabPanel,
                        new VerticalLayoutData(1,
                                               1));
  createAndAddGridPortlet();
  bind();
  initWidget(contentContaineer);
}
 
开发者ID:mvp4g,项目名称:mvp4g-examples,代码行数:23,代码来源:ContentView.java

示例10: ContentView

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public ContentView() {
  tabs = new HashMap<>();
  contentContaineer = new VerticalLayoutContainer();
  contentContaineer.setBorders(false);
  tabPanel = new TabPanel();
  tabUebersicht = new TabItemConfig("Portal");
  // Tab-Panel
  tabPanel.setBorders(false);
  tabPanel.setBodyBorder(false);
  tabPanel.setTabScroll(true);
  // Portal-Tab (immer vorhanden)
  tabUebersicht.setClosable(false);
  tabUebersicht.setEnabled(true);
  tabPanel.add(createUebersicht(),
               tabUebersicht);
  contentContaineer.add(tabPanel,
                        new VerticalLayoutData(1,
                                               1));
  createAndAddGridPersonPortlet();
  bind();
  initWidget(contentContaineer);
}
 
开发者ID:mvp4g,项目名称:mvp4g-examples,代码行数:23,代码来源:ContentView.java

示例11: GlobalChartPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public GlobalChartPanel(String title) {
	mainPanel = new FramedPanel();
	mainPanel.setHeadingText(title);
	mainPanel.setCollapsible(true);

	Anchor officialAnchor = new Anchor(false);
	officialAnchor.addStyleName("officialAnchor");
	officialAnchor.setText("Official");
	officialAnchor.setHref("http://www.middlecoin.com");
	officialAnchor.setTarget("_blank");
	mainPanel.getHeader().addTool(officialAnchor);

	lastRefreshLabel = new RefreshLabel();
	mainPanel.getHeader().addTool(lastRefreshLabel);

	contentPanel = new VerticalLayoutContainer();
	contentPanel.addStyleName("whiteBackground");
	mainPanel.add(contentPanel);

	initBTCChart();
	initPowerChart();
}
 
开发者ID:Stratehm,项目名称:multipool-stats-backend,代码行数:23,代码来源:GlobalChartPanel.java

示例12: AddressChartPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public AddressChartPanel(String title, boolean isTotal) {
	mainPanel = new FramedPanel();
	mainPanel.setHeadingText(title);
	mainPanel.setCollapsible(true);

	if (!isTotal) {
		Anchor officialAnchor = new Anchor(false);
		officialAnchor.addStyleName("officialAnchor");
		officialAnchor.setText("Official");
		officialAnchor.setHref("http://www.middlecoin.com/reports/" + title + ".html");
		officialAnchor.setTarget("_blank");
		mainPanel.getHeader().addTool(officialAnchor);
	}

	lastRefreshLabel = new RefreshLabel();
	mainPanel.getHeader().addTool(lastRefreshLabel);

	contentPanel = new VerticalLayoutContainer();
	contentPanel.addStyleName("whiteBackground");
	mainPanel.add(contentPanel);

	initBTCChart();
	initPowerChart();
}
 
开发者ID:Stratehm,项目名称:multipool-stats-backend,代码行数:25,代码来源:AddressChartPanel.java

示例13: GlobalChartPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public GlobalChartPanel(String title) {
	mainPanel = new FramedPanel();
	mainPanel.setHeadingText(title);
	mainPanel.setCollapsible(true);

	Anchor officialAnchor = new Anchor(false);
	officialAnchor.addStyleName("officialAnchor");
	officialAnchor.setText("Official");
	officialAnchor.setHref("http://coinshift.com/stats");
	officialAnchor.setTarget("_blank");
	mainPanel.getHeader().addTool(officialAnchor);

	lastRefreshLabel = new RefreshLabel();
	mainPanel.getHeader().addTool(lastRefreshLabel);

	contentPanel = new VerticalLayoutContainer();
	contentPanel.addStyleName("whiteBackground");
	mainPanel.add(contentPanel);

	initBTCChart();
	initPowerChart();
}
 
开发者ID:Stratehm,项目名称:multipool-stats-backend,代码行数:23,代码来源:GlobalChartPanel.java

示例14: AddressChartPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public AddressChartPanel(String title, boolean isTotal) {
	mainPanel = new FramedPanel();
	mainPanel.setHeadingText(title);
	mainPanel.setCollapsible(true);

	if (!isTotal) {
		Anchor officialAnchor = new Anchor(false);
		officialAnchor.addStyleName("officialAnchor");
		officialAnchor.setText("Official");
		officialAnchor.setHref("http://coinshift.com/account/" + title);
		officialAnchor.setTarget("_blank");
		mainPanel.getHeader().addTool(officialAnchor);
	}

	lastRefreshLabel = new RefreshLabel();
	mainPanel.getHeader().addTool(lastRefreshLabel);

	contentPanel = new VerticalLayoutContainer();
	contentPanel.addStyleName("whiteBackground");
	mainPanel.add(contentPanel);

	initBTCChart();
	initPowerChart();
}
 
开发者ID:Stratehm,项目名称:multipool-stats-backend,代码行数:25,代码来源:AddressChartPanel.java

示例15: GlobalChartPanel

import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
public GlobalChartPanel(String title) {
	mainPanel = new FramedPanel();
	mainPanel.setHeadingText(title);
	mainPanel.setCollapsible(true);

	Anchor officialAnchor = new Anchor(false);
	officialAnchor.addStyleName("officialAnchor");
	officialAnchor.setText("Official");
	officialAnchor.setHref("http://coinsolver.com/poolstats.php");
	officialAnchor.setTarget("_blank");
	mainPanel.getHeader().addTool(officialAnchor);

	lastRefreshLabel = new RefreshLabel();
	mainPanel.getHeader().addTool(lastRefreshLabel);

	contentPanel = new VerticalLayoutContainer();
	contentPanel.addStyleName("whiteBackground");
	mainPanel.add(contentPanel);

	initBTCChart();
	initPowerChart();
}
 
开发者ID:Stratehm,项目名称:multipool-stats-backend,代码行数:23,代码来源:GlobalChartPanel.java


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