本文整理了Java中org.fujion.component.Button.setVisible()
方法的一些代码示例,展示了Button.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setVisible()
方法的具体详情如下:
包路径:org.fujion.component.Button
类名称:Button
方法名:setVisible
暂无
代码示例来源:origin: org.hspconsortium.carewebframework/cwf-ui-reporting
@Override
public void onEvent(Event event) {
DrillDownDisplay ddd = new DrillDownDisplay(DrillDownDisplay.this, dataObject, title);
ddd.setDebug(debug);
ddd.owner = DrillDownDisplay.this;
ddd.btnCloseAll.setVisible(true);
ddd.show();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.core
@Override
public void afterInitialized(BaseComponent root) {
window = (Window) root;
window.setTitle(root.getAttribute("title", ""));
btnPrint.setVisible(root.getAttribute("allowPrint", false));
String text = root.getAttribute("text", "");
if (text.startsWith("<html>")) {
cmpHtml.setContent(text);
} else {
cmpText.setLabel(text);
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.shell
protected void init(Object target, PropertyInfo propInfo, PropertyGrid propGrid) {
super.init(target, propInfo, propGrid);
btnRight.setVisible(hierarchical);
btnLeft.setVisible(hierarchical);
propertyGrid = PropertyGrid.create(null, gridParent);
propertyGrid.getWindow().setClosable(false);
代码示例来源:origin: org.carewebframework/org.carewebframework.shell
/**
* Initializes the property grid.
*
* @param comp The root component.
*/
@Override
public void afterInitialized(BaseComponent comp) {
window = (Window) comp;
changeEvent = new ChangeEvent(window, null);
@SuppressWarnings("rawtypes")
IModelAndView<Row, PropertyEditorBase> mv = gridProperties.getRows().getModelAndView(PropertyEditorBase.class);
mv.setRenderer(rowRenderer);
mv.setModel(model);
comp.setAttribute("controller", this);
this.embedded = comp.getAttribute("embedded", false);
setTarget(comp.getAttribute("target", ElementBase.class));
if (window.getParent() != null) {
window.setClosable(false);
window.setWidth("100%");
window.setHeight("100%");
window.setSizable(false);
window.addClass("cwf-propertygrid-embedded");
toolbar.setVisible(embedded);
}
btnOK.setVisible(!embedded);
btnCancel.setVisible(!embedded);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.shell
lblSource.setLabel(aboutParams.source == null ? defaultSource : aboutParams.source);
btnCustom.setLabel(aboutParams.custom);
btnCustom.setVisible(btnCustom.getLabel() != null);
内容来源于网络,如有侵权,请联系作者删除!