Package com.storedobject.chart
Class VisualMap.Range
java.lang.Object
com.storedobject.chart.VisualMap.Range
- All Implemented Interfaces:
ComponentProperty
- Enclosing class:
VisualMap
Range of colors and other visuals to be used for the visual map.
- Author:
- Cédric Opfermann. Modified and documented by Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds one or more colors to the range of colors.voidEncode the JSON string with the properties of this.Retrieves the list of colors associated with this instance.
-
Constructor Details
-
Range
public Range()
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Parameters:
sb- Encoded JSON string to be appended to this.
-
addColors
Adds one or more colors to the range of colors. Colors that are null or empty will be ignored.- Parameters:
colorsParam- The colors to be added. Multiple colors can be provided as varargs. If null, no action will be performed.
-
getColors
-