public class DataBarImpl extends Object implements SDataBar, Serializable
Constructor and Description |
---|
DataBarImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addValueObject(SCFValueObject vobject) |
DataBarImpl |
cloneDataBar(SBook book) |
List<SCFValueObject> |
getCFValueObjects()
Returns the value objects.
|
SColor |
getColor()
Returns the color of the bar
|
int |
getMaxLength()
Returns the maximum length in percentage of this data bar; default to 90
|
int |
getMinLength()
Returns the minimum length in percentage of this data bar; default to 10.
|
boolean |
isShowValue()
Returns whether show the value in the data bar
|
void |
setColor(SColor color) |
void |
setMaxLength(int maxLength) |
void |
setMinLength(int minLength) |
void |
setShowValue(boolean b) |
public List<SCFValueObject> getCFValueObjects()
SDataBar
getCFValueObjects
in interface SDataBar
public void addValueObject(SCFValueObject vobject)
public SColor getColor()
SDataBar
public void setColor(SColor color)
public int getMinLength()
SDataBar
getMinLength
in interface SDataBar
public void setMinLength(int minLength)
public int getMaxLength()
SDataBar
getMaxLength
in interface SDataBar
public void setMaxLength(int maxLength)
public boolean isShowValue()
SDataBar
isShowValue
in interface SDataBar
public void setShowValue(boolean b)
public DataBarImpl cloneDataBar(SBook book)
Copyright © 2020. All rights reserved.