本文整理了Java中com.vaadin.ui.Layout.setVisible()
方法的一些代码示例,展示了Layout.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Layout.setVisible()
方法的具体详情如下:
包路径:com.vaadin.ui.Layout
类名称:Layout
方法名:setVisible
暂无
代码示例来源:origin: com.vaadin/vaadin-server
/**
* Sets the visibility of the History.
*
* @param visible
* {@code true} to show the history, {@code false} to hide it
*/
public void setHistoryVisible(boolean visible) {
historyContainer.setVisible(visible);
resize.setVisible(visible);
}
代码示例来源:origin: info.magnolia.ui/magnolia-ui-framework
protected void refreshRootLayout() {
rootLayout.setVisible(true);
addStyleName("done");
Optional.ofNullable(itemPreview).ifPresent(rootLayout::addComponent);
Optional.ofNullable(itemDetail).ifPresent(rootLayout::addComponent);
}
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
/**
* Set the History visibility.
*
* @param visible
*/
public void setHistoryVisible(boolean visible) {
historyContainer.setVisible(visible);
resize.setVisible(visible);
}
代码示例来源:origin: info.magnolia.ui/magnolia-ui-framework
protected void clearRootLayout() {
rootLayout.setVisible(false);
rootLayout.removeAllComponents();
removeStyleName("done");
}
代码示例来源:origin: org.opennms.features/jmxconfiggenerator.webui
@Override
public void viewStateChanged(ViewStateChangedEvent event) {
switch (event.getNewState()) {
case Init:
case NonLeafSelected:
modelChanged(null); // reset
case Edit: // no reset, just hide
setEnabled(event.getSource() == this);
getFooter().setVisible(event.getSource() == this);
break;
// activate
case LeafSelected:
setReadOnly(true);
setEnabled(true);
getFooter().setVisible(true);
break;
}
}
代码示例来源:origin: nz.co.senanque/madura-vaadinsupport
getFooter().setVisible(true);
List<MaduraPropertyWrapper> properties = new ArrayList<MaduraPropertyWrapper>();
for (String fieldName: allFields)
getFooter().setVisible(false);
getFooter().setVisible(false);
代码示例来源:origin: nz.co.senanque/madura-vaadin
getFooter().setVisible(true);
List<MaduraPropertyWrapper> properties = new ArrayList<MaduraPropertyWrapper>();
for (String fieldName: allFields)
getFooter().setVisible(false);
getFooter().setVisible(false);
代码示例来源:origin: com.haulmont.cuba/cuba-web
.getShowBreadCrumbs();
enclosingLayout.setVisible(controlsVisible);
内容来源于网络,如有侵权,请联系作者删除!