本文整理了Java中org.apache.wicket.markup.html.panel.Panel.setVisible()
方法的一些代码示例,展示了Panel.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Panel.setVisible()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.panel.Panel
类名称:Panel
方法名:setVisible
暂无
代码示例来源:origin: OrienteerBAP/Orienteer
protected Panel createFooterPanel(String id) {
Panel panel = new EmptyPanel(id);
panel.setVisible(false);
return panel;
}
}
代码示例来源:origin: OrienteerBAP/Orienteer
@Override
protected void onConfigure() {
super.onConfigure();
if (showOrienteerModulesPanel) {
orienteerModulesPanel.setVisible(true);
userModulePanel.setVisible(false);
} else {
userModulePanel.setVisible(true);
orienteerModulesPanel.setVisible(false);
}
}
代码示例来源:origin: micromata/projectforge
/**
* Override this method if you need a top panel. The default top panel is empty and not visible.
*/
protected void addTopPanel()
{
final Panel topPanel = new EmptyPanel("topPanel");
topPanel.setVisible(false);
form.add(topPanel);
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflowmenu
private List<Panel> buildPanelsForCategories(final MenuHierarchy menu, final Node subject, String[] categories) throws RepositoryException {
List<Panel> list = new ArrayList<>();
for (final String category : categories) {
List<Panel> panels = buildPanelsForCategory(subject, category);
for (Panel panel : panels) {
panel.visitChildren(Panel.class, new MenuVisitor(menu, category));
panel.setVisible(false);
list.add(panel);
}
}
return list;
}
代码示例来源:origin: micromata/projectforge
/**
* Override this method if you need a bottom panel. The default bottom panel is empty and not visible.
*/
protected void addBottomPanel(final String id)
{
final Panel bottomPanel = new EmptyPanel(id);
bottomPanel.setVisible(false);
form.add(bottomPanel);
}
代码示例来源:origin: com.premiumminds/pm-wicket-utils
public void removeItem(AjaxRequestTarget target){
Panel panel = new EmptyPanel("container");
addOrReplace(panel);
panel.setOutputMarkupId(true);
panel.setVisible(false);
target.add(panel);
}
代码示例来源:origin: ro.fortsoft.wicket.dashboard/wicket-dashboard-core
@Override
public void onClick(AjaxRequestTarget target) {
if (widget.hasSettings()) {
WidgetPanel widgetPanel = findParent(WidgetPanel.class);
Panel settingsPanel = widgetPanel.getSettingsPanel();
settingsPanel.setVisible(true);
target.add(settingsPanel);
}
}
代码示例来源:origin: decebals/wicket-dashboard
@Override
public void onClick(AjaxRequestTarget target) {
if (widget.hasSettings()) {
WidgetPanel widgetPanel = findParent(WidgetPanel.class);
Panel settingsPanel = widgetPanel.getSettingsPanel();
settingsPanel.setVisible(true);
target.add(settingsPanel);
}
}
代码示例来源:origin: ro.fortsoft.wicket.dashboard/wicket-dashboard-core
public WidgetPanel(String id, IModel<Widget> model) {
super(id, model);
Widget widget = model.getObject();
setOutputMarkupId(true);
widgetHeaderPanel = new WidgetHeaderPanel("header", model);
add(widgetHeaderPanel);
if (model.getObject().hasSettings()) {
settingsPanel = widget.createSettingsPanel("settings");
} else {
settingsPanel = new EmptyPanel("settings");
}
settingsPanel.setOutputMarkupPlaceholderTag(true);
settingsPanel.setVisible(false);
add(settingsPanel);
widgetView = model.getObject().createView("content");
add(widgetView);
}
代码示例来源:origin: decebals/wicket-dashboard
public WidgetPanel(String id, IModel<Widget> model) {
super(id, model);
Widget widget = model.getObject();
setOutputMarkupId(true);
widgetHeaderPanel = new WidgetHeaderPanel("header", model);
add(widgetHeaderPanel);
if (model.getObject().hasSettings()) {
settingsPanel = widget.createSettingsPanel("settings");
} else {
settingsPanel = new EmptyPanel("settings");
}
settingsPanel.setOutputMarkupPlaceholderTag(true);
settingsPanel.setVisible(false);
add(settingsPanel);
widgetView = model.getObject().createView("content");
add(widgetView);
}
代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-monitoring
.add(annotatorsProgressPercentageImage).add(projectName)
.add(annotationDocumentStatusTable));
annotationDocumentStatusTable.setVisible(false);
}else{
annotationDocumentStatusTable = new EmptyPanel("rsTable");
monitoringDetailForm.setVisible(false);
add(monitoringDetailForm);
annotationDocumentStatusTable.setVisible(false);
annotatorsProgressImage.setVisible(false);
annotatorsProgressPercentageImage.setVisible(false);
代码示例来源:origin: webanno/webanno
.add(annotatorsProgressPercentageImage)
.add(annotationDocumentStatusTable));
annotationDocumentStatusTable.setVisible(false);
} else {
annotationDocumentStatusTable = new EmptyPanel("rsTable");
monitoringDetailForm.setVisible(false);
add(monitoringDetailForm);
annotationDocumentStatusTable.setVisible(false);
annotatorsProgressImage.setVisible(false);
annotatorsProgressPercentageImage.setVisible(false);
代码示例来源:origin: org.geoserver.web/gs-web-core
!(deprecated && isEmpty(parameterValue))
&& !paramMetadata.getLevel().equals("program");
parameterPanel.setVisible(visible);
parameterPanel.setVisibilityAllowed(visible);
内容来源于网络,如有侵权,请联系作者删除!