|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
net.sf.doolin.gui.field.tree.model.GUITreeNode
public class GUITreeNode
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
GUITreeNode(SubscriberValidator validator,
GUITreeModel model,
Node def,
Object bean)
Constructor for a node. |
|
| Method Summary | |
|---|---|
protected GUITreeNode |
createChildTreeNode(SubscriberValidator validator,
GUITreeModel model,
Node childNode,
Object childBean)
Creates a node for a child. |
protected void |
fill(SubscriberValidator validator,
GUITreeModel model,
Object bean)
Initializes a node |
protected void |
fillNodeFromList(SubscriberValidator validator,
GUITreeModel model,
Node childNode,
Collection<?> childBeanList)
|
protected Collection<?> |
getChildBeanList(Object bean,
Children children)
Gets the list of beans which are associated to a children definition |
Node |
getDefinition()
|
LabelInfo |
getLabelInfo()
Get the label information for this node. |
TreePath |
getTreePath()
|
GUITreeNode |
lookForNode(boolean onlyImmediates,
com.google.common.base.Predicate<GUITreeNode> predicate)
Looks for a child node that complies with the given predicate. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GUITreeNode(SubscriberValidator validator,
GUITreeModel model,
Node def,
Object bean)
validator - Validator to be used for the bus subscriptionsmodel - Ownerdef - Node definitionbean - Associated user object| Method Detail |
|---|
protected GUITreeNode createChildTreeNode(SubscriberValidator validator,
GUITreeModel model,
Node childNode,
Object childBean)
validator - Validator to be used for the bus subscriptionsmodel - OwnerchildNode - Definition for the child nodechildBean - Bean associated to the child node
protected void fill(SubscriberValidator validator,
GUITreeModel model,
Object bean)
validator - Validator to be used for the bus subscriptionsmodel - Ownerbean - Associated bean
protected void fillNodeFromList(SubscriberValidator validator,
GUITreeModel model,
Node childNode,
Collection<?> childBeanList)
protected Collection<?> getChildBeanList(Object bean,
Children children)
bean - Object associated to the parent nodechildren - Children definition
public Node getDefinition()
public LabelInfo getLabelInfo()
Node.getLabelProvider(),
LabelInfoProvider.getLabelIcon(Object)public TreePath getTreePath()
public GUITreeNode lookForNode(boolean onlyImmediates,
com.google.common.base.Predicate<GUITreeNode> predicate)
predicate.
onlyImmediates - true if only immediate children must be looked
for. It false, the whole tree of descendants is
looked for.predicate - The predicate used to identify the node
null if
none has been found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||