org.foray.graphic.batik
Class PDFANode

java.lang.Object
  extended by org.apache.batik.gvt.AbstractGraphicsNode
      extended by org.apache.batik.gvt.CompositeGraphicsNode
          extended by org.foray.graphic.batik.PDFANode
All Implemented Interfaces:
Iterable, Collection, List, org.apache.batik.gvt.GraphicsNode

public class PDFANode
extends org.apache.batik.gvt.CompositeGraphicsNode

A graphics node that represents an image described as a graphics node.


Field Summary
 
Fields inherited from class org.apache.batik.gvt.CompositeGraphicsNode
backgroundEnableRgn, children, count, modCount, NULL_RECT, 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
PDFANode()
          Constructs a new empty PDFANode.
 
Method Summary
 org.axsl.graphic.GraphicLink getLink(Graphics2D g2d)
          Paints this node if it is visible.
 void setDestination(String dest)
          Set the destination String.
 void setTransform(AffineTransform tf)
          Set the affine transform.
 
Methods inherited from class org.apache.batik.gvt.CompositeGraphicsNode
add, add, addAll, addAll, clear, contains, contains, containsAll, ensureCapacity, get, getBackgroundEnable, getChildren, getGeometryBounds, getOutline, getPrimitiveBounds, getSensitiveBounds, getTransformedBBox, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, indexOf, invalidateGeometryCache, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nodeHitAt, primitivePaint, remove, remove, removeAll, retainAll, set, setBackgroundEnable, setRoot, setVisible, size, subList, toArray, toArray
 
Methods inherited from class org.apache.batik.gvt.AbstractGraphicsNode
fireGraphicsNodeChangeCompleted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, getBounds, getClip, getComposite, getEnableBackgroundGraphicsNodeRable, getFilter, getGlobalTransform, getGraphicsNodeRable, getInverseTransform, getMask, getParent, getPointerEventType, getRenderingHints, getRoot, getTransform, getTransformedBounds, getWeakReference, intersects, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, normalizeRectangle, paint, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHints
 
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

PDFANode

public PDFANode()
Constructs a new empty PDFANode.

Method Detail

setDestination

public void setDestination(String dest)
Set the destination String.

Parameters:
dest - The new destination for this node.

setTransform

public void setTransform(AffineTransform tf)
Set the affine transform.

Specified by:
setTransform in interface org.apache.batik.gvt.GraphicsNode
Overrides:
setTransform in class org.apache.batik.gvt.AbstractGraphicsNode
Parameters:
tf - The new affine transform.

getLink

public org.axsl.graphic.GraphicLink getLink(Graphics2D g2d)
Paints this node if it is visible.

Parameters:
g2d - The Graphics2D instance to use.
Returns:
The link instance.


Copyright © 2017. All rights reserved.