|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.view.NodeRealizer | +--y.view.ShapeNodeRealizer | +--y.view.ProxyShapeNodeRealizer | +--y.view.hierarchy.ProxyAutoBoundsNodeRealizer
A proxy node realizer that implements the auto bounds feature. If the realizer delegate
of this class implements auto bounds feature as well, the corresponding interface calls will be delgegated
to that realizer.
This realizer can be used to maintain different realizer each of which represents a different state of a
group node. Typically this realizer will maintain two realizers of type GroupNodeRealizer
. One realizer
will be used to represent an open group the other to represent a closed group.
Field Summary |
Fields inherited from class y.view.ShapeNodeRealizer |
DIAMOND, ELLIPSE, HEXAGON, OCTAGON, PARALLELOGRAM, RECT, RECT_3D, ROUND_RECT, shape, TRAPEZOID, TRAPEZOID_2, TRIANGLE |
Fields inherited from class y.view.NodeRealizer |
height, HOTSPOT_E, HOTSPOT_N, HOTSPOT_NE, HOTSPOT_NONE, HOTSPOT_NW, HOTSPOT_S, HOTSPOT_SE, HOTSPOT_SW, HOTSPOT_W, width, x, y |
Constructor Summary | |
ProxyAutoBoundsNodeRealizer()
|
|
ProxyAutoBoundsNodeRealizer(NodeRealizer arg)
|
Method Summary | |
NodeRealizer |
createCopy(NodeRealizer nr)
Creates a copy of this realizer type that will be initialized with the values found in the given realizer. |
Insets |
getAutoBoundsInsets()
This call will be delegated to the internal realizer, if that realizer implements the AutoBoundsFeature interface. |
Rectangle2D |
getMinimalAutoBounds()
This call will be delegated to the internal realizer, if that realizer implements the AutoBoundsFeature interface. |
boolean |
isAutoBoundsEnabled()
This call will be delegated to the internal realizer, if that realizer implements the AutoBoundsFeature interface. |
void |
setAutoBoundsEnabled(boolean auto)
This call will be delegated to the internal realizer, if that realizer implements the AutoBoundsFeature interface. |
void |
setAutoBoundsInsets(Insets insets)
This call will be delegated to the internal realizer, if that realizer implements the AutoBoundsFeature interface. |
Methods inherited from class y.view.ShapeNodeRealizer |
shapeTypeToStringMap |
Methods inherited from class y.view.NodeRealizer |
createCopy, getHotSpotColor, getNode, getSloppySelectionColor, setHotSpotColor, setSloppySelectionColor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyAutoBoundsNodeRealizer()
public ProxyAutoBoundsNodeRealizer(NodeRealizer arg)
Method Detail |
public NodeRealizer createCopy(NodeRealizer nr)
ShapeNodeRealizer
createCopy
in class ProxyShapeNodeRealizer
public Insets getAutoBoundsInsets()
AutoBoundsFeature
interface. Otherwise empty Insets will be returned.
getAutoBoundsInsets
in interface AutoBoundsFeature
public void setAutoBoundsInsets(Insets insets)
AutoBoundsFeature
interface. Otherwise calling this method has no effect.
setAutoBoundsInsets
in interface AutoBoundsFeature
public boolean isAutoBoundsEnabled()
AutoBoundsFeature
interface. Otherwise false
will be returned.
isAutoBoundsEnabled
in interface AutoBoundsFeature
public void setAutoBoundsEnabled(boolean auto)
AutoBoundsFeature
interface. Otherwise calling this method has no effect.
setAutoBoundsEnabled
in interface AutoBoundsFeature
public Rectangle2D getMinimalAutoBounds()
AutoBoundsFeature
interface. Otherwise bounds with negative size be returned.
getMinimalAutoBounds
in interface AutoBoundsFeature
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |