本文整理匯總了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());
}