|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocatableNode
A Seedling node that has knowledge of its location in the tree.
When a node implementing this interface is installed into a
StandardBranch
,
the node's new NodeLocation
is passed to nodeInstalled(consciouscode.seedling.NodeLocation)
.
Method Summary | |
---|---|
NodeLocation |
getNodeLocation()
Returns the location of this node. |
void |
nodeInstalled(NodeLocation location)
Register the Seedling address at which this node has been installed. |
Method Detail |
---|
void nodeInstalled(NodeLocation location)
Note: This is not called setNodeLocation
because
the location is not intended as a writable property.
location
- is this node's new location. It must not be null.NodeLocation getNodeLocation()
NodeLocation
can be used
to access the node's name, parent branch, and path.
null
if the node has not
been installed into a Seedling.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |