Package org.pepstock.charba.client.enums
Class RelativeDatasetIndexFill
- java.lang.Object
- 
- org.pepstock.charba.client.enums.RelativeDatasetIndexFill
 
- 
 public final class RelativeDatasetIndexFill extends Object Fill object to configure chart to use a relative dataset index.
 Relative dataset index, as string, is composed by sign and value, both mandatory.
 Here are same examples: ("-1", "-2", "+1", "+2",...).- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_VALUEDefault value for relative dataset index,AbsoluteDatasetIndexFill.DEFAULT_VALUE_AS_INTas string.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FillingModegetMode()Returns the type of filling.StringgetValue()Returns the value as string (valid ONLY for relative dataset index and predefined), otherwiseUndefined.STRING.intgetValueAsInt()Returns the value as integer (valid ONLY for absolute dataset index), otherwiseUndefined.INTEGER.Stringvalue()Returns the name value of property
 
- 
- 
- 
Field Detail- 
DEFAULT_VALUEpublic static final String DEFAULT_VALUE Default value for relative dataset index,AbsoluteDatasetIndexFill.DEFAULT_VALUE_AS_INTas string.
 
- 
 - 
Method Detail- 
valuepublic String value() Description copied from interface:KeyReturns the name value of property- Returns:
- the name value of property
 
 - 
getModepublic final FillingMode getMode() Description copied from interface:IsFillReturns the type of filling.
 - 
getValueAsIntpublic int getValueAsInt() Description copied from interface:IsFillReturns the value as integer (valid ONLY for absolute dataset index), otherwiseUndefined.INTEGER.- Specified by:
- getValueAsIntin interface- IsFill
- Returns:
- the value as integer (valid ONLY for absolute dataset index), otherwise Undefined.INTEGER.
 
 - 
getValuepublic String getValue() Description copied from interface:IsFillReturns the value as string (valid ONLY for relative dataset index and predefined), otherwiseUndefined.STRING.- Specified by:
- getValuein interface- IsFill
- Returns:
- the value as string (valid ONLY for relative dataset index and predefined), otherwise Undefined.STRING.
 
 
- 
 
-