|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--org.gjt.jclasslib.browser.BrowserTreeNode
Tree node contained in the tree of the BrowserTreePane and representing a structural element of the class file format.
| Field Summary | |
static String |
NODE_ATTRIBUTE
Node for an attribute entry (AttributeInfo). |
static String |
NODE_CONSTANT_POOL
Node for a constant pool entry (CPInfo). |
static String |
NODE_FIELD
Node for a field entry (FieldInfo). |
static String |
NODE_GENERAL
Node for general information on the class file structure. |
static String |
NODE_INTERFACE
Node for an interface entry. |
static String |
NODE_METHOD
Node for a method entry (MethodInfo). |
static String |
NODE_NO_CONTENT
Node that does not exhibit detail content. |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
BrowserTreeNode(String text)
Constructor. |
|
BrowserTreeNode(String text,
String type)
Constructor. |
|
BrowserTreeNode(String text,
String type,
int index)
Constructor. |
|
| Method Summary | |
int |
getIndex()
Get the index of the node among its siblings. |
String |
getType()
Get the type of the node as defined by the NODE_ constants. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String NODE_NO_CONTENT
public static final String NODE_GENERAL
public static final String NODE_CONSTANT_POOL
public static final String NODE_INTERFACE
public static final String NODE_FIELD
public static final String NODE_METHOD
public static final String NODE_ATTRIBUTE
| Constructor Detail |
public BrowserTreeNode(String text)
text - the display text.
public BrowserTreeNode(String text,
String type)
text - the display text.type - the node type. One of the NODE_ constants.
public BrowserTreeNode(String text,
String type,
int index)
text - the display text.type - the node type. One of the NODE_ constants.index - the logical index of this node.| Method Detail |
public String getType()
public int getIndex()
|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||