Difference from XUL:
Default {@link #getZclass}: z-listheader.(since 5.0.0) @author tomyeh
Default {@link #getZclass}: z-listheader (since 5.0.0) @author tomyeh @since 3.5.2
216217218219220221222223
@SuppressWarnings("unchecked") public void addHeaders() { clearHeaderIfNecessary(); final String[] headers = finder.getHeaders(); for (int i = 0; i < headers.length; i++) { listhead.getChildren().add(new Listheader(_(headers[i]))); } }
268269270271272273274275276277278
triggerSortListBoxResources(); } private void triggerSortListBoxResources() { for (Object child : listBoxResources.getListhead().getChildren()) { final Listheader hd = (Listheader) child; if (!"natural".equals(hd.getSortDirection())) { hd.sort("ascending".equals(hd.getSortDirection()), true); } } }