|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.src.nodes.SourceElementFilter org.openide.src.nodes.ClassElementFilter
Orders and filters members in a class element node. Can be used for methods, fields, inner classes, etc.
The semantics are very similar to those of SourceElementFilter
.
ClassElement
,
ClassChildren
Field Summary | |
static int |
ALL
Does not specify a child type. |
static int |
CONSTRUCTOR
Specifies a child representing a constructor. |
static int[] |
DEFAULT_ORDER
Default order and filtering. |
static int |
EXTENDS
Specifies a child representing the superclass of the node's class. |
static int |
FIELD
Specifies a child representing a field (instance variable). |
static int |
IMPLEMENTS
Specifies a child representing an implemented interface of the node's class. |
static int |
METHOD
Specifies a child representing a method. |
static int |
STATIC
Specifies a child which is static. |
Fields inherited from class org.openide.src.nodes.SourceElementFilter |
ALL_MODIFIERS, CLASS, IMPORT, INTERFACE, PACKAGE, PRIVATE, PROTECTED, PUBLIC |
Constructor Summary | |
ClassElementFilter()
|
Method Summary | |
boolean |
isSorted()
Test whether the elements in one element type group are sorted. |
void |
setSorted(boolean sorted)
Set whether groups of elements returned by getOrder () should be sorted. |
Methods inherited from class org.openide.src.nodes.SourceElementFilter |
getModifiers, getOrder, isAllClasses, setAllClasses, setModifiers, setOrder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CONSTRUCTOR
public static final int FIELD
public static final int METHOD
public static final int EXTENDS
public static final int IMPLEMENTS
public static final int ALL
public static final int[] DEFAULT_ORDER
public static final int STATIC
Constructor Detail |
public ClassElementFilter()
Method Detail |
public boolean isSorted()
true
if groups in getOrder () field are sorted, false
to default order of elementspublic void setSorted(boolean sorted)
sorted
- true
if so
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |