◆ afterCompose()
void org.turro.erp.time.XMLHumanResourceSelector.afterCompose |
( |
| ) |
|
Definition at line 53 of file XMLHumanResourceSelector.java.
54 Rows rows = getRows();
56 rows.getChildren().clear();
62 XMLHumanResourceSet xhrs =
new XMLHumanResourceSet(Application.getApplication().getConstructor());
63 XMLTimeControlUtil xtcu =
new XMLTimeControlUtil(Application.getApplication().getConstructor());
65 for(XMLHumanResource hr : xhrs) {
66 if(!Strings.isBlank(
startsWith) && !hr.getName().toLowerCase().startsWith(
startsWith.toLowerCase())) {
69 final Row row =
new Row();
71 rows.appendChild(row);
73 xtcu.setHumanResource(hr);
74 if(xtcu.getPendingControl().isEmpty()) {
75 row.setSclass(
"not-in");
77 row.appendChild(
new Label(hr.getName()));
79 Button select =
new Button(Application.getString(
"lSelect"));
80 select.addEventListener(Events.ON_CLICK,
new EventListener<Event>() {
82 public void onEvent(Event event) throws Exception {
83 Events.postEvent(new Event(Events.ON_CHANGE, XMLHumanResourceSelector.this, row.getValue()));
86 row.appendChild(select);
◆ setStartsWith()
void org.turro.erp.time.XMLHumanResourceSelector.setStartsWith |
( |
String |
startsWith | ) |
|
◆ startsWith
String org.turro.erp.time.XMLHumanResourceSelector.startsWith |
The documentation for this class was generated from the following file: