本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}