本文整理汇总了Java中com.extjs.gxt.ui.client.widget.layout.FillLayout类的典型用法代码示例。如果您正苦于以下问题:Java FillLayout类的具体用法?Java FillLayout怎么用?Java FillLayout使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FillLayout类属于com.extjs.gxt.ui.client.widget.layout包,在下文中一共展示了FillLayout类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onModuleLoad
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public void onModuleLoad()
{
// menu panel
menuPanel = new ContentPanel(new FillLayout());
menuPanel.setHeaderVisible(false);
menuPanel.setBorders(false);
refreshMenu();
viewport = new Viewport();
viewport.setLayout(new RowLayout(Orientation.VERTICAL));
// title panel
topPanel = new ContentPanel();
HBoxLayout titleLayout = new HBoxLayout();
titleLayout.setPadding(new Padding(5));
titleLayout.setHBoxLayoutAlign(HBoxLayoutAlign.TOP);
topPanel.setLayout(titleLayout);
topPanel.setHeight(25);
topPanel.setHeaderVisible(false);
topPanel.setBorders(false);
refreshTopPanel();
viewport.add(topPanel, new RowData(1, -1));
//menu panel
viewport.add(menuPanel, new RowData(1, -1));
//main panel
mainPanel = new ContentPanel(new FillLayout());
mainPanel.setHeaderVisible(false);
viewport.add(mainPanel, new RowData(1, 1));
RootPanel.get().add(viewport);
log.info(textMessages.webpasswordsafeTitle(Constants.VERSION));
pingServer(this);
}
示例2: onModuleLoad
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
/**
* This is the entry point method.
*/
public void onModuleLoad() {
Viewport v = new Viewport();
v.setLayout(new FillLayout());
v.add(new BorderLayoutTest());
RootPanel.get().add(v);
}
示例3: onRender
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
@Override
protected void onRender(Element parent, int index) {
super.onRender(parent, index);
setLayout(new FillLayout());
ContentFile mdr = new ContentFile();
String mdrConf = item.getParams().get("mdrConfig");
if (mdrConf == null) {
mdrConf = CMDBSession.get().getConfig().get(Config.OneCMDBWebService);
}
mdr.setPath(mdrConf);
List<String> roots = null;
Object o = item.getParams().get("rootCI");
if (o instanceof List) {
roots = item.getParams().get("rootCI");
}
String rootType = item.getParams().get("rootType", "Ci");
String rootReferenceType = item.getParams().get("rootReferenceType", "CIReference");
//permissions.setCurrentState(CMDBPermissions.PermissionState.EDIT);
CIModelInternalBrowser i = new CIModelInternalBrowser(mdr, roots, rootType, rootReferenceType);
i.setPermission(permissions);
add(i);
layout();
}
示例4: initUI
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
private void initUI() {
setLayout(new FillLayout());
ContentData cd = new ContentData();
cd.set("template", template.getAlias());
EditableCIInstanceGrid grid = new EditableCIInstanceGrid(mdr, cd, template.getNameAndIcon());
grid.setSelectNewTemplate(true);
grid.setPermissions(permissions);
grid.setSelectable(true);
grid.setSelectionMode(selMode);
grid.setSelectionListener(this);
grid.setSilentInfo(true);
add(grid);
}
示例5: initUI
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
private void initUI() {
setLayout(new FillLayout());
ContentData cd = new ContentData();
cd.set("template", template.getAlias());
EditableCIInstanceGrid grid = new EditableCIInstanceGrid(mdr, cd, template.getNameAndIcon());
grid.setSelectNewTemplate(true);
grid.setPermissions(permissions);
grid.setSelectable(true);
grid.setSelectionMode(selMode);
grid.setSelectionListener(this);
grid.setSilentInfo(true);
add(grid);
}
示例6: initUI
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public void initUI() {
setLayout(new FillLayout());
setHeading(this.header);
add((Component)this.valueComp);
layout();
}
示例7: CIGroupWindow
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public CIGroupWindow(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例8: CIGroupDesignWindow
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public CIGroupDesignWindow(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例9: CMDBInstanceTreeView
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public CMDBInstanceTreeView(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例10: CMDBInstanceTableWidget
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public CMDBInstanceTableWidget(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例11: WidgetDescriptionFactory
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public WidgetDescriptionFactory(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例12: CMDBContentBrowserWidget
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public CMDBContentBrowserWidget(CMDBDesktopWindowItem item) {
super(item);
setLayout(new FillLayout());
}
示例13: init
import com.extjs.gxt.ui.client.widget.layout.FillLayout; //导入依赖的package包/类
public void init() {
setLayout(new FillLayout());
}