| Package | Description |
|---|---|
| com.sptci.echo.binding |
Package used to implement a simple reflection based Model<->View
binding framework.
|
| com.sptci.echo.tree |
Package that contains support classes for the
Tree component. |
| com.sptci.echo2.binding |
Package used to implement a simple reflection based Model<->View
binding framework.
|
| com.sptci.epng.editabletree |
Package used to implement components necessary to support
the EditableTree component.
|
| com.sptci.jdo |
Package with core JDO data objects and interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultMutableTreeNode |
ViewUpdater.createChild(Treeable treeable)
Create tree nodes that represent the
Treeable
object and its children. |
Object |
ViewUpdater.createUserObject(Treeable t)
Create the
userObject for a tree node. |
| Modifier and Type | Method and Description |
|---|---|
void |
ViewUpdater.updateTree(Tree tree,
Collection<Treeable> collection,
String baseProperty)
Update a
Tree with the data in the specified collection. |
| Modifier and Type | Class and Description |
|---|---|
class |
Root<T extends Treeable>
A simple model object that can be used to represent the root node for a
tree.
|
class |
TreeModel<T extends Treeable>
© Copyright 2009 Sans
Pareil Technologies, Inc.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Root<T extends Treeable>
A simple model object that can be used to represent the root node for a
tree.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultMutableTreeNode |
ViewUpdater.createChild(Treeable treeable)
Create tree nodes that represent the
Treeable
object and its children. |
Object |
ViewUpdater.createUserObject(Treeable t)
Create the
userObject for a tree node. |
| Modifier and Type | Method and Description |
|---|---|
void |
ViewUpdater.updateTree(Tree tree,
Collection<Treeable> collection,
String baseProperty)
Update a
Tree with the data in the specified collection. |
| Modifier and Type | Field and Description |
|---|---|
protected Treeable |
Node.treeable
The treeable object that is represented by this node.
|
| Modifier and Type | Method and Description |
|---|---|
Treeable |
Node.getTreeable()
Returns
Node.treeable. |
protected Treeable |
SaveListener.updateStore(Node node)
Create a new
Treeable instance using the
and persist to the JDO data store. |
protected abstract Treeable |
Listener.updateStore(Node node)
The method that is used to update the data store.
|
protected Treeable |
DeleteListener.updateStore(Node node)
Delete the
Treeable instance represented by
the node specified from the JDO data store. |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.addChild(Treeable treeable)
Add a new child node to this node using the specified model object.
|
protected void |
Node.addChild(Treeable treeable,
DefaultMutableTreeNode node)
Add a new child node to this node.
|
protected DisplayComponent |
StandardNode.createDisplayComponent(Treeable treeable)
Implementation of the mandatory method to initialise the appropriate
DisplayComponent. |
protected DisplayComponent |
RootNode.createDisplayComponent(Treeable treeable)
Implementation of the mandatory method to initialise the appropriate
DisplayComponent. |
protected abstract DisplayComponent |
Node.createDisplayComponent(Treeable treeable)
Abstract method to initialise
Node.display with the appropriate
subclass. |
protected void |
SaveListener.updateView(Node node,
Treeable treeable)
Update the tree model with a new node representing the newly created
treeable object.
|
protected abstract void |
Listener.updateView(Node node,
Treeable treeable)
The method that is used ot update the tree once the data store has been
updated.
|
protected void |
DeleteListener.updateView(Node node,
Treeable treeable)
Update the tree model with a new node representing the newly created
treeable object.
|
| Constructor and Description |
|---|
DisplayComponent(Treeable treeable)
Create a new instance using the specified model object.
|
Node(Treeable treeable)
Create a new instance using the specified model object.
|
RootDisplayComponent(Treeable treeable)
Create a new instance using the specified model object.
|
RootNode(Treeable treeable)
Create a new instance using the specified model object.
|
StandardDisplayComponent(Treeable treeable)
Create a new instance using the specified model object.
|
StandardNode(Treeable treeable)
Create a new instance using the specified model object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Category
A default category model object that may be used to represent categories
or classifications.
|