Package io.keikai.model.impl
Class DataBarImpl
java.lang.Object
io.keikai.model.impl.DataBarImpl
- All Implemented Interfaces:
SDataBar,Serializable
- Author:
- henri
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValueObject(SCFValueObject vobject) cloneDataBar(SBook book) Return the axis color of the bar in extLst.Return the axisPosition of this bar in extLst.Return the border color of the bar in extLst.Returns the value objects.getColor()Returns the color of the barReturn the direction of this bar in extLst.intReturns the maximum length in percentage of this data bar; default to 90intReturns the minimum length in percentage of this data bar; default to 10.Return the negative border color of the bar in extLst.Return the negative fill color of the bar in extLst.booleanisBorder()Return whether enables border or not in extLst.booleanReturn whether enables gradient or not in extLst.booleanReturn whether enables negativeBarBorderColorSameAsPositive in extLst.booleanReturn whether enables negativeBarColorSameAsPositive in extLst.booleanReturns whether show the value in the data barvoidsetAxisColor(SColor axisColor) voidsetAxisPosition(String axisPosition) voidsetBorder(boolean border) voidsetBorderColor(SColor borderColor) voidvoidsetDirection(String direction) voidsetGradient(boolean gradient) voidsetMaxLength(int maxLength) voidsetMinLength(int minLength) voidsetNegativeBarBorderColorSameAsPositive(boolean negativeBarBorderColorSameAsPositive) voidsetNegativeBarColorSameAsPositive(boolean negativeBarColorSameAsPositive) voidsetNegativeBorderColor(SColor negativeBorderColor) voidsetNegativeFillColor(SColor negativeFillColor) voidsetShowValue(boolean b)
-
Constructor Details
-
DataBarImpl
public DataBarImpl()
-
-
Method Details
-
getCFValueObjects
Description copied from interface:SDataBarReturns the value objects.- Specified by:
getCFValueObjectsin interfaceSDataBar- Returns:
-
addValueObject
-
getColor
Description copied from interface:SDataBarReturns the color of the bar -
setColor
-
getMinLength
public int getMinLength()Description copied from interface:SDataBarReturns the minimum length in percentage of this data bar; default to 10.- Specified by:
getMinLengthin interfaceSDataBar
-
setMinLength
public void setMinLength(int minLength) -
getMaxLength
public int getMaxLength()Description copied from interface:SDataBarReturns the maximum length in percentage of this data bar; default to 90- Specified by:
getMaxLengthin interfaceSDataBar
-
setMaxLength
public void setMaxLength(int maxLength) -
isShowValue
public boolean isShowValue()Description copied from interface:SDataBarReturns whether show the value in the data bar- Specified by:
isShowValuein interfaceSDataBar
-
setShowValue
public void setShowValue(boolean b) -
getBorderColor
Description copied from interface:SDataBarReturn the border color of the bar in extLst. since 5.9.0- Specified by:
getBorderColorin interfaceSDataBar- Returns:
-
setBorderColor
-
getNegativeBorderColor
Description copied from interface:SDataBarReturn the negative border color of the bar in extLst. since 5.9.0- Specified by:
getNegativeBorderColorin interfaceSDataBar- Returns:
-
setNegativeBorderColor
-
getNegativeFillColor
Description copied from interface:SDataBarReturn the negative fill color of the bar in extLst. since 5.9.0- Specified by:
getNegativeFillColorin interfaceSDataBar- Returns:
-
setNegativeFillColor
-
getAxisColor
Description copied from interface:SDataBarReturn the axis color of the bar in extLst. since 5.9.0- Specified by:
getAxisColorin interfaceSDataBar- Returns:
-
setAxisColor
-
isBorder
public boolean isBorder()Description copied from interface:SDataBarReturn whether enables border or not in extLst. Default: false since 5.9.0 -
setBorder
public void setBorder(boolean border) -
isGradient
public boolean isGradient()Description copied from interface:SDataBarReturn whether enables gradient or not in extLst. Default: true since 5.9.0- Specified by:
isGradientin interfaceSDataBar- Returns:
-
setGradient
public void setGradient(boolean gradient) -
isNegativeBarColorSameAsPositive
public boolean isNegativeBarColorSameAsPositive()Description copied from interface:SDataBarReturn whether enables negativeBarColorSameAsPositive in extLst. Default: true since 5.9.0- Specified by:
isNegativeBarColorSameAsPositivein interfaceSDataBar- Returns:
-
setNegativeBarColorSameAsPositive
public void setNegativeBarColorSameAsPositive(boolean negativeBarColorSameAsPositive) -
isNegativeBarBorderColorSameAsPositive
public boolean isNegativeBarBorderColorSameAsPositive()Description copied from interface:SDataBarReturn whether enables negativeBarBorderColorSameAsPositive in extLst. Default: true since 5.9.0- Specified by:
isNegativeBarBorderColorSameAsPositivein interfaceSDataBar- Returns:
-
setNegativeBarBorderColorSameAsPositive
public void setNegativeBarBorderColorSameAsPositive(boolean negativeBarBorderColorSameAsPositive) -
getAxisPosition
Description copied from interface:SDataBarReturn the axisPosition of this bar in extLst. Default: "auto" since 5.9.0- Specified by:
getAxisPositionin interfaceSDataBar- Returns:
-
setAxisPosition
-
getDirection
Description copied from interface:SDataBarReturn the direction of this bar in extLst. Default: "leftToRight" since 5.9.0- Specified by:
getDirectionin interfaceSDataBar- Returns:
-
setDirection
-
cloneDataBar
-