|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oxymel.ofc.charts.data.CategoryValue
Manage a couple of category-value
Field Summary | |
static int |
VALUE_INFORMATION_DISPLAY_NONE
No information associate to value is display |
static int |
VALUE_INFORMATION_DISPLAY_ON_CENTER
Information associate to value is display center |
static int |
VALUE_INFORMATION_DISPLAY_ON_TOP
Information associate to value is display on top |
Constructor Summary | |
CategoryValue(java.lang.String categoryId,
double value)
Constructor |
|
CategoryValue(java.lang.String categoryId,
double value,
java.lang.String info)
Constructor |
|
CategoryValue(java.lang.String categoryId,
double value,
java.lang.String info,
int infoDisplayPosition)
Constructor |
Method Summary | |
java.lang.Object |
clone()
Get a cloned category value |
java.lang.String |
getCategoryId()
Get Category Id |
double |
getValue()
Get Value |
java.lang.String |
getValueAsString(int nbDecimals)
Get formated value as String with specified precision |
java.lang.String |
getValueAsStringTwoDecimals()
Get formated value as String with specified precision |
java.lang.String |
getValueInformation()
Get information associated to the value |
int |
getValueInformationDisplayMode()
Get display mode of information associated to the value |
void |
setValue(double value)
Sets value |
void |
setValueInformation(java.lang.String info)
Sets information associated to the value |
void |
setValueInformationDisplayMode(int mode)
Sets display mode of information associated to the value |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_INFORMATION_DISPLAY_NONE
public static final int VALUE_INFORMATION_DISPLAY_ON_TOP
public static final int VALUE_INFORMATION_DISPLAY_ON_CENTER
Constructor Detail |
public CategoryValue(java.lang.String categoryId, double value)
categoryId
- Category Idvalue
- Category Valuepublic CategoryValue(java.lang.String categoryId, double value, java.lang.String info)
categoryId
- Category Idvalue
- Category Valueinfo
- information associate to valuepublic CategoryValue(java.lang.String categoryId, double value, java.lang.String info, int infoDisplayPosition)
categoryId
- Category Idvalue
- Category Valueinfo
- information associate to valueinfoDisplayPosition
- Position to display informationMethod Detail |
public java.lang.Object clone()
public java.lang.String getValueAsString(int nbDecimals)
nbDecimals
- public java.lang.String getValueAsStringTwoDecimals()
public void setValueInformation(java.lang.String info)
info
- information associated to the valuepublic void setValueInformationDisplayMode(int mode)
mode
- public int getValueInformationDisplayMode()
public java.lang.String getValueInformation()
public double getValue()
public void setValue(double value)
value
- public java.lang.String getCategoryId()
|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |