Package com.iizix.prop.ui.chart.series
Class GSeriesValue
java.lang.Object
com.iizix.prop.ui.chart.series.GSeriesValue
- All Implemented Interfaces:
- Cloneable
The series value that can be simple, X/Y, Bubble or OHLC.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- final GSeriesValue- clone()Clones the instance.- abstract booleanChecks if two fill objects are equal.- static GSeriesValue- fromString- (String string) Creates a fill from an element.- final StringGets the fill as a String in the form described below.- abstract SeriesType- getType()Gets the fill type.- static double- parseNumber- (String string) Parses a value string to a double number.- final String- toString()Returns a string representation of this class instance and its values.
- Constructor Details- GSeriesValuepublic GSeriesValue()
 
- Method Details- parseNumberParses a value string to a double number.- If the string is empty or "NaN", the returned value is Double.NaN. - Parameters:
- string- The string to parse.
- Returns:
- The double value.
- Throws:
- NumberFormatException- For number format errors.
 
- fromStringpublic static GSeriesValue fromString- (String string) throws IllegalArgumentException, NumberFormatException Creates a fill from an element.- Throws:
- IllegalArgumentException- For errors in the string specification.
- NumberFormatException- For invalid number formats.
- NoSuchElementException- If the string misses a parameter.
 
- cloneClones the instance.
- getTypeGets the fill type.- Returns:
- One of the types SIMPLE, X_Y, BUBBLE or OHLC.
 
- equalsChecks if two fill objects are equal.
- getStringGets the fill as a String in the form described below.- Returns:
- the String as described above.
 
- toStringReturns a string representation of this class instance and its values.