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

B

BaseServlet - Class in com.yworks.yfiles.server.tiles.servlet
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

cachedGraphs(HttpSession) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns the names of the cached graphs for the given session.
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.
closeGroup(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.demos.GroupedGraphServlet
Collape a group node.
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.tiles.demos - package com.yworks.yfiles.server.tiles.demos
This package contains examples for extending the server side of yFiles AJAX.
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.support - package com.yworks.yfiles.server.tiles.support
This package provides supporting tools for yFiles AJAX.
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.
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.
createNode(Graph2D, double, double, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
is called for creating a node.
customizeGraphMLIOHandler(GraphMLIOHandler, Graph2D) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
customization hook for subclasses.

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.handleGetRequest(HttpServletRequest,HttpServletResponse).
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.handlePostRequest(HttpServletRequest,HttpServletResponse).

E

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.
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.
escapeString(String) - Static method in class com.yworks.yfiles.server.tiles.support.JSONSupport
Escapes the given string according to the JSON format specification.

G

getDefaultEdgeRealizer() - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
gets the default realizer used to create new edges.
getDefaultFolderNodeRealizer() - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
gets the default realizer used to create new folder nodes.
getDefaultGroupNodeRealizer() - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
gets the default realizer used to create new group nodes.
getDefaultNodeRealizer() - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
gets the default realizer used to create new nodes.
getDoubleBounds(HttpSession) - Method in class com.yworks.yfiles.server.tiles.demos.TreeCollapserServlet
returns the world bounds of the current tree as a Rectangle2D.
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.
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.
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.
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.
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.
getIoHandler(String) - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
returns an IO handler suitable for handling the requested graph format.
getNodeDescription(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a description for a given node.
getNodeURL(Graph2D, Node) - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a URL for a given node.
getRequestPath(HttpServletRequest) - Method in class com.yworks.yfiles.server.tiles.demos.InfoServlet
returns the request path as an array of Strings, one for each element of the path.
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-comment-filtered".
GraphInfoProvider - Class in com.yworks.yfiles.server.tiles.servlet
This is a helper class which provides information on the currently visible graph elements and the nesting structure of the whole graph.
GroupedGraphServlet - Class in com.yworks.yfiles.server.tiles.demos
A demo servlet which incrementally adapts the layout of a grouped graph during group navigation.
GroupedGraphServlet() - Constructor for class com.yworks.yfiles.server.tiles.demos.GroupedGraphServlet
 

H

handleGetRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.demos.InfoServlet
answers "GET" requests for graph information.
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.UpdateServlet
handles "getRealizers" and "getRealizerImage" requests which do not change a server side graph, but are related to requests changing a server side graph.
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.demos.InfoServlet
calls InfoServlet.handleGetRequest(HttpServletRequest, HttpServletResponse).
handlePostRequest(HttpServletRequest, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.demos.TreeCollapserServlet
this method handles "POST" requests for this servlet.
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.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

InfoServlet - Class in com.yworks.yfiles.server.tiles.demos
This servlet provides information on a graph.
InfoServlet() - Constructor for class com.yworks.yfiles.server.tiles.demos.InfoServlet
 
init(ServletConfig) - Method in class com.yworks.yfiles.server.tiles.demos.GroupedGraphServlet
 
init() - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
calls BaseServlet.initialize().
init(ServletConfig) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
 
initialize() - Method in class com.yworks.yfiles.server.tiles.demos.TreeCollapserServlet
This method initializes the layouter objects used for redrawing the tree after an expand or collapse operation.
initialize() - Method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
is called for initializing the servlet.
initialize() - Method in class com.yworks.yfiles.server.tiles.servlet.LoaderServlet
initializes this servlet.

J

JSONSupport - Class in com.yworks.yfiles.server.tiles.support
Provides static utility methods for JSON encoding

L

LayoutServlet - Class in com.yworks.yfiles.server.tiles.servlet
This servlet handles layout requests for server side graphs.
LayoutServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.LayoutServlet
 
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.
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.
LoaderServlet - Class in com.yworks.yfiles.server.tiles.servlet
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
 

M

moveNodes(Graph2D, NodeList, double, double) - 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

newGraph() - Static method in class com.yworks.yfiles.server.tiles.servlet.BaseServlet
returns a new empty graph which already has a hierarchy manager.
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.
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.

O

openFolder(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.demos.GroupedGraphServlet
Expand a folder node.
openFolder(Graph2D, Node) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
converts the given folder node to a group node.

Q

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

R

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.

S

setDefaultEdgeRealizer(EdgeRealizer) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the default realizer used to create new edges.
setDefaultFolderNodeRealizer(NodeRealizer) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the default realizer used to create new folder nodes.
setDefaultGroupNodeRealizer(NodeRealizer) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the default realizer used to create new group nodes.
setDefaultNodeRealizer(NodeRealizer) - 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.
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.
setText(Graph2D, NodeLabel, String) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
sets the text of the given node label.
switchToSubgraph(HttpSession, String, Graph2D, Graph2D) - Method in class com.yworks.yfiles.server.tiles.demos.GroupedGraphServlet
calls the super method and then does a new layout from scratch.
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 in com.yworks.yfiles.server.tiles.servlet
This servlet serves information for displaying and interacting with a graph.
TileServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.TileServlet
 
TreeCollapserServlet - Class in com.yworks.yfiles.server.tiles.demos
This servlet implements expanding and collapsing of subtrees of a rooted tree.
TreeCollapserServlet() - Constructor for class com.yworks.yfiles.server.tiles.demos.TreeCollapserServlet
 

U

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.
UpdateServlet - Class in com.yworks.yfiles.server.tiles.servlet
This servlet performs updates on server side graphs.
UpdateServlet() - Constructor for class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
 

W

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.
writeRealizerImage(String, HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
writes an example image for the requested node type to the given response.
writeRealizers(HttpServletResponse) - Method in class com.yworks.yfiles.server.tiles.servlet.UpdateServlet
writes a list of available node realizers (node types) to the given response.
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.

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

Copyright © 2006-2008 yWorks GmbH. All rights reserved