Package | Description |
---|---|
org.apache.batik.apps.svgbrowser | |
org.apache.batik.bridge |
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
|
org.apache.batik.bridge.svg12 | |
org.apache.batik.extension.svg | |
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 | |
org.apache.batik.swing.gvt | |
org.apache.batik.swing.svg | |
org.apache.batik.transcoder |
Contains all of the interfaces for transcoding an input stream or
a document to a particular ouput format.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
FindDialog.gvtRoot
The GVT root into which text is searched.
|
Modifier and Type | Method and Description |
---|---|
protected GraphicsNode |
FindDialog.getNext(java.lang.String text)
Returns the next GraphicsNode that matches the specified string or null
if any.
|
Modifier and Type | Method and Description |
---|---|
protected CanvasGraphicsNode |
ThumbnailDialog.getCanvasGraphicsNode(GraphicsNode gn) |
protected java.awt.Rectangle |
ElementOverlayManager.getElementBounds(GraphicsNode node)
The bounds of a given graphics node.
|
protected int |
FindDialog.match(GraphicsNode node,
java.lang.String text,
int index)
Returns the index inside the specified TextNode of the
specified text, or -1 if not found.
|
void |
FindDialog.setGraphicsNode(GraphicsNode gvtRoot)
Sets the graphics node into which text is searched.
|
Modifier and Type | Class and Description |
---|---|
class |
FlowTextNode
One line Class Desc
Complete Class Desc
|
class |
MultiResGraphicsNode
RasterRable This is used to wrap a Rendered Image back into the
RenderableImage world.
|
static class |
SVGPatternElementBridge.PatternGraphicsNode |
class |
TextNode
A graphics node that represents text.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
UpdateManager.graphicsNode
The GraphicsNode whose updates are to be tracked.
|
protected GraphicsNode |
AbstractGraphicsNodeBridge.node
The graphics node constructed by this bridge.
|
protected GraphicsNode |
BridgeException.node
The graphics node that represents the current state of the GVT tree.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
GVTBuilder.build(BridgeContext ctx,
Document document)
Builds using the specified bridge context the specified SVG document.
|
GraphicsNode |
GVTBuilder.build(BridgeContext ctx,
Element e)
Builds using the specified bridge context the specified Element.
|
protected GraphicsNode |
SVGImageElementBridge.buildImageGraphicsNode(BridgeContext ctx,
Element e)
Create a Graphics node according to the
resource pointed by the href : RasterImageNode
for bitmaps, CompositeGraphicsNode for svg files.
|
GraphicsNode |
SVGImageElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and for the
specified element.
|
GraphicsNode |
AbstractGraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGShapeElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and
for the specified element.
|
GraphicsNode |
GraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGSwitchElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGUseElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGTextElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGSVGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
protected GraphicsNode |
SVGImageElementBridge.createImageGraphicsNode(BridgeContext ctx,
Element e,
ParsedURL purl) |
protected GraphicsNode |
SVGImageElementBridge.createRasterImageNode(BridgeContext ctx,
Element e,
Filter img,
ParsedURL purl)
Returns a GraphicsNode that represents an raster image in JPEG or PNG
format.
|
protected GraphicsNode |
SVGImageElementBridge.createSVGImageNode(BridgeContext ctx,
Element e,
org.w3c.dom.svg.SVGDocument imgDocument)
Returns a GraphicsNode that represents a svg document as an image.
|
GraphicsNode |
StyleReference.getGraphicsNode()
Returns the graphics node.
|
GraphicsNode |
BridgeException.getGraphicsNode()
Returns the graphics node that represents the current GVT tree built.
|
GraphicsNode |
MultiResGraphicsNode.getGraphicsNode(int idx) |
GraphicsNode |
BridgeContext.getGraphicsNode(Node node)
Returns the GraphicsNode associated to the specified Node or
null if any.
|
protected GraphicsNode |
SVGImageElementBridge.instantiateGraphicsNode()
Creates an
ImageNode . |
protected abstract GraphicsNode |
AbstractGraphicsNodeBridge.instantiateGraphicsNode()
Creates the GraphicsNode depending on the GraphicsNodeBridge
implementation.
|
protected GraphicsNode |
SVGShapeElementBridge.instantiateGraphicsNode()
Creates a
ShapeNode . |
protected GraphicsNode |
SVGGElementBridge.instantiateGraphicsNode()
Creates a
CompositeGraphicsNode . |
protected GraphicsNode |
SVGUseElementBridge.instantiateGraphicsNode()
Creates the GraphicsNode depending on the GraphicsNodeBridge
implementation.
|
protected GraphicsNode |
SVGTextElementBridge.instantiateGraphicsNode()
Creates the GraphicsNode depending on the GraphicsNodeBridge
implementation.
|
protected GraphicsNode |
SVGSVGElementBridge.instantiateGraphicsNode()
Creates a
CompositeGraphicsNode . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGraphicsNodeBridge.associateSVGContext(BridgeContext ctx,
Element e,
GraphicsNode node)
Associates the
SVGContext with the element. |
void |
BridgeContext.bind(Node node,
GraphicsNode gn)
Binds the specified GraphicsNode to the specified Node.
|
protected static Filter |
SVGFilterElementBridge.buildFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.Map filterNodeMap,
BridgeContext ctx)
Builds the filter primitives of filter chain of the specified
filter element and returns the last filter primitive
created.
|
protected java.awt.Paint |
SVGLinearGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a linear gradient according to the specified parameters.
|
protected abstract java.awt.Paint |
AbstractSVGGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a concrete gradient according to the specified parameters.
|
protected java.awt.Paint |
SVGRadialGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a radial gradient according to the specified parameters.
|
void |
AbstractGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGShapeElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
GraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGAElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGUseElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGTextElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGSVGElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
protected static Filter |
SVGFilterElementBridge.buildLocalFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.Map filterNodeMap,
BridgeContext ctx)
Builds the filter primitives of filter chain of the specified
filter element and returns the last filter primitive
created or 'in' if no filter primitive has been specified.
|
protected void |
SVGTextElementBridge.computeLaidoutText(BridgeContext ctx,
Element e,
GraphicsNode node)
Recompute the layout of the <text> node.
|
static ClipRable |
CSSUtilities.convertClipPath(Element clippedElement,
GraphicsNode clippedNode,
BridgeContext ctx)
Returns a
Clip referenced by the specified element and
which applies on the specified graphics node. |
static java.awt.Paint |
PaintServer.convertFillPaint(Element filledElement,
GraphicsNode filledNode,
BridgeContext ctx)
Converts for the specified element, its fill paint properties
to a Paint object.
|
static Filter |
CSSUtilities.convertFilter(Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Returns a
Filter referenced by the specified element
and which applies on the specified graphics node. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterChainRegion(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Returns the filter region according to the x, y, width, height,
dx, dy, dw, dh and filterUnits attributes.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
java.awt.geom.Rectangle2D filterRegion,
BridgeContext ctx)
Returns the filter primitive region according to the x, y,
width, height, and filterUnits attributes.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
java.awt.geom.Rectangle2D filterRegion,
BridgeContext ctx)
Returns the filter primitive region according to the x, y,
width, height, and filterUnits attributes.
|
static Mask |
CSSUtilities.convertMask(Element maskedElement,
GraphicsNode maskedNode,
BridgeContext ctx)
Returns a
Mask referenced by the specified element and
which applies on the specified graphics node. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertMaskRegion(Element maskElement,
Element maskedElement,
GraphicsNode maskedNode,
BridgeContext ctx)
Returns the mask region according to the x, y, width, height,
and maskUnits attributes.
|
static java.awt.Paint |
PaintServer.convertPaint(Element paintedElement,
GraphicsNode paintedNode,
Value paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint definition to a concrete
java.awt.Paint
instance according to the specified parameters. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertPatternRegion(Element patternElement,
Element paintedElement,
GraphicsNode paintedNode,
BridgeContext ctx)
Returns the pattern region according to the x, y, width, height,
and patternUnits attributes.
|
protected static java.awt.geom.Rectangle2D |
SVGUtilities.convertRegion(java.lang.String xStr,
java.lang.String yStr,
java.lang.String wStr,
java.lang.String hStr,
short unitsType,
GraphicsNode targetNode,
UnitProcessor.Context uctx)
Returns a rectangle that represents the region defined by the
specified coordinates.
|
static java.awt.Paint |
PaintServer.convertStrokePaint(Element strokedElement,
GraphicsNode strokedNode,
BridgeContext ctx)
Converts for the specified element, its stroke paint properties
to a Paint object.
|
static java.awt.Paint |
PaintServer.convertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
Value paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified as a URI.
|
ClipRable |
SVGClipPathElementBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a
Clip according to the specified parameters. |
ClipRable |
ClipBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a
Clip according to the specified parameters. |
protected static Filter |
SVGFilterElementBridge.createEmptyFilter(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Creates a new returns a new filter that fills its output with
transparent black.
|
Filter |
FilterBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a
Filter according to the specified parameters. |
Filter |
SVGFilterElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a
Filter according to the specified parameters. |
Filter |
SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap)
Creates a
Filter according to the specified parameters. |
Filter |
FilterPrimitiveBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeCompositeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeOffsetElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeDiffuseLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeTileElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeMergeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeGaussianBlurElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeDisplacementMapElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeColorMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeComponentTransferElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeMorphologyElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeImageElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeSpecularLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeTurbulenceElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeConvolveMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeBlendElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeFloodElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Mask |
SVGMaskElementBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a
Mask according to the specified parameters. |
Mask |
MaskBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a
Mask according to the specified parameters. |
java.awt.Paint |
PaintBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
java.awt.Paint |
AbstractSVGGradientElementBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
java.awt.Paint |
SVGPatternElementBridge.createPaint(BridgeContext ctx,
Element patternElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
protected static Filter |
SVGFeImageElementBridge.createSVGFeImage(BridgeContext ctx,
java.awt.geom.Rectangle2D primitiveRegion,
Element refElement,
boolean toBBoxNeeded,
Element filterElement,
GraphicsNode filteredNode)
Returns a Filter that represents a svg document or element as an image.
|
protected static java.awt.geom.Rectangle2D |
SVGUtilities.extendRegion(java.lang.String dxStr,
java.lang.String dyStr,
java.lang.String dwStr,
java.lang.String dhStr,
short unitsType,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D region,
UnitProcessor.Context uctx)
Returns a rectangle that represents the region extended by the
specified differential coordinates.
|
protected static java.util.List |
SVGFeMergeElementBridge.extractFeMergeNode(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns a list of Filter objects that represents the feMergeNode of
the specified feMerge filter element.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.getBaseFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
BridgeContext ctx) |
Element |
BridgeContext.getElement(GraphicsNode gn)
Returns the Node associated to the specified GraphicsNode or
null if any.
|
protected Element |
BridgeEventSupport.Listener.getEventTarget(GraphicsNode node,
java.awt.geom.Point2D pt)
Returns the element that is the target of the specified
event or null if any.
|
protected static Filter |
AbstractSVGFilterPrimitiveElementBridge.getIn(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns the input source of the specified filter primitive
element defined by its 'in' attribute.
|
protected static Filter |
AbstractSVGFilterPrimitiveElementBridge.getIn2(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns the input source of the specified filter primitive
element defined by its 'in2' attribute.
|
protected TextPaintInfo |
SVGTextElementBridge.getTextPaintInfo(Element element,
GraphicsNode node,
TextPaintInfo parentTPI,
BridgeContext ctx)
Constructs a TextDecoration object for the specified element.
|
protected void |
SVGImageElementBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
protected void |
AbstractGraphicsNodeBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
protected void |
SVGTextElementBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method ensures that any modification to a text
element and its children is going to be reflected
into the GVT tree.
|
protected static void |
SVGImageElementBridge.initializeViewport(BridgeContext ctx,
Element e,
GraphicsNode node,
float[] vb,
java.awt.geom.Rectangle2D bounds)
Initializes according to the specified element, the specified graphics
node with the specified bounds.
|
void |
SVGTextElementBridge.setBaseTextPaintInfo(TextPaintInfo pi,
Element element,
GraphicsNode node,
BridgeContext ctx) |
void |
BridgeException.setGraphicsNode(GraphicsNode node)
Sets the graphics node that represents the current GVT tree built.
|
protected void |
AbstractGraphicsNodeBridge.setTransform(GraphicsNode n,
Element e,
BridgeContext ctx)
Sets the graphics node's transform to the current animated transform
value.
|
static java.awt.Paint |
PaintServer.silentConvertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
Value paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified by URI without sending any error.
|
static java.awt.geom.AffineTransform |
SVGUtilities.toObjectBBox(java.awt.geom.AffineTransform Tx,
GraphicsNode node)
Returns an AffineTransform to move to the objectBoundingBox
coordinate system.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.toObjectBBox(java.awt.geom.Rectangle2D r,
GraphicsNode node)
Returns the specified a Rectangle2D move to the objectBoundingBox
coordinate system of the specified graphics node.
|
Constructor and Description |
---|
PatternGraphicsNode(GraphicsNode gn) |
StyleReference(GraphicsNode node,
java.lang.String styleAttribute)
Creates a new
StyleReference . |
UpdateManager(BridgeContext ctx,
GraphicsNode gn,
Document doc)
Creates a new update manager.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
SVGMultiImageElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and for the
specified element.
|
GraphicsNode |
SVGFlowRootElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
XBLShadowTreeElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
BindableElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
XBLContentElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
protected GraphicsNode |
SVGFlowRootElementBridge.instantiateGraphicsNode()
Creates the graphics node for this element.
|
protected GraphicsNode |
XBLShadowTreeElementBridge.instantiateGraphicsNode()
Creates a
CompositeGraphicsNode . |
protected GraphicsNode |
BindableElementBridge.instantiateGraphicsNode()
Creates the GraphicsNode depending on the GraphicsNodeBridge
implementation.
|
protected GraphicsNode |
XBLContentElementBridge.instantiateGraphicsNode()
Creates a
CompositeGraphicsNode . |
Modifier and Type | Method and Description |
---|---|
void |
SVGMultiImageElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node) |
void |
SVGFlowRootElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
XBLShadowTreeElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
BindableElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
XBLContentElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
protected void |
SVGFlowRootElementBridge.computeLaidoutText(BridgeContext ctx,
Element e,
GraphicsNode node) |
java.awt.Paint |
SVGSolidColorElementBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
protected void |
SVGMultiImageElementBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
Modifier and Type | Class and Description |
---|---|
class |
FlowExtTextNode
One line Class Desc
Complete Class Desc
|
Modifier and Type | Method and Description |
---|---|
protected GraphicsNode |
BatikFlowTextElementBridge.instantiateGraphicsNode() |
Modifier and Type | Method and Description |
---|---|
Filter |
BatikHistogramNormalizationElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
java.awt.Paint |
ColorSwitchBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
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(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.
|
GraphicsNode |
AbstractGraphicsNode.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.
|
GraphicsNode |
ImageNode.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.
|
GraphicsNode |
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.
|
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) |
java.awt.geom.Rectangle2D |
UpdateTracker.getNodeDirtyRegion(GraphicsNode gn) |
java.awt.geom.Rectangle2D |
UpdateTracker.getNodeDirtyRegion(GraphicsNode gn,
java.awt.geom.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,
java.awt.geom.Point2D ref,
double orient)
Constructs a new marker.
|
PatternPaint(GraphicsNode node,
java.awt.geom.Rectangle2D patternRegion,
boolean overflow,
java.awt.geom.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,
java.awt.event.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,
java.awt.event.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,
java.awt.geom.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,
java.util.Map props) |
GraphicsNodeRed8Bit(GraphicsNode node,
java.awt.geom.AffineTransform node2dev,
boolean usePrimitivePaint,
java.awt.RenderingHints hints) |
MaskRable8Bit(Filter src,
GraphicsNode mask,
java.awt.geom.Rectangle2D filterRegion) |
Constructor and Description |
---|
Glyph(java.lang.String unicode,
java.util.List names,
java.lang.String orientation,
java.lang.String arabicForm,
java.lang.String lang,
java.awt.geom.Point2D horizOrigin,
java.awt.geom.Point2D vertOrigin,
float horizAdvX,
float vertAdvY,
int glyphCode,
TextPaintInfo tpi,
java.awt.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.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
JGVTComponent.gvtRoot
The GVT tree root.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
JGVTComponent.getGraphicsNode()
Returns the root of the GVT tree displayed by this component, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
JGVTComponent.setGraphicsNode(GraphicsNode gn)
Sets the GVT tree to display.
|
protected void |
JGVTComponent.setGraphicsNode(GraphicsNode gn,
boolean createDispatcher)
Sets the GVT tree to display.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
SVGLoadEventDispatcherEvent.gvtRoot
The GVT root.
|
protected GraphicsNode |
GVTTreeBuilderEvent.gvtRoot
The GVT root.
|
protected GraphicsNode |
SVGLoadEventDispatcher.root
The root graphics node.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
SVGLoadEventDispatcherEvent.getGVTRoot()
Returns the GVT tree root, or null if the gvt construction
was not completed or just started.
|
GraphicsNode |
GVTTreeBuilderEvent.getGVTRoot()
Returns the GVT tree root, or null if the gvt construction
was not completed or just started.
|
Modifier and Type | Method and Description |
---|---|
protected CanvasGraphicsNode |
JSVGComponent.getCanvasGraphicsNode(GraphicsNode gn) |
void |
JSVGComponent.setGraphicsNode(GraphicsNode gn,
boolean createDispatcher) |
protected void |
JSVGComponent.startSVGLoadEventDispatcher(GraphicsNode root)
Starts a SVGLoadEventDispatcher thread.
|
Constructor and Description |
---|
GVTTreeBuilderEvent(java.lang.Object source,
GraphicsNode root)
Creates a new GVTTreeBuilderEvent.
|
SVGLoadEventDispatcher(GraphicsNode gn,
org.w3c.dom.svg.SVGDocument doc,
BridgeContext bc,
UpdateManager um)
Creates a new SVGLoadEventDispatcher.
|
SVGLoadEventDispatcherEvent(java.lang.Object source,
GraphicsNode root)
Creates a new SVGLoadEventDispatcherEvent.
|
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
SVGAbstractTranscoder.root
Current GVT Tree, i.e., the GVT tree representing the page
being printed currently.
|
Modifier and Type | Method and Description |
---|---|
protected CanvasGraphicsNode |
SVGAbstractTranscoder.getCanvasGraphicsNode(GraphicsNode gn) |
Copyright © 2022 Apache Software Foundation. All Rights Reserved.