org.apache.hadoop.chukwa.analysis.salsa.visualization
Class Swimlanes.SwimlanesStatePalette
java.lang.Object
org.apache.hadoop.chukwa.analysis.salsa.visualization.Swimlanes.SwimlanesStatePalette
- Enclosing class:
- Swimlanes
public static class Swimlanes.SwimlanesStatePalette
- extends Object
Provide constant mapping between state names and colours
so that even if particular states are missing, the colours are fixed
for each state
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
states
protected final String[] states
palette
protected int[] palette
Swimlanes.SwimlanesStatePalette
public Swimlanes.SwimlanesStatePalette()
getColour
public int getColour(String state_name)
getNumStates
public int getNumStates()
getStates
public String[] getStates()
Copyright © ${year} The Apache Software Foundation