A B C D E G H I J L M N O P Q R S T U V W

A

ActionContext - class com.yworks.yfiles.server.tiles.servlet.action.ActionContext.
This class implements an immutable object which contains the client side context for a server side action.
ActionContext(HttpServletRequest) - Constructor for class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
creates a new instance from the client side request.
ActionHandler - interface com.yworks.yfiles.server.tiles.servlet.action.ActionHandler.
This is the interface to be implemented by custom actions.
ActionServlet - class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet.
The action servlet dispatches custom actions to handlers.
ActionServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
 
addMember(String, String, boolean, boolean) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a member to the object represented by the string available via JSONStringBuilder.getJSONString().
addMember(String, String) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
performs addMember(key, value, true, true).
addMember(String, Rectangle) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a new member with a rectangle value to the object represented by the string available via JSONStringBuilder.getJSONString().
addMember(String, YPoint) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a new member with a point value to the object represented by the string available via JSONStringBuilder.getJSONString().
addMember(String, boolean) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a new member with a boolean value to the object represented by the string available via JSONStringBuilder.getJSONString().
addMember(String, int) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a new member with an integer value to the object represented by the string available via JSONStringBuilder.getJSONString().
addMember(String, double) - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
adds a new member with a double value to the object represented by the string available via JSONStringBuilder.getJSONString().
addViewConfigurator(Graph2D, ViewConfigurator) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
adds the view configurator for the given graph.
addVisitor(SVGGraphVisitor) - Method in class com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer
Adds a new SVGGraphVisitor to the chain of visitors.
adjustPortOffsets(Graph2D, Node, double, double, double, double) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
 

B

BaseServlet - class com.yworks.yfiles.server.tiles.servlet.BaseServlet.
This is an abstract base class for the servlets in the yFiles AJAX servlet package.
BaseServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.BaseServlet
 

C

ClientControl - class com.yworks.yfiles.server.tiles.servlet.action.ClientControl.
This class provides facilities for controlling the client side post-processing after a server side custom action has been performed.
ClientControl(ActionContext) - Constructor for class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
creates a new instance from the given context.
ConfigListener - class com.yworks.yfiles.server.tiles.servlet.ConfigListener.
 
ConfigListener() - Constructor for class com.yworks.yfiles.server.tiles.servlet.ConfigListener
 
cacheGraph(HttpSession, String, Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
caches the given graph for the given name in the given session.
cachedGraphs(HttpSession) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns the names of the cached graphs for the given session.
canRedo(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Returns whether a redo can be performed for the given graph.
canUndo(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Returns whether an undo can be performed for the given graph.
closeGroup(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
converts the given group node to a folder node.
com.yworks.yfiles.server.svg - package com.yworks.yfiles.server.svg
 
com.yworks.yfiles.server.tiles.servlet - package com.yworks.yfiles.server.tiles.servlet
This package provides the core server components for yFiles AJAX.
com.yworks.yfiles.server.tiles.servlet.action - package com.yworks.yfiles.server.tiles.servlet.action
This package provides the server side classes for the action framework.
com.yworks.yfiles.server.tiles.support - package com.yworks.yfiles.server.tiles.support
This package provides supporting tools for yFiles AJAX.
configureRewriteRenderer(SVGGraph2DRewriteRenderer, SVGRenderContext) - Method in class com.yworks.yfiles.server.svg.SVGServlet
Registers the SVGIdRewriteGraphVisitor if there is a prefix.
configureView(Graph2DView) - Method in interface com.yworks.yfiles.server.tiles.servlet.ViewConfigurator
configures the given view.
contextDestroyed(ServletContextEvent) - Method in class com.yworks.yfiles.server.tiles.servlet.ConfigListener
 
contextInitialized(ServletContextEvent) - Method in class com.yworks.yfiles.server.tiles.servlet.ConfigListener
 
createContext(HttpServletRequest) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
creates a new action context instance from the given request.
createControl(ActionContext) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
creates a new client control instance from an action context.
createEdge(Graph2D, Node, Node, int) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
is called for creating a new edge.
createFolderName(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
is used to provide a an initial name for a newly created folder node.
createFolderNode(Graph2D, double, double, String, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
creates a new folder node.
createGroupName(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
is used to provide a an initial name for a newly created group node.
createGroupNode(Graph2D, double, double, String, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
creates a new group node.
createJSONResponse() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
constructs a JSON string from the current settings and returns it.
createLayouter(HttpServletRequest, Graph2D, boolean, Object) - Method in class com.yworks.yfiles.server.tiles.servlet.LayoutServlet
returns a layouter to do the layout of the given graph as specified by the request.
createNewId(String) - Method in class com.yworks.yfiles.server.svg.SVGIdRewriteGraphVisitor
Creates a new ID given the old one.
createNode(Graph2D, double, double, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
is called for creating a node.
createSVGIOHandler() - Method in class com.yworks.yfiles.server.svg.SVGServlet
Creates a new SVGIOHandler.
createUndoManager(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Creates and returns a new undo manager for the given graph.
customizeGraphMLIOHandler(GraphMLIOHandler, Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
customization hook for subclasses.

D

DEFAULT_PAINT_DETAIL_THRESHOLD - Static variable in class com.yworks.yfiles.server.tiles.servlet.TileServlet
The default value used if no parameter for "paintDetailThreshold" was submitted.
DEFAULT_SVG_BORDER - Static variable in class com.yworks.yfiles.server.svg.SVGServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.handleGetRequest(HttpServletRequest,HttpServletResponse).
doLayout(Graph2D, Layouter) - Method in class com.yworks.yfiles.server.tiles.servlet.LayoutServlet
does the actual layout.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.handlePostRequest(HttpServletRequest,HttpServletResponse).
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
calls the appropriate action handler for the request and writes the response.

E

EDGES - Static variable in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
Flag used in GraphInfoProvider.writeViewInfo(PrintWriter, Graph2D, double, double, double, double, int): write info for edges.
EDGE_DESCRIPTION_KEY - Static variable in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
DataProvider key used for BaseServlet.setEdgeDescription(y.view.Graph2D, y.base.Edge, String) and BaseServlet.getEdgeDescription(y.view.Graph2D, y.base.Edge)
EDGE_LABELS - Static variable in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
Flag used in GraphInfoProvider.writeViewInfo(PrintWriter, Graph2D, double, double, double, double, int): write info for edge labels.
EDGE_URL_KEY - Static variable in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
DataProvider key used for BaseServlet.setEdgeURL(y.view.Graph2D, y.base.Edge, String) and BaseServlet.getEdgeURL(y.view.Graph2D, y.base.Edge)
escapeString(String) - Static method in class com.yworks.yfiles.server.tiles.support.JSONSupport
Escapes the given string according to the JSON format specification.
escapeStringNoQuotes(String) - Static method in class com.yworks.yfiles.server.tiles.support.JSONSupport
Escapes the given string according to the JSON format specification.

G

GenericGroupNodeStateLabelProvider - interface com.yworks.yfiles.server.tiles.support.GenericGroupNodeStateLabelProvider.
This interface provides access to the state label of a group node.
GraphInfoProvider - class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider.
This is a helper class which provides information on the currently visible graph elements and the nesting structure of the whole graph.
getActionHandler(String) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
returns the action handler registered for the given id.
getBorder() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
Returns the value of the "border" parameter from the HTTP request or the SVGServlet.DEFAULT_SVG_BORDER if no or an illegal value is specified.
getClientSize() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the size of the client side canvas in view coordinates, if available.
getCustomParameter() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the custom parameter specified on the client side, if available.
getCustomResponse() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the custom response to be sent to the client.
getDefaultEdgeRealizer() - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Gets the default realizer used to create new edges.
getDefaultFolderNodeRealizer() - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Gets the default realizer used to create new folder nodes.
getDefaultGroupNodeRealizer() - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Gets the default realizer used to create new group nodes.
getDefaultNodeRealizer() - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Gets the default realizer used to create new nodes.
getEdgeDescription(Graph2D, Edge) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a description for a given edge.
getEdgeURL(Graph2D, Edge) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a URL for a given edge.
getEdges() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the edges, which were specified on the client side.
getEdges() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the set of edges, for which the corresponding ids will be sent to the client.
getForId(Graph2D, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a graph element (node, edge, node label or edge label) for a given graph and an id or null, if not found.
getGraph(HttpSession, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns the graph cached for the given session and name or null, if not found.
getGraph() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the graph for the action, if available.
getGraph() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the graph.
getGraphBounds(HttpSession, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns the bounds of the cached graph for the given name and session or null, if not found.
getGraphBoundsMargin() - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Get the margin that is added to the graph bounds reported in the servlet response.
getGraphContentBounds(HttpSession, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns the content bounds of the cached graph for the given name and session or null, if not found.
getGraphName() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the name of the graph for the action, if available.
getGraphName() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the graph name.
getGraphResourceStream(String) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
returns an input stream for reading a requested graph.
getHierarchyInfoJSON(HierarchyManager) - Static method in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
returns a JSON string containing information on the given hierarchy.
getHitInfoJSON(Graph2D, int, double, double, double, double) - Static method in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
returns a JSON string containing information on the bounds of the graph elements.
getHitTypes() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the event mask of the hit test available at the client side or 0.
getHitTypes() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the event types mask for the client side hit test.
getId(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns a unique ID for the given node of the given graph.
getId(Graph2D, NodeLabel) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns a unique ID for the given node label of the given graph.
getId(Graph2D, Edge) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns a unique ID for the given edge of the given graph.
getId(Graph2D, EdgeLabel) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns a unique ID for the given edge label of the given graph.
getIdPrefix() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
Returns the prefix parameter from the HTTP request.
getIoHandler(String) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
returns an IO handler suitable for handling the requested graph format.
getJSONString() - Method in class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
returns the string in JSON format for an object with all the members added by addMember calls.
getMousePosition() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the mouse position in world coordinates on the client side, if available.
getNodeDescription(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a description for a given node.
getNodeRealizer(String) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Returns the node realizer registered for the given symbolic name or null.
getNodeRealizerTypes() - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Returns the symbolic names of all registered node realizers.
getNodeURL(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a URL for a given node.
getNodes() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the nodes, which were specified on the client side.
getNodes() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the set of nodes, for which the corresponding ids will be sent to the client.
getPaintDetailThreshold() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
 
getReadWriteLock(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Get the ReadWriteLock instance associated with the provided graph.
getRequest() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
Returns the HTTP request.
getRequest() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the request that triggered the action.
getSession() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the session of the request that triggered the action.
getSession() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the session of the request that triggered the action.
getSessionMonitor(HttpSession) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns a monitor object attached to the provided session that can be used to synchronize on the session.
getStateLabel(NodeRealizer) - Method in interface com.yworks.yfiles.server.tiles.support.GenericGroupNodeStateLabelProvider
Returns the state label of this realizer.
getStateLabel(NodeRealizer) - Method in class com.yworks.yfiles.server.tiles.support.StateLabelProviderPainter
Returns the state label of this realizer.
getUndoManager(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Returns the undo manager for the given graph.
getView() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
Returns the Graph2DView.
getViewConfigurators(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
 
getViewPoint() - Method in class com.yworks.yfiles.server.tiles.support.ViewPort
 
getViewPort() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns the view port of the canvas on the client side, if available.
getViewPort() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns the view port to be sent to the client.
getWriter(HttpServletResponse) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a PrintWriter for the given response with content type "text/json".
getZoom() - Method in class com.yworks.yfiles.server.svg.SVGRenderContext
Returns the zoom from the HTTP request or 1.0 if the zoom parameter is not specified in the request or has an illegal format.
getZoom() - Method in class com.yworks.yfiles.server.tiles.support.ViewPort
 

H

handleAction(ActionContext, ClientControl) - Method in interface com.yworks.yfiles.server.tiles.servlet.action.ActionHandler
custom action handlers are called using this method.
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.svg.SVGServlet
Returns the requested graph in svg format.
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
handles GET requests.
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
calls LoaderServlet.handlePostRequest(HttpServletRequest,HttpServletResponse).
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.QueryServlet
answers "GET" requests of kind "getWorldBounds", "getViewInfo" and "getHierarchyInfo".
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.TileServlet
answers "GET" requests of kind "getWorldBounds", "getElementBounds" and "getImage".
handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
handles "isUndoRedoEnabled" and "canUndoRedo" requests.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.svg.SVGServlet
Redirects to SVGServlet.handleGetRequest.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
handles POST requests.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.LayoutServlet
handles "layout" requests.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
handles "downloadableFormats", "downloadGraph", "loadGraph" and "loadableGraphs" requests.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.TileServlet
calls TileServlet.handleGetRequest(HttpServletRequest, HttpServletResponse).
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
handles "setUndoRedoEnabled", "undo" and "redo" requests.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
handles update requests.
hasDescriptions(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns true, if there is a data provider for descriptions for the given graph.
hasURLs(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns true, if there is a data provider for URLs for the given graph.

I

INIT_PARAM_CONFIGURE_REALIZERS - Variable in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
 
init() - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.initialize().
initialize() - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Deprecated. use init() instead.
initialize() - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
initializes this servlet.
isCanvasPresent() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns whether a canvas instance is available on the client side.
isEval() - Static method in class com.yworks.yfiles.server.tiles.servlet.LicenseFacade
 
isHierarchyPresent() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns whether a hierarchy manager is available at the client side.
isHitTestPresent() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns whether a hit test is available at the client side.
isRefreshCanvas() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns whether the client canvas should be refreshed after the performing the server side action.
isSelectionPresent() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionContext
returns whether a selection is available at the client side.
isUndoRedoEnabled(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Returns whether undo/redo is enabled for the given graph.
isUpdateHierarchy() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns whether the client side hierarchy data should be updated after the performing the server side action.
isUpdateHitTest() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns whether the client side hit test data should be updated after the performing the server side action
isUpdateSelection() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns whether the client side selection should be updated after the performing the server side action.
isUpdateWorldBounds() - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
returns whether the client side world bounds should be updated after the performing the server side action.
isUseJSONPrefixing() - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
 
isUseJSONPrefixing() - Static method in class com.yworks.yfiles.server.tiles.servlet.ConfigListener
 

J

JSONStringBuilder - class com.yworks.yfiles.server.tiles.support.JSONStringBuilder.
This class can be used to build a string which represents an object in JSON format.
JSONStringBuilder() - Constructor for class com.yworks.yfiles.server.tiles.support.JSONStringBuilder
creates a new instance representing an empty JSON object.
JSONSupport - class com.yworks.yfiles.server.tiles.support.JSONSupport.
Provides static utility methods for JSON encoding

L

LOADABLE_GRAPHS_LIST - Variable in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
"/resources/graphs/loadable-graphs.json": resource containing a list of graphs, which can be loaded.
LayoutServlet - class com.yworks.yfiles.server.tiles.servlet.LayoutServlet.
This servlet handles layout requests for server side graphs.
LayoutServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.LayoutServlet
 
LicenseFacade - class com.yworks.yfiles.server.tiles.servlet.LicenseFacade.
 
LoaderServlet - class com.yworks.yfiles.server.tiles.servlet.LoaderServlet.
This servlet loads graphs from server side files, caches them and allows the download of cached graphs.
LoaderServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
 
loadableGraphs(HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
writes the symbolic names of the loadable graphs as a JSON string to the given response.
lookupId(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns the id that is assigned to the provided node, or null if no id was assigned yet.
lookupId(Graph2D, Edge) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns the id that is assigned to the provided edge, or null if no id was assigned yet.
lookupId(Graph2D, NodeLabel) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns the id that is assigned to the provided label, or null if no id was assigned yet.
lookupId(Graph2D, EdgeLabel) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Returns the id that is assigned to the provided edge label, or null if no id was assigned yet.

M

moveBends(BendList, double, double) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
moves the given bends by the given offset.
moveNodes(Graph2D, NodeList, double, double, int) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Moves a set of nodes by the given vector.
moveToSubgraph(Graph2D, Node, NodeList) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
moves a set of nodes to the inner graph of the given parent folder or group node.

N

NODES - Static variable in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
Flag used in GraphInfoProvider.writeViewInfo(PrintWriter, Graph2D, double, double, double, double, int): write info for nodes.
NODE_DESCRIPTION_KEY - Static variable in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
DataProvider key used for BaseServlet.setNodeDescription(y.view.Graph2D, y.base.Node, String) and BaseServlet.getNodeDescription(y.view.Graph2D, y.base.Node)
NODE_LABELS - Static variable in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
Flag used in GraphInfoProvider.writeViewInfo(PrintWriter, Graph2D, double, double, double, double, int): write info for node labels.
NODE_URL_KEY - Static variable in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
DataProvider key used for BaseServlet.setNodeURL(y.view.Graph2D, y.base.Node, String) and BaseServlet.getNodeURL(y.view.Graph2D, y.base.Node)
newGraph() - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a new empty graph which already has a hierarchy manager.

O

onWriteFinished() - Method in class com.yworks.yfiles.server.tiles.support.ReadWriteLock
Called when unlockWrite() has been called for the last active writer.
openFolder(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
converts the given folder node to a group node.

P

pointString(YPoint) - Static method in class com.yworks.yfiles.server.tiles.support.JSONSupport
returns a string in JSON format for the given point.

Q

QueryServlet - class com.yworks.yfiles.server.tiles.servlet.QueryServlet.
This servlet serves information for interacting with a graph.
QueryServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.QueryServlet
 

R

ReadWriteLock - class com.yworks.yfiles.server.tiles.support.ReadWriteLock.
A ReadWriteLock instance can be used to manage read and write access such that simultaneous read access is allowed, but only a single thread is allowed to write.
ReadWriteLock() - Constructor for class com.yworks.yfiles.server.tiles.support.ReadWriteLock
 
readLock(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Aquire a read lock for the provided graph.
readLock() - Method in class com.yworks.yfiles.server.tiles.support.ReadWriteLock
Acquire a read lock.
rectangleString(Rectangle) - Static method in class com.yworks.yfiles.server.tiles.support.JSONSupport
returns a string in JSON format for the given rectangle.
redo(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
reverts the last undo for the given graph.
registerActionHandler(String, ActionHandler) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ActionServlet
registers an action handler instance for an id.
registerLicense(String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Register the yFiles AJAX license data as an xml string.
registerLicense(String) - Static method in class com.yworks.yfiles.server.tiles.servlet.LicenseFacade
 
registerNodeRealizer(String, NodeRealizer) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Registers the given node realizers for the given symbolic name.
removeEdge(Graph2D, Edge) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
removes the given edge from the graph.
removeEdgeLabel(Graph2D, EdgeLabel) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
removes the given edge label from the graph.
removeNode(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
removes the given node from the graph.
removeNodeLabel(Graph2D, NodeLabel) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
removes the given node label from the graph.
removeViewConfigurator(Graph2D, ViewConfigurator) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
removes the view configurator for the given graph.
removeVisitor(SVGGraphVisitor) - Method in class com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer
Removes the given visitor from the chain of visitors.
resizeNodes(Graph2D, NodeList, String, double, double, int) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
resizes a set of nodes by given deltas.
routeEdges(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
routes the edges of the given graph specified by the data provider with the key Layouter.SELECTED_EDGES.

S

SVGGraph2DRewriteRenderer - class com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer.
This class visits all nodes in the generated SVG document after it has been created and delegates to registered visitors so that they can make modifications on the nodes and their attributes.
SVGGraph2DRewriteRenderer() - Constructor for class com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer
Creates a new instance of the SVGGraph2DRewriteRenderer.
SVGGraphVisitor - interface com.yworks.yfiles.server.svg.SVGGraphVisitor.
Classes implementing this interface can be registered on a SVGGraph2DRewriteRenderer and the SVGGraphVisitor.visitNode(org.w3c.dom.Node) and SVGGraphVisitor.visitAttribute(org.w3c.dom.Attr) will be executed on all nodes and their attributes.
SVGIdRewriteGraphVisitor - class com.yworks.yfiles.server.svg.SVGIdRewriteGraphVisitor.
This implementation of SVGGraphVisitor rewrites all IDs in the SVG document to include a prefix.
SVGIdRewriteGraphVisitor(SVGRenderContext) - Constructor for class com.yworks.yfiles.server.svg.SVGIdRewriteGraphVisitor
Creates a new SVGIDRewriteGraphVisitor for the given context.
SVGRenderContext - class com.yworks.yfiles.server.svg.SVGRenderContext.
Instances of this class contain information required to generate the SVG image.
SVGRenderContext(HttpServletRequest, Graph2DView) - Constructor for class com.yworks.yfiles.server.svg.SVGRenderContext
Creates a new instance of this class.
SVGServlet - class com.yworks.yfiles.server.svg.SVGServlet.
This Servlet serves a graph as SVG.
SVGServlet() - Constructor for class com.yworks.yfiles.server.svg.SVGServlet
 
StateLabelProviderPainter - class com.yworks.yfiles.server.tiles.support.StateLabelProviderPainter.
This GroupNodePainter extends the default GroupNodePainter by making available its state label, thus implementing the GenericGroupNodeStateLabelProvider interface.
StateLabelProviderPainter() - Constructor for class com.yworks.yfiles.server.tiles.support.StateLabelProviderPainter
 
setCustomResponse(String) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the custom response to be sent to the client.
setDefaultEdgeRealizer(EdgeRealizer) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Sets the default realizer used to create new edges.
setDefaultFolderNodeRealizer(NodeRealizer) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Sets the default realizer used to create new folder nodes.
setDefaultGroupNodeRealizer(NodeRealizer) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Sets the default realizer used to create new group nodes.
setDefaultNodeRealizer(NodeRealizer) - Static method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Sets the default realizer used to create new nodes.
setEdgeDescription(Graph2D, Edge, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
sets the description for a given edge.
setEdgeURL(Graph2D, Edge, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
sets the URL for a given edge.
setEdges(EdgeList) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the set of edges, for which the corresponding ids will be sent to the client.
setGraph(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the graph.
setGraphBoundsMargin(int) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
Set the margin that is added to the graph bounds reported in the servlet response.
setHitTypes(int) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the event types mask for the client side hit test.
setLabelText(Graph2D, Node, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the text of the first label of the given node.
setNodeDescription(Graph2D, Node, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
sets the description for a given node.
setNodeURL(Graph2D, Node, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
sets the URL for a given node.
setNodes(NodeList) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the set of nodes, for which the corresponding ids will be sent to the client.
setRefreshCanvas(boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets whether the client canvas should be refreshed after the performing the server side action.
setSession(HttpSession) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the session.
setText(Graph2D, NodeLabel, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the text of the given node label.
setUndoRedoEnabled(Graph2D, boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
Sets whether undo/redo is enabled for the given graph.
setUpdateHierarchy(boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets whether the client side hierarchy data should be updated after the performing the server side action.
setUpdateHitTest(boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets whether the client side hit test data should be updated after the performing the server side action.
setUpdateSelection(boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets whether the client side selection should be updated after the performing the server side action.
setUpdateWorldBounds(boolean) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets whether the client side world bounds should be updated after the performing the server side action.
setViewPoint(YPoint) - Method in class com.yworks.yfiles.server.tiles.support.ViewPort
sets the view point of this ViewPort.
setViewPort(ViewPort) - Method in class com.yworks.yfiles.server.tiles.servlet.action.ClientControl
sets the view port to be sent to the client.
setZoom(double) - Method in class com.yworks.yfiles.server.tiles.support.ViewPort
sets the zoom level of this ViewPort.
switchToSubgraph(HttpSession, String, Graph2D, Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
switches from an old subgraph to a new subgraph in the same hierarchically organized graph (structure).

T

TileServlet - class com.yworks.yfiles.server.tiles.servlet.TileServlet.
This servlet serves information for displaying and interacting with a graph.
TileServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.TileServlet
 

U

UndoServlet - class com.yworks.yfiles.server.tiles.servlet.UndoServlet.
This servlet handles requests related to undo/redo.
UndoServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.UndoServlet
 
UpdateServlet - class com.yworks.yfiles.server.tiles.servlet.UpdateServlet.
This servlet performs updates on server side graphs.
UpdateServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
 
uncacheGraph(HttpSession, String) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
removes the graph cached for the given name from the cache for the given session.
undo(Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.UndoServlet
reverts the last change for the given graph.
unlockRead(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Release a read lock that has been aquired for the provided graph.
unlockRead() - Method in class com.yworks.yfiles.server.tiles.support.ReadWriteLock
Release a read lock that has been acquired using ReadWriteLock.readLock().
unlockWrite(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Release a write lock that has been aquired for the provided graph.
unlockWrite() - Method in class com.yworks.yfiles.server.tiles.support.ReadWriteLock
Release a write lock that has been acquired using ReadWriteLock.writeLock().
updateEdgePaths(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Make sure that the edge realizers are not dirty.

V

ViewConfigurator - interface com.yworks.yfiles.server.tiles.servlet.ViewConfigurator.
Instances of a class implementing this interface can be set for a graph using the corresponding methods in the BaseServlet.
ViewPort - class com.yworks.yfiles.server.tiles.support.ViewPort.
This object contains the view point and the zoom of the client side canvas.
ViewPort(YPoint, double) - Constructor for class com.yworks.yfiles.server.tiles.support.ViewPort
creates a new ViewPort instance from the given view point and zoom level.
validateIds(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Make sure that a unique id is assigned to all nodes, edges, node labels and edge labels.
visitAttribute(Attr) - Method in interface com.yworks.yfiles.server.svg.SVGGraphVisitor
Invoked on every attribute of every node of the generated SVG Document.
visitAttribute(Attr) - Method in class com.yworks.yfiles.server.svg.SVGIdRewriteGraphVisitor
Replaces ID values with a prefixed version.
visitNode(Node) - Method in interface com.yworks.yfiles.server.svg.SVGGraphVisitor
Invoked on every node of the generated SVG Document.
visitNode(Node) - Method in class com.yworks.yfiles.server.svg.SVGIdRewriteGraphVisitor
Does nothing.

W

writeContentBounds(String, HttpServletRequest, HttpServletResponse) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
 
writeDocument(Node, Writer) - Method in class com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer
 
writeHierarchyInfo(PrintWriter, Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
writes information on the nesting structure of the nodes of a graph to an output stream.
writeLock(Graph2D) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
Acquire a write lock for the provided graph.
writeLock() - Method in class com.yworks.yfiles.server.tiles.support.ReadWriteLock
Acquire a write lock.
writeViewInfo(PrintWriter, Graph2D, double, double, double, double, int) - Static method in class com.yworks.yfiles.server.tiles.servlet.GraphInfoProvider
writes information on the currently visible graph elements to an output stream in JSON format.
writeWorldBounds(String, HttpServletRequest, HttpServletResponse) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
writes the world bounds of the graph with the given name cached for the session of the given request to the given response in JSON format.

A B C D E G H I J L M N O P Q R S T U V W

Copyright © 2006-2013 yWorks GmbH. All rights reserved