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

x33g5p2x  于2022-01-24 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(139)

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

Label.getLabel介绍

暂无

代码示例

代码示例来源:origin: org.carewebframework/org.carewebframework.shell

/**
 * Returns the button's label text.
 *
 * @return The label text.
 */
public String getLabel() {
  return label.getLabel();
}

代码示例来源:origin: org.carewebframework/org.carewebframework.shell

/**
 * Returns the caption of the panel.
 *
 * @return The panel caption.
 */
public String getCaption() {
  return lblTitle.getLabel();
}

代码示例来源:origin: org.carewebframework/org.carewebframework.plugin.statuspanel

private void test(BaseComponent root, String eventName, int eventData, int expectedSize) {
    String labelText = eventName + "." + eventData;
    EventManager.getInstance().fireLocalEvent(eventName, labelText);
    getMockEnvironment().flushEvents();
    assertEquals(expectedSize, root.getChildren().size());
    Label label = (Label) root.getChildren().get(expectedSize - 1).getFirstChild();
    assertEquals(labelText, label.getLabel());
  }
}

代码示例来源:origin: org.hspconsortium.carewebframework/cwf-plugin-patientheader

@Override
public void afterInitialized(BaseComponent comp) {
  super.afterInitialized(comp);
  noSelection = lblName.getLabel();
  IUser user = SecurityUtil.getAuthenticatedUser();
  lblUser.setVisible(showUser);
  if (user == null) {
    setLabel(lblUser, "Unknown User", null);
  } else {
    setLabel(lblUser, user.getFullName() + " @ " + user.getSecurityDomain().getName(), null);
  }
  setPatient(PatientContext.getActivePatient());
  PatientContext.getPatientContext().addListener(patientChangeListener);
}

代码示例来源:origin: org.carewebframework/org.carewebframework.plugin.messagetesting

@Override
public Row render(Message message) {
  Row row = new Row();
  createCell(row, message.getCreated());
  createCell(row, message.getMetadata("cwf.pub.channel"));
  createCell(row, message.getType());
  createCell(row, message.getId());
  Cell cell = createCell(row, message.getPayload());
  cell.setHint(cell.getChild(Label.class).getLabel());
  row.addEventForward(DblclickEvent.TYPE, grid, null);
  return row;
}

相关文章