ccvisu
Class MarkerScript.ColorCondition
java.lang.Object
ccvisu.MarkerScript.ColorCondition
- Enclosing class:
- MarkerScript
protected class MarkerScript.ColorCondition
- extends java.lang.Object
Objects containing a color and a list of conditions
- Author:
- Damien Zufferey
Field Summary |
java.awt.Color |
color
|
java.util.Vector<java.lang.Integer> |
mode
|
java.util.Vector<java.lang.String> |
pattern
|
Method Summary |
void |
test(GraphVertex vertex)
if the vertex correspond to the condition, changes its color |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
color
public java.awt.Color color
mode
public java.util.Vector<java.lang.Integer> mode
pattern
public java.util.Vector<java.lang.String> pattern
MarkerScript.ColorCondition
public MarkerScript.ColorCondition(java.awt.Color c)
- Constructor
test
public void test(GraphVertex vertex)
- if the vertex correspond to the condition, changes its color
- Parameters:
vertex
-