-
public class RenderStack<SeriesType extends Series, FormatterType extends Formatter>
A stack of series to be rendered. The stack order is immutable but individual elements may be manipulated via the public methods of RenderStack.StackElement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RenderStack.StackElement
An element on the render stack.
-
Field Summary
Fields Modifier and Type Field Description private final ArrayList<RenderStack.StackElement<SeriesType, FormatterType>>
elements
-
Constructor Summary
Constructors Constructor Description RenderStack(Plot plot)
-
Method Summary
Modifier and Type Method Description ArrayList<RenderStack.StackElement<SeriesType, FormatterType>>
getElements()
void
sync()
Syncs the stack structure with plot's current state. void
disable(Class<out SeriesRenderer> rendererClass)
Invokes setEnabled with a valueof false on all stack elements associated with the specified renderer. -
-
Constructor Detail
-
RenderStack
RenderStack(Plot plot)
-
-
Method Detail
-
getElements
ArrayList<RenderStack.StackElement<SeriesType, FormatterType>> getElements()
-
sync
void sync()
Syncs the stack structure with plot's current state. Should be called beforerendering series data to an XYGraphWidget.
-
disable
void disable(Class<out SeriesRenderer> rendererClass)
Invokes setEnabled with a valueof false on all stack elements associated with the specified renderer.
-
-
-
-