public class KindSorter extends java.lang.Object implements Sorter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
static Sorter |
INSTANCE |
static Sorter |
POPUP_INSTANCE |
ALPHA_SORTER, ALPHA_SORTER_ID, EMPTY_ARRAY
Constructor and Description |
---|
KindSorter(boolean isPopup) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator |
getComparator()
Returns the comparator used for comparing nodes in the tree.
|
java.lang.String |
getName()
Returns a unique identifier for the action.
|
ActionPresentation |
getPresentation()
Returns the presentation for the action.
|
boolean |
isVisible() |
public static final Sorter INSTANCE
public static final Sorter POPUP_INSTANCE
public static final java.lang.String ID
public java.util.Comparator getComparator()
Sorter
getComparator
in interface Sorter
public ActionPresentation getPresentation()
TreeAction
getPresentation
in interface TreeAction
ActionPresentationData(String, String, javax.swing.Icon)
public java.lang.String getName()
TreeAction
getName
in interface TreeAction