Package org.netxms.client.datacollection
Class ChartDciConfig
java.lang.Object
org.netxms.client.datacollection.ChartDciConfig
- All Implemented Interfaces:
- NodeItemPair
DCI information for chart
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intlongstatic final intprotected intbooleanstatic final intstatic final intintintbooleanlongbooleanbooleanstatic final intintstatic final Stringboolean
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructorChartDciConfig(String label) Create ad-hoc config with given labelCopy constructorChartDciConfig(ChartDciConfig src, Matcher matcher, DciValue dciValue) Create DCI info from DciValue objectChartDciConfig(ChartDciConfig src, DciValue dciValue) Create DCI info from DciValue objectCreate DCI info from DataCollectionObject objectChartDciConfig(DciValue dci) Create DCI info from DciValue object
- 
Method SummaryModifier and TypeMethodDescriptionintlonggetDciId()Get DCI idGet display formatgetLabel()Get DCI label.intGet line chart typelongGet node IDbooleanisArea(boolean defaultIsArea) Check if display type set to "area".voidsetColor(int value) voidsetDciDescription(String dciDescription) voidsetDciName(String dciName) voidtoString()
- 
Field Details- 
UNSET_COLOR- See Also:
 
- 
ITEMpublic static final int ITEM- See Also:
 
- 
TABLEpublic static final int TABLE- See Also:
 
- 
DEFAULTpublic static final int DEFAULT- See Also:
 
- 
LINEpublic static final int LINE- See Also:
 
- 
AREApublic static final int AREA- See Also:
 
- 
nodeIdpublic long nodeId
- 
dciIdpublic long dciId
- 
dciName
- 
dciDescription
- 
dciTag
- 
typepublic int type
- 
color
- 
name
- 
lineWidthpublic int lineWidth
- 
lineChartTypepublic int lineChartType
- 
displayTypeprotected int displayType
- 
showThresholdspublic boolean showThresholds
- 
invertValuespublic boolean invertValues
- 
useRawValuespublic boolean useRawValues
- 
multiMatchpublic boolean multiMatch
- 
regexMatchpublic boolean regexMatch
- 
instance
- 
column
- 
displayFormat
 
- 
- 
Constructor Details- 
ChartDciConfigpublic ChartDciConfig()Default constructor
- 
ChartDciConfigCreate ad-hoc config with given label- Parameters:
- label- label to use
 
- 
ChartDciConfigCopy constructor- Parameters:
- src- source object
 
- 
ChartDciConfigCreate DCI info from DciValue object- Parameters:
- dci- The DciValue
 
- 
ChartDciConfigCreate DCI info from DciValue object- Parameters:
- src- initial configuration to copy form
- dciValue- runtime DCI information
 
- 
ChartDciConfigCreate DCI info from DciValue object- Parameters:
- src- initial configuration to copy form
- matcher- matcher to get match group for node
- dciValue- runtime DCI information
 
- 
ChartDciConfigCreate DCI info from DataCollectionObject object- Parameters:
- dci- DCI to use as source
 
 
- 
- 
Method Details- 
getColorAsIntpublic int getColorAsInt()- Returns:
- the color
 
- 
setColorpublic void setColor(int value) - Parameters:
- value- The colour value
 
- 
getLabelGet DCI label. Always returns non-empty string.- Returns:
- DCI label
 
- 
getDisplayFormatGet display format- Returns:
- The display format
 
- 
getLineChartTypepublic int getLineChartType()Get line chart type- Returns:
- The display type
 
- 
isAreapublic boolean isArea(boolean defaultIsArea) Check if display type set to "area".- Parameters:
- defaultIsArea- true if chart's default line chart type is AREA
- Returns:
- true if display type set to "area".
 
- 
getDciName- Returns:
- the dciName
 
- 
setDciName- Parameters:
- dciName- the dciName to set
 
- 
getDciDescription- Returns:
- the dciDescription
 
- 
setDciDescription- Parameters:
- dciDescription- the dciDescription to set
 
- 
getDciTag- Returns:
- the dciTag
 
- 
setDciTag- Parameters:
- dciTag- the dciTag to set
 
- 
toString
- 
getNodeIdpublic long getNodeId()Description copied from interface:NodeItemPairGet node ID- Specified by:
- getNodeIdin interface- NodeItemPair
- Returns:
- node id
- See Also:
 
- 
getDciIdpublic long getDciId()Description copied from interface:NodeItemPairGet DCI id- Specified by:
- getDciIdin interface- NodeItemPair
- Returns:
- dci id
- See Also:
 
 
-