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()
SDataBargetCFValueObjects in interface SDataBarpublic void addValueObject(SCFValueObject vobject)
public SColor getColor()
SDataBarpublic void setColor(SColor color)
public int getMinLength()
SDataBargetMinLength in interface SDataBarpublic void setMinLength(int minLength)
public int getMaxLength()
SDataBargetMaxLength in interface SDataBarpublic void setMaxLength(int maxLength)
public boolean isShowValue()
SDataBarisShowValue in interface SDataBarpublic void setShowValue(boolean b)
public DataBarImpl cloneDataBar(SBook book)
Copyright © 2020. All rights reserved.