|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.gvt.AbstractGraphicsNode | +--org.apache.batik.gvt.CompositeGraphicsNode | +--org.apache.batik.gvt.ImageNode
A graphics node that represents an image described as a graphics node.
Fields inherited from class org.apache.batik.gvt.CompositeGraphicsNode |
backgroundEnableRgn, children, count, modCount, VIEWPORT |
Fields inherited from class org.apache.batik.gvt.AbstractGraphicsNode |
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, transform, weakRef |
Fields inherited from interface org.apache.batik.gvt.GraphicsNode |
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE |
Constructor Summary | |
ImageNode()
Constructs a new empty ImageNode. |
Method Summary | |
boolean |
contains(java.awt.geom.Point2D p)
Returns true if the specified Point2D is inside the boundary of this node, false otherwise. |
GraphicsNode |
getImage()
Returns the graphics node that represents the image. |
GraphicsNode |
nodeHitAt(java.awt.geom.Point2D p)
Returns the GraphicsNode containing point p if this node or one of its children is sensitive to mouse events at p. |
void |
paint(java.awt.Graphics2D g2d)
Paints this node. |
void |
setImage(GraphicsNode newImage)
Sets the graphics node that represents the image. |
Methods inherited from class org.apache.batik.gvt.CompositeGraphicsNode |
add, add, addAll, addAll, clear, contains, containsAll, ensureCapacity, get, getBackgroundEnable, getChildren, getGeometryBounds, getOutline, getPrimitiveBounds, getTransformedGeometryBounds, getTransformedPrimitiveBounds, indexOf, invalidateGeometryCache, isEmpty, iterator, lastIndexOf, listIterator, listIterator, primitivePaint, remove, remove, removeAll, retainAll, set, setBackgroundEnable, setRoot, size, subList, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
equals, hashCode |
Constructor Detail |
public ImageNode()
Method Detail |
public void paint(java.awt.Graphics2D g2d)
paint
in class AbstractGraphicsNode
g2d
- the Graphics2D to usepublic boolean contains(java.awt.geom.Point2D p)
contains
in class CompositeGraphicsNode
p
- the specified Point2D in the user spacepublic GraphicsNode nodeHitAt(java.awt.geom.Point2D p)
nodeHitAt
in class CompositeGraphicsNode
p
- the specified Point2D in the user spacepublic void setImage(GraphicsNode newImage)
newImage
- the new graphics node that represents the imagepublic GraphicsNode getImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |