Class PenData
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.easychart.PenData
PenData represents the data for a single pen. It is backed by a 
Dataset, and pulls X and Y values from
 columns in that Dataset- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidintReturns the PenDataset that this PenData object is installed inintReturns the series index at which whis PenData's data residesgetPen()intintdoublegetXValue(int row) doublegetYValue(int row) booleanvoidvoidsetColumnIndex(int columnIndex) voidSets the dataset that drives this pen.voidsetOffset(double offset) voidsetVisible(boolean visible) voidsetXValIndex(int valIndex) toString()
- 
Constructor Details- 
PenData
 
- 
- 
Method Details- 
toString
- 
addChangeListener
- 
removeChangeListener
- 
setDataSets the dataset that drives this pen. setColumnIndex and setXValIndex must be called before this is called.- Throws:
- ArrayIndexOutOfBoundsException- if this pen's columns aren't in the dataset
- IllegalArgumentException- if this pen's columns are an incompatible datatype, or if the column indexes were not set before this function was called.
 
- 
setOffsetpublic void setOffset(double offset) 
- 
getParentDatasetReturns the PenDataset that this PenData object is installed in
- 
getParentIndexpublic int getParentIndex()Returns the series index at which whis PenData's data resides
- 
getXValIndexpublic int getXValIndex()
- 
setXValIndexpublic void setXValIndex(int valIndex) 
- 
getPointCountpublic int getPointCount()
- 
getXValuepublic double getXValue(int row) 
- 
getYValuepublic double getYValue(int row) 
- 
getPenName
- 
getPen
- 
getColumnIndexpublic int getColumnIndex()
- 
setColumnIndexpublic void setColumnIndex(int columnIndex) 
- 
isVisiblepublic boolean isVisible()
- 
setVisiblepublic void setVisible(boolean visible) 
 
-