本文整理了Java中org.fujion.component.Label.getLabel()
方法的一些代码示例,展示了Label.getLabel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.getLabel()
方法的具体详情如下:
包路径:org.fujion.component.Label
类名称: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;
}
内容来源于网络,如有侵权,请联系作者删除!