Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.grogra.pf.ui.edit
Class PropertyEditorTree

    java.lang.Object
      de.grogra.util.TreeModelSupport
          de.grogra.util.Tree
              de.grogra.util.MutableTree
                  de.grogra.pf.ui.edit.PropertyEditorTree

All Implemented Interfaces:
  UINodeHandler, UITree, Disposable, MutableTreeModel, javax.swing.tree.TreeModel

    public abstract class PropertyEditorTree

extends MutableTree
implements UITree

Nested Class Summary
`static class` | `PropertyEditorTree.Node`
`class` | `PropertyEditorTree.PropertyNode`
`static class` | `PropertyEditorTree.SelectionNode`

Field Summary

Fields inherited from class de.grogra.util.Tree
`root`

Fields inherited from class de.grogra.util.TreeModelSupport
`NODES_CHANGED, NODES_INSERTED, NODES_REMOVED, STRUCTURE_CHANGED`

Fields inherited from interface de.grogra.pf.ui.tree.UINodeHandler
`ACTION_DELETE, ACTION_OPEN, ACTION_RENAME, ACTION_SELECT, GET_IMMEDIATE_LISTENER_METHOD, GET_SELECTABLE_METHOD, NODE_TYPE_MASK, NT_CHECKBOX_ITEM, NT_CHOICE_GROUP, NT_CHOICE_ITEM, NT_DIRECTORY, NT_DIRECTORY_MASK, NT_FILL, NT_GROUP, NT_ITEM, NT_ITEM_GROUP, NT_LINK, NT_MOUSE_MOTION, NT_SELECTABLE, NT_SEPARATOR, NT_SPECIAL, NT_UNDEFINED`

Constructor Summary
`PropertyEditorTree(Context context)`

Method Summary
`void` | `eventOccured(java.lang.Object node, java.util.EventObject event)`
`protected void` | `fireChanged(java.lang.Object changeEvent)`
`Context` | `getContext()`
`java.lang.Object` | `getDescription(java.lang.Object node, java.lang.String type)`
`java.lang.String` | `getName(java.lang.Object node)`
`int` | `getType(java.lang.Object node)`
`java.lang.Object` | `invoke(java.lang.Object node, java.lang.String method, java.lang.Object arg)`
`boolean` | `isAvailable(java.lang.Object node)`
`boolean` | `isEnabled(java.lang.Object node)`
`boolean` | `isMenu()`
`protected abstract boolean` | `isNodeAffectedBy(PropertyEditorTree.PropertyNode node, java.lang.Object chanveEvent)`
`boolean` | `nodesEqual(java.lang.Object a, java.lang.Object b)`
`java.lang.Object` | `resolveLink(java.lang.Object node)`
`void` | `setMenu()`
`void` | `update()`

Methods inherited from class de.grogra.util.MutableTree
`dispose, insert, remove, remove, setRoot, valueForPathChanged`

Methods inherited from class de.grogra.util.Tree
`findFirst, findMax, findMax, getChild, getChildCount, getIndexOfChild, getIndexOfChild, getParent, getRoot, hasValidPath, isLeaf, nodesEqual`

Methods inherited from class de.grogra.util.TreeModelSupport
`addTreeModelListener, allListenersRemoved, clearListeners, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, firstListenerAdded, hasListeners, removeTreeModelListener`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface de.grogra.pf.ui.tree.UITree
`getParent`

Methods inherited from interface javax.swing.tree.TreeModel
`addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged`

Methods inherited from interface de.grogra.util.Disposable
`dispose`

Methods inherited from interface de.grogra.pf.ui.tree.UINodeHandler
`isLeaf`

Constructor Detail

### PropertyEditorTree

    public PropertyEditorTree(Context context)

Method Detail

### eventOccured

    public void eventOccured(java.lang.Object node,
                             java.util.EventObject event)

  Specified by:
    `eventOccured` in interface `UINodeHandler`

### fireChanged

    protected void fireChanged(java.lang.Object changeEvent)

### getContext

    public Context getContext()

  Specified by:
    `getContext` in interface `UITree`

### getDescription

    public java.lang.Object getDescription(java.lang.Object node,
                                           java.lang.String type)

  Specified by:
    `getDescription` in interface `UINodeHandler`

### getName

    public java.lang.String getName(java.lang.Object node)

  Specified by:
    `getName` in interface `UINodeHandler`

### getType

    public int getType(java.lang.Object node)

  Specified by:
    `getType` in interface `UINodeHandler`

### invoke

    public java.lang.Object invoke(java.lang.Object node,
                                   java.lang.String method,
                                   java.lang.Object arg)

  Specified by:
    `invoke` in interface `UINodeHandler`

### isAvailable

    public boolean isAvailable(java.lang.Object node)

  Specified by:
    `isAvailable` in interface `UINodeHandler`

### isEnabled

    public boolean isEnabled(java.lang.Object node)

  Specified by:
    `isEnabled` in interface `UINodeHandler`

### isMenu

    public boolean isMenu()

### isNodeAffectedBy

    protected abstract boolean isNodeAffectedBy(PropertyEditorTree.PropertyNode node,
                                                java.lang.Object chanveEvent)

### nodesEqual

    public boolean nodesEqual(java.lang.Object a,
                              java.lang.Object b)

  Specified by:
    `nodesEqual` in interface `UINodeHandler`

### resolveLink

    public java.lang.Object resolveLink(java.lang.Object node)

  Specified by:
    `resolveLink` in interface `UINodeHandler`

### setMenu

    public void setMenu()

### update

    public void update()

  Specified by:
    `update` in interface `UITree`

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD