Class Indicator
java.lang.Object
com.jalios.jcms.uicomponent.indicator.Indicator
A pojo representing indicator content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()getLink()doublegetUnit()doublegetValue()booleanbooleanisRatio()voidvoidvoidsetLinkLabel(String linkLabel) voidsetPercentage(boolean isPercentage) voidsetTargetValue(double targetValue) voidvoidsetValue(double value)
-
Constructor Details
-
Indicator
public Indicator()
-
-
Method Details
-
getValue
public double getValue()- Returns:
- the value
-
setValue
public void setValue(double value) - Parameters:
value- the value to set
-
getTargetValue
public double getTargetValue()- Returns:
- the target value
-
setTargetValue
public void setTargetValue(double targetValue) - Parameters:
targetValue- the target value to set
-
isPercentage
public boolean isPercentage()- Returns:
- the percentage
-
setPercentage
public void setPercentage(boolean isPercentage) - Parameters:
isPercentage- the percentage to set
-
isRatio
public boolean isRatio()- Returns:
- the percentage
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label- the label to set
-
getUnit
- Returns:
- the unit
-
setUnit
- Parameters:
unit- the unit to set
-
getLink
- Returns:
- the link
-
setLink
- Parameters:
link- the link to set
-
getLinkLabel
- Returns:
- the linkLabel
-
setLinkLabel
- Parameters:
linkLabel- the linkLabel to set
-