artisynth.core.probes
Class PlotTraceInfo
java.lang.Object
artisynth.core.probes.PlotTraceInfo
public class PlotTraceInfo
- extends java.lang.Object
Stores information used in plotting a specific trace for a NumericProbe
vector.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlotTraceInfo
public PlotTraceInfo()
PlotTraceInfo
public PlotTraceInfo(int order,
java.lang.String label,
java.awt.Color color,
boolean visible)
numPalatteColors
public static int numPalatteColors()
getPaletteColors
public static artisynth.core.probes.PlotTraceInfo.TraceColor[] getPaletteColors()
getPaletteColor
public static java.awt.Color getPaletteColor(java.lang.String name)
getOrder
public int getOrder()
setOrder
public void setOrder(int order)
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color color)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean visible)
scanItem
public boolean scanItem(ReaderTokenizer rtok)
throws java.io.IOException
- Throws:
java.io.IOException
scan
public void scan(ReaderTokenizer rtok)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.io.PrintWriter pw)