com.jme.util.stat.graph
Class TabledLabelGrapher

java.lang.Object
  extended by com.jme.util.stat.graph.AbstractStatGrapher
      extended by com.jme.util.stat.graph.TabledLabelGrapher
All Implemented Interfaces:
StatListener

public class TabledLabelGrapher
extends AbstractStatGrapher

Author:
Joshua Slack

Nested Class Summary
static class TabledLabelGrapher.ConfigKeys
           
(package private)  class TabledLabelGrapher.LabelEntry
           
 
Field Summary
protected  Quad bgQuad
           
protected  int columns
           
static int DEFAULT_DECIMALS
           
protected  BlendState defBlendState
           
protected  int eventCount
           
protected  Node graphRoot
           
protected  int threshold
           
 
Fields inherited from class com.jme.util.stat.graph.AbstractStatGrapher
config, enabled, gHeight, gWidth, tex, texRenderer
 
Constructor Summary
TabledLabelGrapher(int width, int height)
           
 
Method Summary
 int getColumns()
           
 int getThreshold()
           
 boolean isMinimalBackground()
           
 void linkTo(AbstractStatGrapher grapher)
           
 void reset()
          Called when the graph needs to be reset back to the original display state.
 void setColumns(int columns)
           
 void setMinimalBackground(boolean minimalBackground)
           
 void setThreshold(int threshold)
           
 void statsUpdated()
           
 
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
 

Field Detail

DEFAULT_DECIMALS

public static int DEFAULT_DECIMALS

graphRoot

protected Node graphRoot

eventCount

protected int eventCount

threshold

protected int threshold

columns

protected int columns

bgQuad

protected Quad bgQuad

defBlendState

protected BlendState defBlendState
Constructor Detail

TabledLabelGrapher

public TabledLabelGrapher(int width,
                          int height)
Method Detail

statsUpdated

public void statsUpdated()

getThreshold

public int getThreshold()

setThreshold

public void setThreshold(int threshold)

getColumns

public int getColumns()

setColumns

public void setColumns(int columns)

isMinimalBackground

public boolean isMinimalBackground()

setMinimalBackground

public void setMinimalBackground(boolean minimalBackground)

linkTo

public void linkTo(AbstractStatGrapher grapher)

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