org.fujion.component.Button.setVisible()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中org.fujion.component.Button.setVisible()方法的一些代码示例,展示了Button.setVisible()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setVisible()方法的具体详情如下:
包路径:org.fujion.component.Button
类名称:Button
方法名:setVisible

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);

相关文章