Constructor
(abstract) new TreeGenerator()
- Description:
- Create a new TreeGenerator
- Source:
Methods
(protected) deleteTreeNode(node)
- Description:
- Remove the reference from lookupKey to TreeNode
- Source:
Parameters:
(protected) lookupTreeNode(lookupKey) → {TreeNode}
- Description:
- Lookup the TreeNode associated with lookupKey
- Source:
Parameters:
| Name |
Type |
Description |
lookupKey |
*
|
|
Returns:
The found TreeNode or null if no TreeNode could be found
-
Type
-
TreeNode
(protected) saveTreeNode(node)
- Description:
- Save the reference from lookupKey to TreeNode
- Source:
Parameters:
| Name |
Type |
Description |
node |
TreeNode
|
The TreeNode to save |
(static) decorateDataTransfers(node, dataTransfer)
- Description:
- Runs through all registered decorators and gives them a chance to add DataFlavors to the given dnd DataTransfer
- Source:
Parameters:
| Name |
Type |
Description |
node |
TreeNode
|
|
dataTransfer |
DataTransfer
|
|
(protected, static) decorateNode(node)
- Description:
- Runs through all registered decorators and tries to decorate the given node, the first decorator to do something wins.
- Source:
Parameters:
| Name |
Type |
Description |
node |
TreeNode
|
The TreeNode to decorate |
(static) registerDecorator(decorator, priority)
- Description:
- Source:
Parameters:
| Name |
Type |
Description |
decorator |
|
|
priority |
Number
|
|