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