Package mgui.interfaces.graphs.util
Class GraphFunctions.NodeVisibility
java.lang.Object
mgui.interfaces.graphs.util.GraphFunctions.NodeVisibility
- All Implemented Interfaces:
org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<AbstractGraphNode,AbstractGraphEdge>,AbstractGraphNode>>
- Enclosing class:
- GraphFunctions
public static class GraphFunctions.NodeVisibility 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>,AbstractGraphNode>>
-
Field Summary
Fields Modifier and Type Field Description protected boolean
show
-
Constructor Summary
Constructors Constructor Description NodeVisibility(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>,AbstractGraphNode> 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
-
NodeVisibility
public NodeVisibility(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>,AbstractGraphNode> 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>,AbstractGraphNode>>
-