Package | Description |
---|---|
org.apache.batik.gvt |
Contains all of the interfaces for describing and painting vector
graphics as Java objects.
|
org.apache.batik.gvt.event |
Provides interfaces and classes for dealing with different types
of events fired by GVT graphics nodes.
|
org.apache.batik.gvt.filter |
Contains all of the interfaces for describing a set of standard
image processing filters Java objects.
|
org.apache.batik.gvt.font | |
org.apache.batik.gvt.renderer |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphicsNode
A partial implementation of the
GraphicsNode interface. |
class |
CanvasGraphicsNode
The graphics node container with a background color.
|
class |
CompositeGraphicsNode
A CompositeGraphicsNode is a graphics node that can contain graphics nodes.
|
class |
ImageNode
A graphics node that represents an image described as a graphics node.
|
class |
ProxyGraphicsNode
A graphics node which provides a placeholder for another graphics node.
|
class |
RasterImageNode
A graphics node that represents a raster image.
|
class |
RootGraphicsNode
The top-level graphics node of the GVT tree.
|
class |
ShapeNode
A graphics node that represents a shape.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode[] |
CompositeGraphicsNode.children
The children of this composite graphics node.
|
protected GraphicsNode |
GVTTreeWalker.currentNode
The current GraphicsNode.
|
protected GraphicsNode |
GVTTreeWalker.gvtRoot
The GVT root into which text is searched.
|
protected GraphicsNode |
Marker.markerNode
GraphicsNode this marker is associated to
|
protected GraphicsNode |
ProxyGraphicsNode.source
The graphics node to proxy.
|
protected GraphicsNode |
GVTTreeWalker.treeRoot
The root of the subtree of the GVT which is traversed.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
GVTTreeWalker.firstChild()
Returns the first child of the current
GraphicsNode . |
GraphicsNode |
GVTTreeWalker.getCurrentGraphicsNode()
Returns the current
GraphicsNode . |
protected static GraphicsNode |
GVTTreeWalker.getFirstChild(GraphicsNode node) |
GraphicsNode |
PatternPaint.getGraphicsNode()
Returns the graphics node that define the pattern.
|
GraphicsNode |
GVTTreeWalker.getGVTRoot()
Returns the GVT root graphics node.
|
GraphicsNode |
ImageNode.getImage()
Returns the graphics node that represents the image.
|
protected static GraphicsNode |
GVTTreeWalker.getLastChild(GraphicsNode node) |
GraphicsNode |
Marker.getMarkerNode()
Returns the
GraphicsNode that draws this marker. |
protected GraphicsNode |
GVTTreeWalker.getNextGraphicsNode(GraphicsNode node) |
GraphicsNode |
GVTTreeWalker.getNextSibling()
Returns the next sibling of the current
GraphicsNode . |
protected static GraphicsNode |
GVTTreeWalker.getNextSibling(GraphicsNode node) |
protected GraphicsNode |
GVTTreeWalker.getPreviousGraphicsNode(GraphicsNode node) |
GraphicsNode |
GVTTreeWalker.getPreviousSibling()
Returns the next previous of the current
GraphicsNode . |
protected static GraphicsNode |
GVTTreeWalker.getPreviousSibling(GraphicsNode node) |
GraphicsNode |
GVTTreeWalker.getRoot()
Returns the root graphics node.
|
GraphicsNode |
ProxyGraphicsNode.getSource()
Returns the proxied graphics node.
|
GraphicsNode |
GVTTreeWalker.lastChild()
Returns the last child of the current
GraphicsNode . |
GraphicsNode |
GVTTreeWalker.nextGraphicsNode()
Returns the next
GraphicsNode . |
GraphicsNode |
CompositeGraphicsNode.nodeHitAt(Point2D p)
Returns the GraphicsNode containing point p if this node or one of its
children is sensitive to mouse events at p.
|
GraphicsNode |
AbstractGraphicsNode.nodeHitAt(Point2D p)
Returns the GraphicsNode containing point p if this node or one of its
children is sensitive to mouse events at p.
|
GraphicsNode |
ImageNode.nodeHitAt(Point2D p)
Returns the GraphicsNode containing point p if this node or one of its
children is sensitive to mouse events at p.
|
GraphicsNode |
GraphicsNode.nodeHitAt(Point2D p)
Returns the GraphicsNode containing point p if this node or one of its
children is sensitive to mouse events at p.
|
GraphicsNode |
GVTTreeWalker.parentGraphicsNode()
Returns the parent of the current
GraphicsNode . |
GraphicsNode |
GVTTreeWalker.previousGraphicsNode()
Returns the previous
GraphicsNode . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGraphicsNode.fireGraphicsNodeChangeStarted(GraphicsNode changeSrc) |
protected static GraphicsNode |
GVTTreeWalker.getFirstChild(GraphicsNode node) |
protected static GraphicsNode |
GVTTreeWalker.getLastChild(GraphicsNode node) |
protected GraphicsNode |
GVTTreeWalker.getNextGraphicsNode(GraphicsNode node) |
protected static GraphicsNode |
GVTTreeWalker.getNextSibling(GraphicsNode node) |
Rectangle2D |
UpdateTracker.getNodeDirtyRegion(GraphicsNode gn) |
Rectangle2D |
UpdateTracker.getNodeDirtyRegion(GraphicsNode gn,
AffineTransform at)
This returns the dirty region for gn in the coordinate system
given by
at . |
protected GraphicsNode |
GVTTreeWalker.getPreviousGraphicsNode(GraphicsNode node) |
protected static GraphicsNode |
GVTTreeWalker.getPreviousSibling(GraphicsNode node) |
void |
GVTTreeWalker.setCurrentGraphicsNode(GraphicsNode node)
Sets the current GraphicsNode to the specified node.
|
void |
ImageNode.setImage(GraphicsNode newImage)
Sets the graphics node that represents the image.
|
void |
ProxyGraphicsNode.setSource(GraphicsNode source)
Sets the graphics node to proxy to the specified graphics node.
|
Constructor and Description |
---|
GVTTreeWalker(GraphicsNode treeRoot)
Constructs a new
GVTTreeWalker . |
Marker(GraphicsNode markerNode,
Point2D ref,
double orient)
Constructs a new marker.
|
PatternPaint(GraphicsNode node,
Rectangle2D patternRegion,
boolean overflow,
AffineTransform patternTransform)
Constructs a new
PatternPaint . |
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
GraphicsNodeChangeEvent.changeSource |
protected GraphicsNode |
AWTEventDispatcher.currentKeyEventTarget
The current GraphicsNode targeted by an key events.
|
protected GraphicsNode |
AWTEventDispatcher.lastHit
The lastest node which has been targeted by an event.
|
protected GraphicsNode |
AWTEventDispatcher.root
The root GraphicsNode as determined by setRootNode().
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
GraphicsNodeChangeEvent.getChangeSrc() |
GraphicsNode |
GraphicsNodeEvent.getGraphicsNode()
Returns the graphics node where the event is originated.
|
GraphicsNode |
GraphicsNodeMouseEvent.getRelatedNode()
Returns the related node for this
GraphicsNodeMouseEvent . |
GraphicsNode |
AWTEventDispatcher.getRootNode()
Returns the root node for MouseEvent dispatch containment
searches and field selections.
|
GraphicsNode |
EventDispatcher.getRootNode()
Returns the root node for MouseEvent dispatch containment
searches and field selections.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicsNodeChangeEvent.setChangeSrc(GraphicsNode gn) |
void |
AWTEventDispatcher.setRootNode(GraphicsNode root)
Sets the root node for MouseEvent dispatch containment searches
and field selections.
|
void |
EventDispatcher.setRootNode(GraphicsNode root)
Sets the root node for MouseEvent dispatch containment searches
and field selections.
|
Constructor and Description |
---|
GraphicsNodeChangeEvent(GraphicsNode source,
int id)
Constructs a new graphics node event with the specified source and ID.
|
GraphicsNodeEvent(GraphicsNode source,
int id)
Constructs a new graphics node event with the specified source and ID.
|
GraphicsNodeFocusEvent(GraphicsNode source,
int id)
Constructs a new graphics node focus event.
|
GraphicsNodeInputEvent(GraphicsNode source,
InputEvent evt,
int lockState)
Constructs a new graphics node input event from an AWT InputEvent.
|
GraphicsNodeInputEvent(GraphicsNode source,
int id,
long when,
int modifiers,
int lockState)
Constructs a new graphics node input event.
|
GraphicsNodeKeyEvent(GraphicsNode source,
int id,
long when,
int modifiers,
int lockState,
int keyCode,
char keyChar,
int keyLocation)
Constructs a new graphics node key event.
|
GraphicsNodeMouseEvent(GraphicsNode source,
int id,
long when,
int modifiers,
int lockState,
int button,
float x,
float y,
int clientX,
int clientY,
int screenX,
int screenY,
int clickCount,
GraphicsNode relatedNode)
Constructs a new graphics node mouse event.
|
GraphicsNodeMouseEvent(GraphicsNode source,
MouseEvent evt,
int button,
int lockState)
Constructs a new graphics node mouse event from an AWT MouseEvent.
|
GraphicsNodeMouseWheelEvent(GraphicsNode source,
int id,
long when,
int modifiers,
int lockState,
int wheelDelta)
Constructs a new graphics node mouse wheel event.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
MaskRable8Bit.mask
The node who's outline specifies our mask.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
GraphicsNodeRable.getGraphicsNode()
Returns the
GraphicsNode for which a rendering can be obtained |
GraphicsNode |
BackgroundRable8Bit.getGraphicsNode()
Returns the
GraphicsNode rendered by this image |
GraphicsNode |
GraphicsNodeRable8Bit.getGraphicsNode()
Returns the
GraphicsNode rendered by this image |
GraphicsNode |
MaskRable8Bit.getMaskNode()
Returns the Graphics node that the mask operation will use to
define the masking image.
|
GraphicsNode |
Mask.getMaskNode()
Returns the Graphics node that the mask operation will use to
define the masking image.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNodeRable |
GraphicsNodeRableFactory.createGraphicsNodeRable(GraphicsNode node)
Returns a
GraphicsNodeRable initialized with the
input GraphicsNode . |
GraphicsNodeRable |
ConcreteGraphicsNodeRableFactory.createGraphicsNodeRable(GraphicsNode node)
Returns a
GraphicsNodeRable initialized with the
input GraphicsNode . |
Filter |
BackgroundRable8Bit.getBackground(GraphicsNode gn,
GraphicsNode child,
Rectangle2D aoi)
Returns a filter that represents the background image
for
child . |
void |
GraphicsNodeRable.setGraphicsNode(GraphicsNode node)
Sets the
GraphicsNode associated with this image. |
void |
BackgroundRable8Bit.setGraphicsNode(GraphicsNode node)
Sets the
GraphicsNode this image should render |
void |
GraphicsNodeRable8Bit.setGraphicsNode(GraphicsNode node)
Sets the
GraphicsNode this image should render |
void |
MaskRable8Bit.setMaskNode(GraphicsNode mask)
Set the masking image to that described by gn.
|
void |
Mask.setMaskNode(GraphicsNode gn)
Set the masking image to that described by gn.
|
Constructor and Description |
---|
BackgroundRable8Bit(GraphicsNode node) |
GraphicsNodeRable8Bit(GraphicsNode node) |
GraphicsNodeRable8Bit(GraphicsNode node,
boolean usePrimitivePaint) |
GraphicsNodeRable8Bit(GraphicsNode node,
Map props) |
GraphicsNodeRed8Bit(GraphicsNode node,
AffineTransform node2dev,
boolean usePrimitivePaint,
RenderingHints hints) |
MaskRable8Bit(Filter src,
GraphicsNode mask,
Rectangle2D filterRegion) |
Constructor and Description |
---|
Glyph(String unicode,
List names,
String orientation,
String arabicForm,
String lang,
Point2D horizOrigin,
Point2D vertOrigin,
float horizAdvX,
float vertAdvY,
int glyphCode,
TextPaintInfo tpi,
Shape dShape,
GraphicsNode glyphChildrenNode)
Constructs a Glyph with the specified parameters.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
MacRenderer.rootGN |
protected GraphicsNode |
StaticRenderer.rootGN
Tree this Renderer paints.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
MacRenderer.getTree()
Returns the GVT tree associated with this renderer
|
GraphicsNode |
StaticRenderer.getTree() |
GraphicsNode |
Renderer.getTree()
Returns the GVT tree associated with this renderer
|
Modifier and Type | Method and Description |
---|---|
void |
MacRenderer.setTree(GraphicsNode treeRoot)
This associates the given GVT Tree with this renderer.
|
void |
StaticRenderer.setTree(GraphicsNode rootGN)
This associates the given GVT Tree with this renderer.
|
void |
Renderer.setTree(GraphicsNode treeRoot)
This associates the given GVT Tree with this renderer.
|
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.