|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vinculumtech.carrierwave.plan.GraphNodeHelper
The GraphNodeHelper provides utilites for use with GraphNode instances.
| Method Summary | |
static GraphNode |
cloneGraphNode(GraphNode graphNode)
Safely clones the given GraphNode instance. |
static GraphNode |
findPeerNodeFor(GraphNodeSet graphNodeSet,
Image image)
|
static java.util.Comparator |
getNodeDepthComparator()
Returns a comparator that orders GraphNode elements in descending order. |
static boolean |
isNodeDependent(GraphNode graphNode)
Returns true if the given GraphNode instance is a dependent type or literal. |
static boolean |
isNodeOfThisType(GraphNode graphNode,
Image image)
|
static GraphNode |
makeGraphNodeFor(Icon icon)
|
static void |
sortGraphNodes(java.util.List graphNodes)
Sorts the given List of GraphNode instances by depth, in descending order. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final GraphNode makeGraphNodeFor(Icon icon)
icon -
public static final void sortGraphNodes(java.util.List graphNodes)
graphNodes - public static final boolean isNodeDependent(GraphNode graphNode)
graphNode -
public static final boolean isNodeOfThisType(GraphNode graphNode,
Image image)
throws GraphException
image -
GraphException
public static final GraphNode findPeerNodeFor(GraphNodeSet graphNodeSet,
Image image)
throws GraphException
GraphExceptionpublic static final java.util.Comparator getNodeDepthComparator()
public static final GraphNode cloneGraphNode(GraphNode graphNode)
graphNode -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||