本文整理汇总了Java中com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer类的典型用法代码示例。如果您正苦于以下问题:Java VerticalLayoutContainer类的具体用法?Java VerticalLayoutContainer怎么用?Java VerticalLayoutContainer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
VerticalLayoutContainer类属于com.sencha.gxt.widget.core.client.container包,在下文中一共展示了VerticalLayoutContainer类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: 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.coinsolver.com/user-details.php?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
示例17: 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://wafflepool.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
示例18: initBorderLayout
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private void initBorderLayout() {
BorderLayoutData westBorderLayoutData = new BorderLayoutContainer.BorderLayoutData() {
{
setSize(250);
setMargins(new Margins(5, 0, 5, 5));
setCollapseMini(true);
setCollapsible(true);
}
};
mainLayoutPanel.setWestWidget(navigatorPanel, westBorderLayoutData);
BorderLayoutData eastBorderLayoutData = new BorderLayoutContainer.BorderLayoutData() {
{
setSize(250);
setMargins(new Margins(5, 5, 5, 0));
}
};
mainLayoutPanel.setEastWidget(propertiesPanel, eastBorderLayoutData);
mainLayoutPanel.setCenterWidget(previewPanel, new MarginData(5));
verticalLayoutContainer = new VerticalLayoutContainer();
verticalLayoutContainer.add(paletePanel, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
verticalLayoutContainer.add(mainLayoutPanel, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
mainContentPanel.add(verticalLayoutContainer);
}
开发者ID:kospiotr,项目名称:gwt-layout-designer,代码行数:26,代码来源:MainPanel.java
示例19: createPanel
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private Widget createPanel() {
final VerticalLayoutContainer panel = new VerticalLayoutContainer();
longitudTextField = new TextField();
longitudTextField.setTitle(UIMessages.INSTANCE.longitude());
longitudTextField.setAllowBlank(false);
longitudTextField.setWidth(FIELD_WIDTH);
final FieldLabel longitudLabel = new FieldLabel(longitudTextField,
UIMessages.INSTANCE.longitude());
panel.add(longitudLabel, new VerticalLayoutData(1, -1));
latitudTextField = new TextField();
latitudTextField.setTitle(UIMessages.INSTANCE.latitude());
latitudTextField.setWidth(FIELD_WIDTH);
latitudTextField.setAllowBlank(false);
final FieldLabel latitudLabel = new FieldLabel(latitudTextField,
UIMessages.INSTANCE.latitude());
panel.add(latitudLabel, new VerticalLayoutData(1, -1));
initializeFields();
epsgCombo = new ProjectionComboBox(FIELD_WIDTH);
epsgCombo.setValue("WGS84");
final FieldLabel epsgLabel = new FieldLabel(epsgCombo,
UIMessages.INSTANCE.lidProjectionLabel());
panel.add(epsgLabel, new VerticalLayoutData(1, -1));
return panel;
}
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:32,代码来源:CoordinateGeolocationDialog.java
示例20: createBottomPanel
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; //导入依赖的package包/类
private HorizontalLayoutContainer createBottomPanel() {
HorizontalLayoutContainer hPanel = new HorizontalLayoutContainer();
hPanel.setSize("510px", "200px");
PagingToolBar toolBar = new PagingToolBar(FEATURES_PER_PAGE);
toolBar.setBorders(false);
featureGrid = new PagingFeatureGrid(toolBar);
featureGrid.getSelectionModel().addSelectionChangedHandler(
new SelectionChangedHandler<VectorFeature>() {
@Override
public void onSelectionChanged(
SelectionChangedEvent<VectorFeature> event) {
setSelectedElement();
}
});
layerInfoToolBar.setAllTools();
VerticalLayoutContainer gridContainer = new VerticalLayoutContainer();
gridContainer.setWidth(500);
gridContainer.setHeight(200);
gridContainer.add(featureGrid, new VerticalLayoutData(1, 1));
gridContainer.add(toolBar, new VerticalLayoutData(1, -1));
hPanel.add(gridContainer);
hPanel.add(layerInfoToolBar);
return hPanel;
}
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:30,代码来源:LayerInfoDialog.java
注:本文中的com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论