ccvisu
Class MarkerScript.ColorCondition

java.lang.Object
  extended by 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
           
 
Constructor Summary
MarkerScript.ColorCondition(java.awt.Color c)
          Constructor
 
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
 

Field Detail

color

public java.awt.Color color

mode

public java.util.Vector<java.lang.Integer> mode

pattern

public java.util.Vector<java.lang.String> pattern
Constructor Detail

MarkerScript.ColorCondition

public MarkerScript.ColorCondition(java.awt.Color c)
Constructor

Method Detail

test

public void test(GraphVertex vertex)
if the vertex correspond to the condition, changes its color

Parameters:
vertex -