A C D E F G I K L M N P R S V W Y

A

addToSVGDefinition(Element) - Method in class yext.svg.io.SVGGraph2DRenderer
Adds a DOM element to to the definition block of the SVG document.

C

canRead() - Method in class yext.svg.io.SVGIOHandler
Returns false, since this class can't read a graph.
clearImageCache() - Static method in class yext.svg.view.SVGModel
Clears the image cache.
clone() - Method in class yext.svg.view.SVGModel
 
createCDATASection(String) - Method in class yext.svg.io.SVGGraph2DRenderer
Creates a character data section that can be added to the SVG document.
createCopy(NodeRealizer) - Method in class yext.svg.view.SVGNodeRealizer
Creates and returns a new SVGNodeRealizer whose attributes are copied from the given realizer.
createDefaultGraph2DView(Graph2D) - Method in class yext.svg.io.SVGIOHandler
Creates the default view used as rendering context of this output handler in case there is no current view associated with the graph2D.
createDocument() - Method in class yext.svg.io.SVGIOHandler
Creates the xml document that will serve as internal representation of the SVG output.
createElement(String) - Method in class yext.svg.io.SVGGraph2DRenderer
Creates a DOM element with the given name that can be added to the SVG document.
createGroupID(Node) - Method in class yext.svg.io.SVGDOMEnhancer
Returns the group identifier assigned to the group element encapsulating the given node in the SVG document.
createGroupID(Edge) - Method in class yext.svg.io.SVGDOMEnhancer
Returns the group identifier assigned to the group element encapsulating the given edge in the SVG document.
createIOHandler() - Method in class yext.svg.module.SVGOutput
 
createIOHandler() - Method in class yext.svg.module.SVGZOutput
 
createOptionHandler() - Method in class yext.svg.module.SVGOutput
 
createOptionHandler() - Method in class yext.svg.module.SVGZOutput
 

D

deserializeSVGContent(Reader) - Method in class yext.svg.view.SVGModel
Replaces the SVG definition represented by this SVGModel to the one accessible via the specified Reader.

E

edgeAddedToDOM(Edge, Element) - Method in class yext.svg.io.SVGDOMEnhancer
Callback method that will be invoked whenever the given edge has been added to the SVG document.
edgeLabelAddedToDOM(EdgeLabel, Element) - Method in class yext.svg.io.SVGDOMEnhancer
Callback method that will be invoked whenever the given edge label has been added to the SVG document.

F

findIntersection(double, double, double, double, Point2D) - Method in class yext.svg.view.SVGNodeRealizer
 

G

getActiveGraph2DView() - Method in class yext.svg.io.SVGIOHandler
 
getDocument() - Method in class yext.svg.io.SVGIOHandler
Returns the xml document that will serve as internal representation of the SVG output.
getFileFormatString() - Method in class yext.svg.io.SVGIOHandler
Returns the SVG file format string.
getFileFormatString() - Method in class yext.svg.io.SVGZIOHandler
Returns the SVGZ file format string.
getFileNameExtension() - Method in class yext.svg.io.SVGIOHandler
Returns the SVG file name extension, i.e.
getFileNameExtension() - Method in class yext.svg.io.SVGZIOHandler
Returns the SVG file name extension, i.e.
getGraph2DView() - Method in class yext.svg.io.SVGIOHandler
 
getIconHeight() - Method in class yext.svg.view.SVGIcon
 
getIconWidth() - Method in class yext.svg.view.SVGIcon
 
getImageCacheSize() - Static method in class yext.svg.view.SVGModel
Returns the maximum number of images that will be cached.
getLabelDetectionStrategy() - Method in class yext.svg.io.SVGDOMEnhancer
Returns the detection strategy used for DOM elements that enclose node and edge label graphics.
getMaximumImageSize() - Static method in class yext.svg.view.SVGModel
Returns the maximum size of images that will be cached.
getMinimumRelativeImageSize() - Static method in class yext.svg.view.SVGModel
Returns the minimum relative image size for which precached image duplicates are reused.
getModel() - Method in class yext.svg.view.SVGIcon
Returns the underlying SVG model of this class.
getModel() - Method in class yext.svg.view.SVGNodeRealizer
Returns the underlying SVG model for this SVGNodeRealizer.
getModel() - Method in class yext.svg.view.SVGPainter
Returns the underlying SVG model of this class.
getName() - Method in class yext.svg.io.SVGNodeRealizerSerializer
Returns the string "SVGNode".
getNamespacePrefix() - Method in class yext.svg.io.SVGNodeRealizerSerializer
Returns the string null.
getNamespaceURI() - Method in class yext.svg.io.SVGNodeRealizerSerializer
 
getRealizerClass() - Method in class yext.svg.io.SVGNodeRealizerSerializer
Returns class SVGNodeRealizer.
getSvgBounds() - Method in class yext.svg.view.SVGModel
Returns the bounds of the SVG model.
getSVGBoundsPolicy() - Method in class yext.svg.view.SVGModel
Returns the policy on how to determine the bounds of this svg node.
getSVGDocument() - Method in class yext.svg.io.SVGGraph2DRenderer
Returns the document that will be generated by SVGIOHandler.
getSVGGraph2DRenderer() - Method in class yext.svg.io.SVGIOHandler
Returns the SVGGraph2DRenderer that will be used to render the graph.
getSVGIOHandler() - Method in class yext.svg.io.SVGGraph2DRenderer
Returns the SVGIOHandler this renderer is working with.
getSVGRenderingHintValue() - Method in class yext.svg.io.SVGIOHandler
Returns the preferred rendering mode to be used when exporting SVG enhanced content (i.e.
getSVGURL() - Method in class yext.svg.view.SVGModel
Returns the URL of the SVG graphics that was parsed to construct the model.
getSVGURL() - Method in class yext.svg.view.SVGNodeRealizer
Returns the URL of the SVG graphics that will be displayed by this realizer.
getTopLevelGroup() - Method in class yext.svg.io.SVGGraph2DRenderer
Returns the top level group element of the SVG document to which graphical representation of nodes and edges will be added.

I

initializeDOM() - Method in class yext.svg.io.SVGDOMEnhancer
Callback method that will be invoked just before the graph will be added to the SVG document.
insertNodeAbove(Node, Node) - Method in class yext.svg.io.SVGGraph2DRenderer
Adds a DOM node to the SVG document.
insertNodeBelow(Node, Node) - Method in class yext.svg.io.SVGGraph2DRenderer
Adds a DOM node to the SVG document.
isCanvasSizeAssigned() - Method in class yext.svg.io.SVGIOHandler
Returns whether or not the <svg> element of the generated file will have the canvas width and height assigned.
isImageCacheEnabled() - Static method in class yext.svg.view.SVGModel
Returns whether or not image caching is enabled.
isInitialized() - Method in class yext.svg.view.SVGModel
Returns whether or not the model has been properly initialized.
isUseCSS() - Method in class yext.svg.io.SVGIOHandler
Returns true if SVG element attributes will be generated as a single CSS style attribute.

K

KEY_SVG_RENDERING - Static variable in class yext.svg.view.SVGModel
Hint to request a specific rendering mode for SVG content.

L

LABEL_DETECTION_BY_SEPARATE_RENDERING - Static variable in class yext.svg.io.SVGDOMEnhancer
Label detection strategy specifier.
LABEL_DETECTION_BY_TEXT_SEARCH - Static variable in class yext.svg.io.SVGDOMEnhancer
Label detection strategy specifier.
LABEL_DETECTION_BY_WRAPPING - Static variable in class yext.svg.io.SVGDOMEnhancer
Label detection strategy specifier.

M

mainrun() - Method in class yext.svg.module.SVGOutput
 
mainrun() - Method in class yext.svg.module.SVGZOutput
 

N

nodeAddedToDOM(Node, Element) - Method in class yext.svg.io.SVGDOMEnhancer
Callback method that will be invoked whenever the given node has been added to the SVG document.
nodeLabelAddedToDOM(NodeLabel, Element) - Method in class yext.svg.io.SVGDOMEnhancer
Callback method that will be invoked whenever the given node label has been added to the SVG document.

P

paint(Graphics2D, Graph2D) - Method in class yext.svg.io.SVGDOMEnhancer
Renders the graph on the given graphics context.
paint(Graphics2D, NodeRealizer) - Method in class yext.svg.io.SVGDOMEnhancer
 
paint(Graphics2D, EdgeRealizer) - Method in class yext.svg.io.SVGDOMEnhancer
 
paint(Graphics2D, NodeRealizer, boolean) - Method in class yext.svg.io.SVGDOMEnhancer
Renders the given node realizer on the given graphics context.
paint(Graphics2D, EdgeRealizer, boolean) - Method in class yext.svg.io.SVGDOMEnhancer
Renders the given edge realizer on the given graphics context.
paint(Graphics2D, NodeRealizer) - Method in class yext.svg.io.SVGGraph2DRenderer
 
paint(Graphics2D, EdgeRealizer) - Method in class yext.svg.io.SVGGraph2DRenderer
 
paint(Graphics2D, double, double, double, double) - Method in class yext.svg.view.SVGModel
Renders the svg model to the given graphics context.
paintIcon(Component, Graphics, int, int) - Method in class yext.svg.view.SVGIcon
 
paintNode(Graphics2D) - Method in class yext.svg.view.SVGNodeRealizer
Paints the node as scalable vector graphics on the given graphics context.
paintNode(NodeRealizer, Graphics2D, boolean) - Method in class yext.svg.view.SVGPainter
Paints the SVG on the given graphics context.
paintSloppy(Graphics2D, Graph2D) - Method in class yext.svg.io.SVGDOMEnhancer
Renders the graph sloppily on the given graphics context.
paintSloppy(Graphics2D, NodeRealizer) - Method in class yext.svg.io.SVGDOMEnhancer
 
paintSloppy(Graphics2D, EdgeRealizer) - Method in class yext.svg.io.SVGDOMEnhancer
 
paintSloppy(Graphics2D, NodeRealizer) - Method in class yext.svg.io.SVGGraph2DRenderer
 
paintSloppy(Graphics2D, EdgeRealizer) - Method in class yext.svg.io.SVGGraph2DRenderer
 
parse(NodeRealizer, Node, GraphMLParseContext) - Method in class yext.svg.io.SVGNodeRealizerSerializer
 

R

read(Graph2D, InputStream) - Method in class yext.svg.io.SVGIOHandler
Throws always an UnsupportedOperationException, since canRead() == false.
read(ObjectInputStream) - Method in class yext.svg.view.SVGNodeRealizer
Reads in the serialized form of this realizer.

S

serializeSVGContent(Writer) - Method in class yext.svg.view.SVGModel
Writes the SVG definition represented by this SVGModel to the specified Writer.
setCanvasSizeAssigned(boolean) - Method in class yext.svg.io.SVGIOHandler
Sets whether or not the <svg> element of the generated file will have the canvas width and height assigned.
setGraph2DView(Graph2DView) - Method in class yext.svg.io.SVGIOHandler
 
setImageCacheEnabled(boolean) - Static method in class yext.svg.view.SVGModel
Enables or disables image caching.
setImageCacheSize(int) - Static method in class yext.svg.view.SVGModel
Sets the maximum number of images that will be cached.
setLabelDetectionStrategy(byte) - Method in class yext.svg.io.SVGDOMEnhancer
Sets the detection strategy used for DOM elements that enclose node label and edge label graphics.
setMaximumImageSize(int) - Static method in class yext.svg.view.SVGModel
Sets the maximum size of images that will be cached.
setMinimumRelativeImageSize(double) - Static method in class yext.svg.view.SVGModel
Sets the minimum relative image size for which precached image duplicates are reused.
setModel(SVGModel) - Method in class yext.svg.view.SVGIcon
Sets the underlying SVG model of this class.
setModel(SVGModel) - Method in class yext.svg.view.SVGNodeRealizer
Sets the underlying SVG model for this SVGNodeRealizer.
setModel(SVGModel) - Method in class yext.svg.view.SVGPainter
Sets the underlying SVG model of this class.
setSVGBoundsPolicy(int) - Method in class yext.svg.view.SVGModel
Sets the policy on how to determine the bounds of this svg entity.
setSVGGraph2DRenderer(SVGGraph2DRenderer) - Method in class yext.svg.io.SVGIOHandler
Sets the SVGGraph2DRenderer that will be used to render the graph.
setSVGIOHandler(SVGIOHandler) - Method in class yext.svg.io.SVGGraph2DRenderer
Sets the SVGIOHandler this renderer is working with.
setSVGRenderingHintValue(Object) - Method in class yext.svg.io.SVGIOHandler
Specifies the preferred rendering mode to be used when exporting SVG enhanced content (i.e.
setSVGURL(URL) - Method in class yext.svg.view.SVGModel
model.
setSVGURL(URL) - Method in class yext.svg.view.SVGNodeRealizer
Sets the URL of the SVG graphics that will be displayed by this realizer.
setToOriginalSize() - Method in class yext.svg.view.SVGNodeRealizer
Sets the size of this realizer to the natural size of the svg graphics being displayed.
setTopLevelGroup(Element) - Method in class yext.svg.io.SVGGraph2DRenderer
Sets the top level group element of the SVG document to which graphical representation of nodes and edges will be added.
setUseCSS(boolean) - Method in class yext.svg.io.SVGIOHandler
Specifies whether SVG element attributes should be generated as a single CSS style attribute.
SVG_BOUNDS_POLICY_COMBINED - Static variable in class yext.svg.view.SVGModel
SVG bounds policy specifier.
SVG_BOUNDS_POLICY_GEOMETRY - Static variable in class yext.svg.view.SVGModel
SVG bounds policy specifier.
SVG_BOUNDS_POLICY_VISIBLE - Static variable in class yext.svg.view.SVGModel
SVG bounds policy specifier.
SVGDOMEnhancer - Class in yext.svg.io
A SVGGraph2DRenderer that allows to enhance the svg document while it gets generated by SVGIOHandler.
SVGDOMEnhancer() - Constructor for class yext.svg.io.SVGDOMEnhancer
Creates a new instance of SVGDOMEnhancer
SVGGraph2DRenderer - Class in yext.svg.io
A special Graph2DRenderer that can be subclassed to enhance the SVG output of SVGIOHandler.
SVGGraph2DRenderer() - Constructor for class yext.svg.io.SVGGraph2DRenderer
Creates a new instance of SVGGraph2DRenderer
SVGIcon - Class in yext.svg.view
An icon implementation that can display SVG graphics
SVGIcon(URL) - Constructor for class yext.svg.view.SVGIcon
Creates a new SVGIcon that displays the SVG graphics loaded from the given URL.
SVGIcon(SVGModel) - Constructor for class yext.svg.view.SVGIcon
Creates a new SVGIcon that displays the given SVG model
SVGIcon() - Constructor for class yext.svg.view.SVGIcon
Creates a new SVGIcon that is not yet bound to any SVG model or URL.
SVGIOHandler - Class in yext.svg.io
Writes a Graph2D in SVG vector graphics format.
SVGIOHandler() - Constructor for class yext.svg.io.SVGIOHandler
Instantiates a new SVGIOHandler.
SVGModel - Class in yext.svg.view
This class encapsulates an SVG scene graph.
SVGModel() - Constructor for class yext.svg.view.SVGModel
Creates an empty svg model.
SVGModel(URL) - Constructor for class yext.svg.view.SVGModel
Creates a new model that represents the given SVG resource.
SVGModel(Reader) - Constructor for class yext.svg.view.SVGModel
Creates a new model that represents the SVG definition accessible via the specified Reader.
SVGNodeRealizer - Class in yext.svg.view
A node realizer that displays a node as a scalable vector graphics.
SVGNodeRealizer() - Constructor for class yext.svg.view.SVGNodeRealizer
Creates a new SVGNodeRealizer with no SVG graphics associated with it.
SVGNodeRealizer(SVGModel) - Constructor for class yext.svg.view.SVGNodeRealizer
Creates a new SVGIcon that displays the given SVG model.
SVGNodeRealizer(URL) - Constructor for class yext.svg.view.SVGNodeRealizer
Creates a new SVGNodeRealizer displaying the given SVG graphics.
SVGNodeRealizer(NodeRealizer) - Constructor for class yext.svg.view.SVGNodeRealizer
Creates a new SVGNodeRealizer whose attributes are copied from the given realizer.
SVGNodeRealizerSerializer - Class in yext.svg.io
Serializer for instances of SVGNodeRealizer.
SVGNodeRealizerSerializer() - Constructor for class yext.svg.io.SVGNodeRealizerSerializer
 
SVGOutput - Class in yext.svg.module
 
SVGOutput() - Constructor for class yext.svg.module.SVGOutput
 
SVGPainter - Class in yext.svg.view
A delegate painter for GenericNodeRealizer that can display SVG graphics.
SVGPainter(URL) - Constructor for class yext.svg.view.SVGPainter
Creates a new SVGPainter that displays the SVG graphics loaded from the given URL.
SVGPainter(SVGModel) - Constructor for class yext.svg.view.SVGPainter
Creates a new SVGIcon that displays the given SVG model
SVGZIOHandler - Class in yext.svg.io
Writes a Graph2D in compressed SVG vector graphics format.
SVGZIOHandler() - Constructor for class yext.svg.io.SVGZIOHandler
Instantiates a new SVGZIOHandler.
SVGZOutput - Class in yext.svg.module
 
SVGZOutput() - Constructor for class yext.svg.module.SVGZOutput
 

V

VALUE_SVG_RENDERING_DEFAULT - Static variable in class yext.svg.view.SVGModel
SVG rendering hint value -- let the implementation decide whether to use vectorization or rasterization depending on the current configuration of the caching mechanism.
VALUE_SVG_RENDERING_FORCE_RASTERIZATION - Static variable in class yext.svg.view.SVGModel
SVG rendering hint value -- force rasterization of vector graphics even if image caching is disabled or the resulting image size exceeds the SVGModel.maximumImageSize value.
VALUE_SVG_RENDERING_FORCE_VECTORIZATION - Static variable in class yext.svg.view.SVGModel
SVG rendering hint value -- force vector graphics rendering even if image caching is enabled.

W

write(Graph2D, OutputStream) - Method in class yext.svg.io.SVGIOHandler
 
write(NodeRealizer, XmlWriter, GraphMLWriteContext) - Method in class yext.svg.io.SVGNodeRealizerSerializer
 
write(Graph2D, OutputStream) - Method in class yext.svg.io.SVGZIOHandler
Write the graph in SVG format to a GZIPOutputStream
write(ObjectOutputStream) - Method in class yext.svg.view.SVGNodeRealizer
Writes out this realizer in a serialized form.
writeDocument(Node, Writer) - Method in class yext.svg.io.SVGGraph2DRenderer
 

Y

yext.svg.io - package yext.svg.io
Provides classes for reading and writing a SVG enhanced Graph2D object from/to various file formats.
yext.svg.module - package yext.svg.module
Provides so-called IO modules, that is to say classes which encapsulate application-level set-up services for the ySVG input/output handlers.
yext.svg.view - package yext.svg.view
Provides classes related to displaying Scalable Vector Graphics in various settings.

A C D E F G I K L M N P R S V W Y
© Copyright 2000-2007,
yWorks GmbH.
All rights reserved.