Package com.storedobject.chart
Class Chart.Emphasis
java.lang.Object
com.storedobject.chart.AbstractProperty
com.storedobject.chart.Emphasis
com.storedobject.chart.Chart.Emphasis
- All Implemented Interfaces:
ComponentProperty
- Enclosing class:
Chart
Class to represent the Emphasis effect.
- Author:
- Syam
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefinition of the "fading out" of other elements when emphasizing.static enumDefinition of how the "fade out" is spread across other elements. -
Field Summary
Fields inherited from class com.storedobject.chart.AbstractProperty
disabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidEncode the JSON for this property.voidsetFadeOut(Chart.Emphasis.FADE_OUT fadeOut) Specify how other elements will be faded out when emphasizing an element.voidsetFadeOutScope(Chart.Emphasis.FADE_OUT_SCOPE fadeOutScope) Set the scope of the fade out.Methods inherited from class com.storedobject.chart.Emphasis
encodeStatusMethods inherited from class com.storedobject.chart.AbstractProperty
encodeJSON, setDisabled
-
Constructor Details
-
Emphasis
public Emphasis()
-
-
Method Details
-
setFadeOut
Specify how other elements will be faded out when emphasizing an element.- Parameters:
fadeOut- Fade out.
-
setFadeOutScope
Set the scope of the fade out.- Parameters:
fadeOutScope- Fade out scope.
-
encodeProperty
Description copied from class:AbstractPropertyEncode the JSON for this property.- Overrides:
encodePropertyin classEmphasis- Parameters:
sb- Buffer to which encoding to be embedded.
-