|
|||||||||
| Home >> All >> org >> apache >> batik >> [ gvt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.gvt
Class ProxyGraphicsNode

java.lang.Objectorg.apache.batik.gvt.AbstractGraphicsNode
org.apache.batik.gvt.ProxyGraphicsNode
- All Implemented Interfaces:
- GraphicsNode
- public class ProxyGraphicsNode
- extends AbstractGraphicsNode
A graphics node which provides a placeholder for another graphics node. This node is self defined except that it delegates to the enclosed (proxied) graphics node, its paint routine and bounds computation.
- Version:
- $Id: ProxyGraphicsNode.java,v 1.12 2005/03/27 08:58:34 cam Exp $
| Field Summary | |
protected GraphicsNode |
source
The graphics node to proxy. |
| Fields inherited from class org.apache.batik.gvt.AbstractGraphicsNode |
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, EPSILON, 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 | |
ProxyGraphicsNode()
Constructs a new empty proxy graphics node. |
|
| Method Summary | |
java.awt.geom.Rectangle2D |
getGeometryBounds()
Returns the bounds of the area covered by this node, without taking any of its rendering attribute into account. |
java.awt.Shape |
getOutline()
Returns the outline of this node. |
java.awt.geom.Rectangle2D |
getPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint. |
java.awt.geom.Rectangle2D |
getSensitiveBounds()
Returns the bounds of the sensitive area covered by this node, This includes the stroked area but does not include the effects of clipping, masking or filtering. |
GraphicsNode |
getSource()
Returns the proxied graphics node. |
java.awt.geom.Rectangle2D |
getTransformedGeometryBounds(java.awt.geom.AffineTransform txf)
Returns the bounds of the sensitive area covered by this node, This includes the stroked area but does not include the effects of clipping, masking or filtering. |
java.awt.geom.Rectangle2D |
getTransformedPrimitiveBounds(java.awt.geom.AffineTransform txf)
Returns the bounds of this node's primitivePaint after applying the input transform (if any), concatenated with this node's transform (if any). |
void |
primitivePaint(java.awt.Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite and clip. |
void |
setSource(GraphicsNode source)
Sets the graphics node to proxy to the specified graphics node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
source
protected GraphicsNode source
- The graphics node to proxy.
| Constructor Detail |
ProxyGraphicsNode
public ProxyGraphicsNode()
- Constructs a new empty proxy graphics node.
| Method Detail |
setSource
public void setSource(GraphicsNode source)
- Sets the graphics node to proxy to the specified graphics node.
getSource
public GraphicsNode getSource()
- Returns the proxied graphics node.
primitivePaint
public void primitivePaint(java.awt.Graphics2D g2d)
- Paints this node without applying Filter, Mask, Composite and clip.
getPrimitiveBounds
public java.awt.geom.Rectangle2D getPrimitiveBounds()
- Returns the bounds of the area covered by this node's primitive paint.
getTransformedPrimitiveBounds
public java.awt.geom.Rectangle2D getTransformedPrimitiveBounds(java.awt.geom.AffineTransform txf)
- Returns the bounds of this node's primitivePaint after applying
the input transform (if any), concatenated with this node's
transform (if any).
- Specified by:
getTransformedPrimitiveBoundsin interfaceGraphicsNode- Overrides:
getTransformedPrimitiveBoundsin classAbstractGraphicsNode
getGeometryBounds
public java.awt.geom.Rectangle2D getGeometryBounds()
- Returns the bounds of the area covered by this node, without
taking any of its rendering attribute into account. That is,
exclusive of any clipping, masking, filtering or stroking, for
example.
getTransformedGeometryBounds
public java.awt.geom.Rectangle2D getTransformedGeometryBounds(java.awt.geom.AffineTransform txf)
- Returns the bounds of the sensitive area covered by this node,
This includes the stroked area but does not include the effects
of clipping, masking or filtering. The returned value is
transformed by the concatenation of the input transform and
this node's transform.
- Specified by:
getTransformedGeometryBoundsin interfaceGraphicsNode- Overrides:
getTransformedGeometryBoundsin classAbstractGraphicsNode
getSensitiveBounds
public java.awt.geom.Rectangle2D getSensitiveBounds()
- Returns the bounds of the sensitive area covered by this node,
This includes the stroked area but does not include the effects
of clipping, masking or filtering.
getOutline
public java.awt.Shape getOutline()
- Returns the outline of this node.
|
|||||||||
| Home >> All >> org >> apache >> batik >> [ gvt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC