|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgraph.layout.JGraphFacade
com.jgraph.layout.JGraphExampleLayoutCache.JGraphMoveSelectionFacade
public class JGraphExampleLayoutCache.JGraphMoveSelectionFacade
An example of how to override the graph facade to control the cells that are moveable by graph layouts. This example takes into account the move selection option and makes sure selected cells may (not) be moved.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jgraph.layout.JGraphFacade |
---|
com.jgraph.layout.JGraphFacade.CellVisitor, com.jgraph.layout.JGraphFacade.DefaultComparator |
Constructor Summary | |
---|---|
JGraphExampleLayoutCache.JGraphMoveSelectionFacade(org.jgraph.JGraph graph,
java.lang.Object[] roots)
|
Method Summary | |
---|---|
boolean |
isMoveable(java.lang.Object cell)
Returns true if the move Selection cells is on and the cell is not selected. |
Methods inherited from class com.jgraph.layout.JGraphFacade |
---|
bfs, circle, createNestedMap, createNestedMap, createNestedMap, dfs, dfs, dfs, disableRouting, findTreeRoots, getAttributes, getAttributes, getBounds, getBounds, getBounds, getCellBounds, getCellView, getCircleRadiusFactor, getComponents, getConnectionComponents, getDistance, getEdges, getEdges, getEdges, getEdgesBetween, getGraphBounds, getGraphOrigin, getGroupHierarchies, getIncomingEdges, getLength, getLocation, getLocations, getMaxSize, getMinimumSpanningTree, getNeighbours, getNeighbours, getOrder, getOutgoingEdges, getPath, getPoints, getRootAt, getRootCount, getRoots, getSize, getSource, getSourcePort, getTarget, getTargetPort, getUnconnectedVertices, getVertices, getVertices, getVerticesFilter, isDirected, isEdge, isEdgePromotion, IsIgnoresCellsInGroups, isIgnoresHiddenCells, isIgnoresUnconnectedCells, isOrdered, isRoot, isVertex, norm, randomize, resetControlPoints, resetControlPoints, run, scale, scale, setAttributes, setAttributes, setBounds, setBounds, setBounds, setCircleRadiusFactor, setDirected, setEdgePromotion, setGroupHierarchies, setIgnoresCellsInGroups, setIgnoresHiddenCells, setIgnoresUnconnectedCells, setLocation, setLocation, setLocations, setLoggerLevel, setOrder, setOrdered, setPoints, setRoots, setSize, setVerticesFilter, tilt, translate, translateCells |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JGraphExampleLayoutCache.JGraphMoveSelectionFacade(org.jgraph.JGraph graph, java.lang.Object[] roots)
graph
- Method Detail |
---|
public boolean isMoveable(java.lang.Object cell)
isMoveable
in class com.jgraph.layout.JGraphFacade
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |