protected class OdsxFilterEditorPane.FilterTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode
Modifier and Type | Field and Description |
---|---|
protected OdsxFilterEditorPane.FilterChild[] |
children |
protected OdsxFilterEditorPane.FilterChild |
filterValue |
protected FwkPropertyGroupInterface |
group |
protected OdsxFilterEditorPane.FilterTreeNode |
parent |
protected java.lang.String |
value |
Constructor and Description |
---|
OdsxFilterEditorPane.FilterTreeNode(javax.swing.tree.TreeNode parent,
FwkPropertyGroupInterface group)
The constsructor.
|
OdsxFilterEditorPane.FilterTreeNode(javax.swing.tree.TreeNode parent,
java.lang.String value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
children()
Returns the children of the reciever as an Enumeration.
|
boolean |
getAllowsChildren()
Returns true if the receiver allows children.
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex)
Returns the child TreeNode at index childIndex.
|
int |
getChildCount()
Returns the number of children TreeNodes the receiver contains.
|
java.lang.String |
getFilterPath()
Get the filter path of element.
|
int |
getIndex(javax.swing.tree.TreeNode node)
Returns the index of node in the receivers children.
|
java.lang.String |
getKey()
Returns the key of the node.
|
java.lang.String |
getName()
Returns the name of the node.
|
javax.swing.tree.TreeNode |
getParent()
Returns the parent TreeNode of the receiver.
|
javax.swing.tree.TreePath |
getTreePath()
Get the tree path.
|
boolean |
isEditable()
Returns true if the node is editable.
|
boolean |
isLeaf()
Returns true if the receiver is a leaf.
|
protected void |
refill()
Refill den nodes.
|
java.lang.String |
toString()
The string presentation.
|
protected OdsxFilterEditorPane.FilterTreeNode parent
protected FwkPropertyGroupInterface group
protected OdsxFilterEditorPane.FilterChild[] children
protected OdsxFilterEditorPane.FilterChild filterValue
protected java.lang.String value
public OdsxFilterEditorPane.FilterTreeNode(javax.swing.tree.TreeNode parent, FwkPropertyGroupInterface group)
parent
- The parent node.public OdsxFilterEditorPane.FilterTreeNode(javax.swing.tree.TreeNode parent, java.lang.String value)
parent
- the parent.value
- the leaf value of the node.protected void refill()
public java.lang.String getName()
public java.lang.String getKey()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.lang.String getFilterPath()
public javax.swing.tree.TreePath getTreePath()
public boolean isEditable()