Package mgui.interfaces.graphs.util
Class GraphFunctions.ArrowVisibility
java.lang.Object
mgui.interfaces.graphs.util.GraphFunctions.ArrowVisibility
- All Implemented Interfaces:
org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphEdge>>
- Enclosing class:
- GraphFunctions
public static class GraphFunctions.ArrowVisibility extends java.lang.Object implements org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphEdge>>
-
Field Summary
Fields Modifier and Type Field Description protected boolean
show
-
Constructor Summary
Constructors Constructor Description ArrowVisibility(boolean show)
-
Method Summary
Modifier and Type Method Description boolean
evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphEdge> context)
void
show(boolean b)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
show
protected boolean show
-
-
Constructor Details
-
ArrowVisibility
public ArrowVisibility(boolean show)
-
-
Method Details
-
show
public void show(boolean b) -
evaluate
public boolean evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphEdge> context)- Specified by:
evaluate
in interfaceorg.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphEdge>>
-