|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statistic
Defines an interface for a statistic. Statistics provide numeric value streams that are often associated with a chart. They can be listened to.
Field Summary | |
---|---|
static int |
DRAW_DISCRETE
|
static int |
DRAW_LINEAR
|
static int |
DRAW_SAMPLEHOLD
|
static double |
UNSET
|
Method Summary | |
---|---|
boolean |
addListener(StatisticListener listener)
Add a listener. |
void |
clearListeners()
Clear all listeners. |
String |
getDescription()
Get a description of the statistic. |
int |
getDrawStyle()
Get the preferred draw style. |
String |
getName()
Get the name of the statistic. |
String |
getOrdinateDescription()
Get the ordinate description. |
double |
getValue()
Get the current value of the passed statistic. |
boolean |
hasListeners()
Does the statistic have listeners? |
boolean |
removeListener(StatisticListener listener)
Remove a listener. |
Field Detail |
---|
static final int DRAW_LINEAR
static final int DRAW_DISCRETE
static final int DRAW_SAMPLEHOLD
static final double UNSET
Method Detail |
---|
String getName()
String getDescription()
String getOrdinateDescription()
int getDrawStyle()
double getValue()
boolean addListener(StatisticListener listener)
boolean removeListener(StatisticListener listener)
void clearListeners()
boolean hasListeners()
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |