org.apache.batik.gvt
Class ImageNode

java.lang.Object
  |
  +--org.apache.batik.gvt.AbstractGraphicsNode
        |
        +--org.apache.batik.gvt.CompositeGraphicsNode
              |
              +--org.apache.batik.gvt.ImageNode
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, GraphicsNode, java.util.List

public class ImageNode
extends CompositeGraphicsNode

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
clip, composite, filter, gnr, hints, hitDetector, inverseTransform, isVisible, listeners, mask, parent, root, transform
 
Fields inherited from interface org.apache.batik.gvt.GraphicsNode
IDENTITY
 
Constructor Summary
ImageNode()
          Constructs a new empty ImageNode.
 
Method Summary
 GraphicsNode getImage()
           
 void paint(java.awt.Graphics2D g2d, GraphicsNodeRenderContext rc)
          Paints this node if visible.
 void setImage(GraphicsNode newImage)
           
 
Methods inherited from class org.apache.batik.gvt.CompositeGraphicsNode
add, add, addAll, addAll, addCompositeGraphicsNodeListener, clear, contains, contains, containsAll, dispatchEvent, ensureCapacity, get, getBackgroundEnable, getChildren, getGeometryBounds, getOutline, getPrimitiveBounds, getTransformedGeometryBounds, getTransformedPrimitiveBounds, indexOf, invalidateGeometryCache, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nodeHitAt, primitivePaint, processCompositeEvent, remove, remove, removeAll, removeCompositeGraphicsNodeListener, renderingClone, retainAll, set, setBackgroundEnable, setRoot, size, subList, toArray, toArray
 
Methods inherited from class org.apache.batik.gvt.AbstractGraphicsNode
acceptEvent, addGraphicsNodeKeyListener, addGraphicsNodeMouseListener, getBounds, getClip, getComposite, getFilter, getGlobalTransform, getGraphicsNodeHitDetector, getInverseTransform, getListeners, getMask, getParent, getRenderingHints, getRoot, getTransform, getTransformedBounds, intersects, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, processKeyEvent, processMouseEvent, removeGraphicsNodeKeyListener, removeGraphicsNodeMouseListener, setClip, setComposite, setFilter, setGraphicsNodeHitDetector, setMask, setParent, setRenderingHint, setRenderingHints, setRenderingHints, setTransform, setVisible
 
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

ImageNode

public ImageNode()
Constructs a new empty ImageNode.
Method Detail

paint

public void paint(java.awt.Graphics2D g2d,
                  GraphicsNodeRenderContext rc)
Paints this node if visible.
Overrides:
paint in class AbstractGraphicsNode
Parameters:
g2d - the Graphics2D to use
rc - the GraphicsNodeRenderContext to use

setImage

public void setImage(GraphicsNode newImage)

getImage

public GraphicsNode getImage()


Copyright © 2001 Apache Software Foundation. All Rights Reserved.