controlP5
Class ChartData
java.lang.Object
controlP5.ChartData
public class ChartData
- extends java.lang.Object
Used by Chart, single chart data is stored here including value, (label) text, and color.
Constructor Summary |
ChartData(float theValue)
|
ChartData(float theValue,
java.lang.String theText)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartData
public ChartData(float theValue)
ChartData
public ChartData(float theValue,
java.lang.String theText)
getColor
public int getColor()
getText
public java.lang.String getText()
getValue
public float getValue()
setColor
public void setColor(int theColor)
setText
public void setText(java.lang.String theText)
setValue
public void setValue(float theValue)
processing library controlP5 by Andreas Schlegel. (c) 2006-2012