com.google.gwt.user.client.ui.Panel.setVisible()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.3k)|赞(0)|评价(0)|浏览(124)

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

Panel.setVisible介绍

暂无

代码示例

代码示例来源:origin: kiegroup/jbpm-wb

@Override
public void setHeaderVisible(boolean visible) {
  headerPanel.setVisible(visible);
  separatorPanel.setVisible(visible);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void setFilterEnabled(boolean enabled) {
  filtersControlPanel.setVisible(enabled);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void setFirstMonthVisibility(boolean visible) {
  firstMonthPanel.setVisible(visible);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void showColumnSelector() {
  addFilterButton.setVisible(false);
  addFilterPanel.setVisible(true);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void showNewFilterHome() {
  addFilterButton.setVisible(true);
  addFilterPanel.setVisible(false);
}

代码示例来源:origin: org.kuali.student.lum/ks-lum-ui-common

@Override
  public void onClose(CloseEvent<KSItemLabel> event) {
    List<KSItemLabel> newSelectedItems = 
      selectionList.getSelectedItems();
    int numNewSelectedItems = (newSelectedItems == null)? 0 :
      newSelectedItems.size();
    if (numNewSelectedItems == 0) {
      //hide item type title
      selectionPanel.setVisible(false);
    }
  }
});

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

public void show(final String message, final String cause) {
    errorMessage.setText(message != null ? message : "");
    errorMessageRow.setVisible(message != null);
    errorCause.setText(cause != null ? cause : "");
    errorCauseRow.setVisible(cause != null);
  }
}

代码示例来源:origin: org.kie.guvnor/guvnor-metadata-widget

private void hideEmptyTree() {
  if ( this.emptyCategories != null ) {
    this.emptyCategories.setVisible( false );
  }
  this.navTreeWidget.setVisible( true );
}

代码示例来源:origin: kiegroup/appformer

@Override
public void showNewFilterHome() {
  addFilterButton.setVisible(true);
  addFilterPanel.setVisible(false);
}

代码示例来源:origin: dankurka/mgwt

public void setHeader(Widget header) {
 headerContainer.setVisible(header != null);
 headerContainer.clear();
 if (header != null) {
  headerContainer.add(header);
 }
}

代码示例来源:origin: com.googlecode.mgwt/mgwt

public void setHeader(Widget header) {
 headerContainer.setVisible(header != null);
 headerContainer.clear();
 if (header != null) {
  headerContainer.add(header);
 }
}

代码示例来源:origin: com.googlecode.mgwt/mgwt

public void setHeader(Widget header) {
 headerContainer.setVisible(header != null);
 headerContainer.clear();
 if (header != null) {
  headerContainer.add(header);
 }
}

代码示例来源:origin: dankurka/mgwt

public void setHeader(Widget header) {
 headerContainer.setVisible(header != null);
 headerContainer.clear();
 if (header != null) {
  headerContainer.add(header);
 }
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void clearFilterConfig() {
  filterDetailsPanel.clear();
  filterDetailsPanel.setVisible(false);
  filterExpandIcon.setVisible(false);
}

代码示例来源:origin: kiegroup/appformer

@Override
public void clearFilterConfig() {
  filterDetailsPanel.clear();
  filterDetailsPanel.setVisible(false);
  filterExpandIcon.setVisible(false);
}

代码示例来源:origin: kiegroup/appformer

public void hideParamConfigWidgets() {
  filterDetailsPanel.setVisible(false);
  filterExpandIcon.setIcon(IconType.ANGLE_RIGHT);
  filterExpandIcon.setTitle(CommonConstants.INSTANCE.expand());
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

public void hideParamConfigWidgets() {
  filterDetailsPanel.setVisible(false);
  filterExpandIcon.setIcon(IconType.ANGLE_RIGHT);
  filterExpandIcon.setTitle(CommonConstants.INSTANCE.expand());
}

代码示例来源:origin: kiegroup/appformer

@Override
public void showFilterConfig() {
  filterExpandIcon.setVisible(true);
  filterExpandIcon.setIcon(IconType.ANGLE_DOWN);
  filterExpandIcon.setTitle(CommonConstants.INSTANCE.collapse());
  filterDetailsPanel.setVisible(true);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void showFilterConfig() {
  filterExpandIcon.setVisible(true);
  filterExpandIcon.setIcon(IconType.ANGLE_DOWN);
  filterExpandIcon.setTitle(CommonConstants.INSTANCE.collapse());
  filterDetailsPanel.setVisible(true);
}

代码示例来源:origin: org.kuali.student.core/ks-common-ui

private void redraw() {
  String labelText = null;
  labelText = dataHelper.parse(data);
  panel.getElementById(contentId).setInnerHTML(nvl(labelText));
  panel.setVisible(true);
  mainPanel.setVisible(true);
}

相关文章