Package io.keikai.model.impl
Class DataBarImpl
- java.lang.Object
-
- io.keikai.model.impl.DataBarImpl
-
- All Implemented Interfaces:
SDataBar,Serializable
public class DataBarImpl extends Object implements SDataBar, Serializable
- Author:
- henri
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataBarImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValueObject(SCFValueObject vobject)DataBarImplcloneDataBar(SBook book)SColorgetAxisColor()Return the axis color of the bar in extLst.StringgetAxisPosition()Return the axisPosition of this bar in extLst.SColorgetBorderColor()Return the border color of the bar in extLst.List<SCFValueObject>getCFValueObjects()Returns the value objects.SColorgetColor()Returns the color of the barStringgetDirection()Return the direction of this bar in extLst.intgetMaxLength()Returns the maximum length in percentage of this data bar; default to 90intgetMinLength()Returns the minimum length in percentage of this data bar; default to 10.SColorgetNegativeBorderColor()Return the negative border color of the bar in extLst.SColorgetNegativeFillColor()Return the negative fill color of the bar in extLst.booleanisBorder()Return whether enables border or not in extLst.booleanisGradient()Return whether enables gradient or not in extLst.booleanisNegativeBarBorderColorSameAsPositive()Return whether enables negativeBarBorderColorSameAsPositive in extLst.booleanisNegativeBarColorSameAsPositive()Return whether enables negativeBarColorSameAsPositive in extLst.booleanisShowValue()Returns whether show the value in the data barvoidsetAxisColor(SColor axisColor)voidsetAxisPosition(String axisPosition)voidsetBorder(boolean border)voidsetBorderColor(SColor borderColor)voidsetColor(SColor color)voidsetDirection(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)
-
-
-
Method Detail
-
getCFValueObjects
public List<SCFValueObject> getCFValueObjects()
Description copied from interface:SDataBarReturns the value objects.- Specified by:
getCFValueObjectsin interfaceSDataBar- Returns:
-
addValueObject
public void addValueObject(SCFValueObject vobject)
-
getColor
public SColor getColor()
Description copied from interface:SDataBarReturns the color of the bar
-
setColor
public void setColor(SColor color)
-
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
public SColor getBorderColor()
Description copied from interface:SDataBarReturn the border color of the bar in extLst. since 5.9.0- Specified by:
getBorderColorin interfaceSDataBar- Returns:
-
setBorderColor
public void setBorderColor(SColor borderColor)
-
getNegativeBorderColor
public SColor 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
public void setNegativeBorderColor(SColor negativeBorderColor)
-
getNegativeFillColor
public SColor 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
public void setNegativeFillColor(SColor negativeFillColor)
-
getAxisColor
public SColor getAxisColor()
Description copied from interface:SDataBarReturn the axis color of the bar in extLst. since 5.9.0- Specified by:
getAxisColorin interfaceSDataBar- Returns:
-
setAxisColor
public void setAxisColor(SColor axisColor)
-
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
public String 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
public void setAxisPosition(String axisPosition)
-
getDirection
public String 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
public void setDirection(String direction)
-
cloneDataBar
public DataBarImpl cloneDataBar(SBook book)
-
-