public class VisibilitySorter extends java.lang.Object implements Sorter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
static Sorter |
INSTANCE |
ALPHA_SORTER, ALPHA_SORTER_ID, EMPTY_ARRAY| Constructor and Description |
|---|
VisibilitySorter() |
| 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 java.lang.String ID
public java.util.Comparator getComparator()
SortergetComparator in interface Sorterpublic ActionPresentation getPresentation()
TreeActiongetPresentation in interface TreeActionActionPresentationData(String, String, javax.swing.Icon)public java.lang.String getName()
TreeActiongetName in interface TreeAction