public class WaterfallPlotParameters extends Parameters
Modifier and Type | Method and Description |
---|---|
static WaterfallPlotParameters |
adaptiveRange(boolean adaptiveRange)
True if the range for the display should be the automatically
determined or should be desumed by the data.
|
static WaterfallPlotParameters |
backgroundColor(int rgb)
The background color for the plot.
|
static WaterfallPlotParameters |
colorScheme(ColorScheme colorScheme)
The color scheme to convert a value to an rgb pixel in the plot.
|
static WaterfallPlotParameters |
defaults()
Defaults parameters for the waterfall plot.
|
ColorScheme |
getColorScheme()
Color scheme used for the plot.
|
int |
getHeight()
The height of the plot in pixels.
|
org.epics.util.time.TimeDuration |
getPixelDuration()
Time interval for each line.
|
static WaterfallPlotParameters |
height(int height)
Height of the plot in pixels.
|
boolean |
isAdaptiveRange()
True if range is automatic, false if taken from data.
|
boolean |
isScrollDown()
Whether the plot scrolls up or down.
|
static WaterfallPlotParameters |
pixelDuration(org.epics.util.time.TimeDuration pixelDuration)
How much time should be allocated to each line of the plot.
|
static WaterfallPlotParameters |
scrollDown(boolean scrollDown)
Whether the plot should scroll down or up.
|
WaterfallPlotParameters |
with(WaterfallPlotParameters... newParameters)
Returns a new set of parameters with the given changes;
|
getParameters
public static WaterfallPlotParameters defaults()
public static WaterfallPlotParameters height(int height)
height
- height of the plot in pixelspublic static WaterfallPlotParameters colorScheme(ColorScheme colorScheme)
colorScheme
- color schemepublic static WaterfallPlotParameters adaptiveRange(boolean adaptiveRange)
adaptiveRange
- true automatic range, false use the data form the channelpublic static WaterfallPlotParameters scrollDown(boolean scrollDown)
scrollDown
- true if scrolls down (current value at the top),
false if scrolls down (current value at the bottom)public static WaterfallPlotParameters pixelDuration(org.epics.util.time.TimeDuration pixelDuration)
pixelDuration
- amount of time for each pixelpublic static WaterfallPlotParameters backgroundColor(int rgb)
rgb
- background color for the plotpublic WaterfallPlotParameters with(WaterfallPlotParameters... newParameters)
newParameters
- parameters to changepublic int getHeight()
public boolean isAdaptiveRange()
public boolean isScrollDown()
public ColorScheme getColorScheme()
public org.epics.util.time.TimeDuration getPixelDuration()
Copyright © 2010–2015. All rights reserved.