|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A space node used by graphic spaces as the root of a space tree. By implementing Delegatable, the client can navigate through the tree to its root and up to its graphic space delegator. By disallowing use of a transform node as the root the absolute reference space is assured to be reachable. TODO: Is this class needed, especially Delegatable?
Method Summary | |
java.lang.Object |
getDelegator()
Gets the delegator of this delegate, as set by initDelegator(). |
TreeNode |
getGraphicSpaceTree()
Gets the delegate tree node for this delegator's spatial geometry tree. |
Delegatable |
initDelegator(java.lang.Object delegator)
Used by delegators and serialization to initialize this delegate's delegator reference. |
Methods inherited from interface gumbo.graphic.Graphic |
getGraphic |
Methods inherited from interface gumbo.util.Delegatable |
isDelegatorInited |
Method Detail |
public TreeNode getGraphicSpaceTree()
SpaceNode
getGraphicSpaceTree
in interface SpaceNode
java.lang.IllegalStateException
- The tree node parent is not null.public Delegatable initDelegator(java.lang.Object delegator)
Delegatable
initDelegator
in interface Delegatable
delegator
- Reference to the delegator. If self-delegation
is allowed and the delegator is null, this object is the delegator
(which facilitates inline construction).
java.lang.IllegalArgumentException
- Delegator is null.public java.lang.Object getDelegator()
Delegatable
getDelegator
in interface Delegatable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |