java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.easychart.Pen
- All Implemented Interfaces:
- Comparable<Pen>
A pen is the main unit of configuration for the EasyChart. Each pen will draw one line/series on the chart if
 enabled.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintget(PenAttribute attr) booleangetBoolean(PenAttribute attr) getColor(PenAttribute attr) abstract IPenDatasourceFactorygetDataGrouping(Set<String> dynamicGroups) An object that is hashable and unique to any parameters required to pull the data for this penfloatgetFloat(PenAttribute attr) Returns the pen's group and name together as "Group\Name" or just "Name" if the group is blank.intgetInt(PenAttribute attr) getName()getString(PenAttribute attr) abstract PenTypegetType()voidset(PenAttribute attr, Object value) static DatasettoDataset(List<Pen> pens, PenAttribute[] penAttributes, PenType type) Creates a dataset that represents the given list.toString()
- 
Constructor Details- 
PenCreates a pen object from the given dataset/row, pulling values for all attributes that apply to this pen's type
- 
Penpublic Pen()Creates a blank pen, using the default values for all attributes that apply to this pen's type.
- 
Pen
 
- 
- 
Method Details- 
toString
- 
toDatasetCreates a dataset that represents the given list. All pens must be of the same type
- 
getType
- 
getDataGroupingAn object that is hashable and unique to any parameters required to pull the data for this pen- Parameters:
- dynamicGroups- The names of all configured dynamic groups.
 
- 
getName
- 
getGroupAndNameReturns the pen's group and name together as "Group\Name" or just "Name" if the group is blank.
- 
getInt
- 
getSortOrder
- 
getFloat
- 
getString
- 
getColor
- 
getBoolean
- 
set
- 
get
- 
compareTo- Specified by:
- compareToin interface- Comparable<Pen>
 
 
-