本文整理汇总了Java中com.extjs.gxt.ui.client.widget.Status类的典型用法代码示例。如果您正苦于以下问题:Java Status类的具体用法?Java Status怎么用?Java Status使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Status类属于com.extjs.gxt.ui.client.widget包,在下文中一共展示了Status类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createGridPanel
import com.extjs.gxt.ui.client.widget.Status; //导入依赖的package包/类
private ContentPanel createGridPanel(String title, AbstractImagePrototype icon) {
final TreeStore<TreeGridFileModel> store = new TreeStore<TreeGridFileModel>();
final CheckBoxSelectionModel<TreeGridFileModel> selectionModel = createSelectionModel(store);
final TreeGrid<TreeGridFileModel> grid = new TreeGrid<TreeGridFileModel>(store, createColumnModel(selectionModel));
grid.setSelectionModel(selectionModel);
grid.addPlugin(selectionModel);
grid.getView().setForceFit(true);
final ToolBar bottomBar = new ToolBar();
bottomBar.add(new Status());
final ContentPanel panel = Panels.content(title);
panel.setIcon(icon);
panel.setHeight(200);
panel.add(grid);
panel.setBottomComponent(bottomBar);
return panel;
}
示例2: createMapDisplayPanel
import com.extjs.gxt.ui.client.widget.Status; //导入依赖的package包/类
public Component createMapDisplayPanel() {
mapDisplayPanel = Panels.content(I18N.CONSTANTS.map());
// Adding the map
worldMap = new MultipleWorldMap(new OpenStreetMapWorldMap(), new GoogleWorldMap());
mapDisplayPanel.add(worldMap.asWidget());
// Adding the status bar
mapStatusBar = new Status();
final ToolBar toolBar = new ToolBar();
toolBar.add(mapStatusBar);
mapDisplayPanel.setBottomComponent(toolBar);
return mapDisplayPanel;
}
示例3: getStatus
import com.extjs.gxt.ui.client.widget.Status; //导入依赖的package包/类
private Status getStatus(ContentPanel contentPanel) {
return (Status) ((ToolBar) contentPanel.getBottomComponent()).getWidget(0);
}