(SortKey sortKey)
| 340 | } |
| 341 | |
| 342 | public void setSortKey(SortKey sortKey) { |
| 343 | if (sortKey == null) throw new NullPointerException("null sort key"); |
| 344 | if (this.sortKey == sortKey) return; |
| 345 | |
| 346 | this.sortKey = sortKey; |
| 347 | |
| 348 | for (IGuiComponent c : components) { |
| 349 | c.onViewChange(ViewChangeCause.SORTING_CHANGED); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | public boolean isSortMatchesAlphabetically() { |
| 354 | return sortMatchesAlphabetically; |