|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.util.AbstractDisposable | +--gumbo.util.relation.AbstractTreeNodeDelegator | +--gumbo.graphic.space.AbstractSpaceNode | +--gumbo.graphic.space.AbstractGraphicSpaceRoot
A partial implementation of the GraphicSpaceRoot interface. Wraps the tree node delegate as a root, and throws an exception if the delegator is not a GraphicSpace.
Constructor Summary | |
AbstractGraphicSpaceRoot()
Creates an instance. |
Method Summary | |
java.lang.Object |
getDelegator()
Gets the delegator of this delegate, as set by initDelegator(). |
Delegatable |
initDelegator(java.lang.Object delegator)
Used by delegators and serialization to initialize this delegate's delegator reference. |
boolean |
isDelegatorInited()
Also returns false if this object is disposed. |
protected abstract TreeNode |
newRootNodeDelegate()
Called during initialization as the factory method for the tree root delegate. |
protected TreeNode |
newTreeNodeDelegate()
Called during initialization as the factory method for the tree node delegate. |
Methods inherited from class gumbo.graphic.space.AbstractSpaceNode |
getGraphic, getGraphicSpaceTree |
Methods inherited from class gumbo.util.relation.AbstractTreeNodeDelegator |
getTreeNodeDelegate, implDispose |
Methods inherited from class gumbo.util.AbstractDisposable |
dispose, isDisposed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gumbo.graphic.space.GraphicSpaceRoot |
getGraphicSpaceTree |
Methods inherited from interface gumbo.graphic.Graphic |
getGraphic |
Methods inherited from interface gumbo.util.Disposable |
dispose, isDisposed |
Constructor Detail |
public AbstractGraphicSpaceRoot()
Method Detail |
protected abstract TreeNode newRootNodeDelegate()
protected final TreeNode newTreeNodeDelegate()
AbstractTreeNodeDelegator
newTreeNodeDelegate
in class AbstractTreeNodeDelegator
public Delegatable initDelegator(java.lang.Object delegator)
Delegatable
initDelegator
in interface GraphicSpaceRoot
public final boolean isDelegatorInited()
isDelegatorInited
in interface Delegatable
public final java.lang.Object getDelegator()
Delegatable
getDelegator
in interface GraphicSpaceRoot
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |