Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.view.graph.TrendGraph Class Reference

Public Member Functions

int addDataItem (DataItemInfo di)
 
void clearDataItem ()
 
double getBase ()
 
DataItemInfo[] getDataItemInfoList ()
 
double getExtent ()
 
XYLineGraph getGraph ()
 
RGB getGraphColor (int index)
 
int getNumDataItems ()
 
String getUnitLabel ()
 
void removeDataItem (DataItemInfo dataItemInfo)
 
void repaint ()
 
void setDataItemInfo (DataItemInfo dii)
 
void setGraph (XYLineGraph graph, LegendPanel legend)
 
void setRange (double base, double extent)
 
void setTimeRangeAndPos (double timeRange, double markerPos)
 
 TrendGraph (TrendGraphModel model, String node)
 

Static Public Attributes

static final int NOT_MATCHED = 1
 
static final int NOT_SUPPORTED = 2
 
static final int SUCCEEDED = 0
 

Private Member Functions

boolean _addDataItem (DataItemInfo dataItemInfo)
 
void _setDataItemInfo (DataItemInfo dii)
 
void _setRange (double base, double extent)
 
void _setTimeRangeAndPos (double timeRange, double markerPos)
 
void _updateDiv ()
 

Private Attributes

int colorCounter_
 
HashMap< String, DataItemInfodataItemInfoMap_
 
DataKind dataKind_
 
XYLineGraph graph_
 
TrendGraphModel model_
 
String nodeName_
 
AxisInfo xAxisInfo_
 
AxisInfo yAxisInfo_
 

Static Private Attributes

static final String[] colorTable_ = {"green", "yellow", "cyan", "magenta", "red", "blue" }
 
static final double LOG10 = Math.log(10)
 
static final double MAX_DIV = 5
 
static final int numColors_
 

Detailed Description

Author
Kernel Inc.
Version
1.0 (2001/8/20)

Definition at line 22 of file TrendGraph.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.graph.TrendGraph.TrendGraph ( TrendGraphModel  model,
String  node 
)
inline
Parameters
graphXYLineGraph
modelTrendGraphModel
nodeGraphNode

Definition at line 71 of file TrendGraph.java.

Member Function Documentation

boolean com.generalrobotix.ui.view.graph.TrendGraph._addDataItem ( DataItemInfo  dataItemInfo)
inlineprivate
Parameters
listener
listener
world
node
attribute
value
dataItemInfoDataItemInfo
Returns

Definition at line 451 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph._setDataItemInfo ( DataItemInfo  dii)
inlineprivate

Definition at line 259 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph._setRange ( double  base,
double  extent 
)
inlineprivate
Parameters
dataKindString
basedouble
extentdouble

Definition at line 509 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph._setTimeRangeAndPos ( double  timeRange,
double  markerPos 
)
inlineprivate
Parameters
timeRangedouble
markerPosdouble

Definition at line 551 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph._updateDiv ( )
inlineprivate

Definition at line 561 of file TrendGraph.java.

int com.generalrobotix.ui.view.graph.TrendGraph.addDataItem ( DataItemInfo  di)
inline
Parameters
dataKindString
basedouble
extentdouble
ai

Definition at line 143 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.clearDataItem ( )
inline

Definition at line 595 of file TrendGraph.java.

double com.generalrobotix.ui.view.graph.TrendGraph.getBase ( )
inline
Returns

Definition at line 292 of file TrendGraph.java.

DataItemInfo [] com.generalrobotix.ui.view.graph.TrendGraph.getDataItemInfoList ( )
inline
Returns
DataItemInfo[]

Definition at line 231 of file TrendGraph.java.

double com.generalrobotix.ui.view.graph.TrendGraph.getExtent ( )
inline
Returns

Definition at line 300 of file TrendGraph.java.

XYLineGraph com.generalrobotix.ui.view.graph.TrendGraph.getGraph ( )
inline

Definition at line 106 of file TrendGraph.java.

RGB com.generalrobotix.ui.view.graph.TrendGraph.getGraphColor ( int  index)
inline

Definition at line 38 of file TrendGraph.java.

int com.generalrobotix.ui.view.graph.TrendGraph.getNumDataItems ( )
inline
Returns
int

Definition at line 223 of file TrendGraph.java.

String com.generalrobotix.ui.view.graph.TrendGraph.getUnitLabel ( )
inline
Returns

Definition at line 284 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.removeDataItem ( DataItemInfo  dataItemInfo)
inline
Parameters
dataItemDataItem

Definition at line 192 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.repaint ( )
inline

Definition at line 110 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.setDataItemInfo ( DataItemInfo  dii)
inline
Returns
DataItemInfo[]

Definition at line 239 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.setGraph ( XYLineGraph  graph,
LegendPanel  legend 
)
inline

Definition at line 90 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.setRange ( double  base,
double  extent 
)
inline
Parameters
basedouble
extentdouble

Definition at line 271 of file TrendGraph.java.

void com.generalrobotix.ui.view.graph.TrendGraph.setTimeRangeAndPos ( double  timeRange,
double  markerPos 
)
inline
Parameters
timeRangedouble
markerPosdouble

Definition at line 309 of file TrendGraph.java.

Member Data Documentation

int com.generalrobotix.ui.view.graph.TrendGraph.colorCounter_
private

Definition at line 48 of file TrendGraph.java.

final String [] com.generalrobotix.ui.view.graph.TrendGraph.colorTable_ = {"green", "yellow", "cyan", "magenta", "red", "blue" }
staticprivate

Definition at line 32 of file TrendGraph.java.

HashMap<String, DataItemInfo> com.generalrobotix.ui.view.graph.TrendGraph.dataItemInfoMap_
private

Definition at line 56 of file TrendGraph.java.

DataKind com.generalrobotix.ui.view.graph.TrendGraph.dataKind_
private

Definition at line 50 of file TrendGraph.java.

XYLineGraph com.generalrobotix.ui.view.graph.TrendGraph.graph_
private

Definition at line 51 of file TrendGraph.java.

final double com.generalrobotix.ui.view.graph.TrendGraph.LOG10 = Math.log(10)
staticprivate

Definition at line 26 of file TrendGraph.java.

final double com.generalrobotix.ui.view.graph.TrendGraph.MAX_DIV = 5
staticprivate

Definition at line 25 of file TrendGraph.java.

TrendGraphModel com.generalrobotix.ui.view.graph.TrendGraph.model_
private

Definition at line 52 of file TrendGraph.java.

String com.generalrobotix.ui.view.graph.TrendGraph.nodeName_
private

Definition at line 58 of file TrendGraph.java.

final int com.generalrobotix.ui.view.graph.TrendGraph.NOT_MATCHED = 1
static

Definition at line 29 of file TrendGraph.java.

final int com.generalrobotix.ui.view.graph.TrendGraph.NOT_SUPPORTED = 2
static

Definition at line 30 of file TrendGraph.java.

final int com.generalrobotix.ui.view.graph.TrendGraph.numColors_
staticprivate

Definition at line 34 of file TrendGraph.java.

final int com.generalrobotix.ui.view.graph.TrendGraph.SUCCEEDED = 0
static

Definition at line 28 of file TrendGraph.java.

AxisInfo com.generalrobotix.ui.view.graph.TrendGraph.xAxisInfo_
private

Definition at line 54 of file TrendGraph.java.

AxisInfo com.generalrobotix.ui.view.graph.TrendGraph.yAxisInfo_
private

Definition at line 53 of file TrendGraph.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44