com.jme.util.stat.graph
Class TimedAreaGrapher
java.lang.Object
com.jme.util.stat.graph.AbstractStatGrapher
com.jme.util.stat.graph.TimedAreaGrapher
- All Implemented Interfaces:
- TableLinkable, StatListener
public class TimedAreaGrapher
- extends AbstractStatGrapher
- implements TableLinkable
- Author:
- Joshua Slack
Methods inherited from class com.jme.util.stat.graph.AbstractStatGrapher |
addConfig, addConfig, clearConfig, clearConfig, clearConfig, getBooleanConfig, getColorConfig, getDoubleConfig, getFloatConfig, getIntConfig, getLongConfig, getShortConfig, getStringConfig, getTexRenderer, hasConfig, isEnabled, setEnabled, setTexture |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Vertical
public static final StatType Vertical
Horizontal
public static final StatType Horizontal
graphRoot
protected Node graphRoot
horizontals
protected Line horizontals
verticals
protected Line verticals
eventCount
protected int eventCount
threshold
protected int threshold
startMarker
protected float startMarker
TimedAreaGrapher
public TimedAreaGrapher(int width,
int height)
statsUpdated
public void statsUpdated()
- Specified by:
statsUpdated
in interface StatListener
getThreshold
public int getThreshold()
setThreshold
public void setThreshold(int threshold)
updateLineKey
public Line updateLineKey(StatType type,
Line lineKey)
- Description copied from interface:
TableLinkable
- Update/Create a line to reflect the color, stipple, antialias and width
used in the other graph.
- Specified by:
updateLineKey
in interface TableLinkable
- Parameters:
type
- the StatType the Line is associated with.lineKey
- the Line we want to update values on (if null, a new Line
should be created.)
- Returns:
- the updated (or created) Line
reset
public void reset()
- Description copied from class:
AbstractStatGrapher
- Called when the graph needs to be reset back to the original display
state. (iow, remove all points, lines, etc.)
- Specified by:
reset
in class AbstractStatGrapher