| Modifier and Type | Class and Description |
|---|---|
static class |
TrendPlotter.Descriptor |
static class |
TrendPlotter.Style |
static class |
TrendPlotter.TrendDescriptor |
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_META
Option to not plot any off-point metadata.
|
| Constructor and Description |
|---|
TrendPlotter(LsstTrendingPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all plotted data and resets properties.
|
List<Object> |
getData()
Returns the list of trends displayed by this plotter.
|
EnumSet<Trend.Meta> |
getMeta() |
org.freehep.jas.services.PlotRegion |
getRegion() |
List<Trend> |
getTrends()
Lists trends currently displayed by this plotter.
|
boolean |
isActive()
Returns
true if this plotter is currently managed by the graphical console. |
boolean |
isEmpty()
Returns
true if this plotter is empty. |
void |
plot(List<Trend> trendList,
int mode)
Plot the specified trends.
|
void |
plot(Object timeHistory,
int mode)
Plots a trend.
|
void |
plot(Object timeHistory,
int mode,
Object style,
String options)
Plots a trend.
|
void |
remove(Object data)
Not implemented.
|
void |
setMeta(EnumSet<Trend.Meta> extras) |
void |
setRegion(org.freehep.jas.services.PlotRegion region) |
void |
toFront()
Makes sure the page and region that contain this plotter are visible and selected.
|
Component |
viewable()
Returns the graphic component of this plotter.
|
public static final String NO_META
public TrendPlotter(LsstTrendingPlugin plugin)
public org.freehep.jas.services.PlotRegion getRegion()
public void setRegion(org.freehep.jas.services.PlotRegion region)
public EnumSet<Trend.Meta> getMeta()
public void setMeta(EnumSet<Trend.Meta> extras)
public boolean isActive()
true if this plotter is currently managed by the graphical console.
The plotter's viewable component does not have to be visible for the plotter to be active.True if this plotter is active.public List<Trend> getTrends()
public boolean isEmpty()
true if this plotter is empty.true if this plotter does not display any trends.public void plot(Object timeHistory, int mode)
plot(Object timeHistory, int mode, Object style, String options) for details.plot in interface org.freehep.jas.services.PlottertimeHistory - An instance of Trend to be plotted.mode - Plotter.NORMAL or Plotter.OVERLAY.public void plot(List<Trend> trendList, int mode)
trendList - The list of trends to plot.mode - Plotter.NORMAL or Plotter.OVERLAY.
See plot(Object timeHistory, int mode, Object style, String options) for details.public void plot(Object timeHistory, int mode, Object style, String options)
If a trend is plotted in NORMAL mode, the existing content of this plotter is erased and all properties are reset. In OVERLAY mode, the existing content and custom properties are retained except that any datasets representing off-point metadata are removed.
plot in interface org.freehep.jas.services.PlottertimeHistory - An instance of Trend to be plotted.mode - Plotter.NORMAL or Plotter.OVERLAY.style - Ignored at the moment.options - Comma-separated list of options:public void remove(Object data)
remove in interface org.freehep.jas.services.Plotterpublic void clear()
clear in interface org.freehep.jas.services.Plotterpublic Component viewable()
viewable in interface org.freehep.jas.services.Plotterpublic List<Object> getData()
getData in interface org.freehep.jas.services.PlotterTrend instances displayed by this plotter.public void toFront()
Copyright © 2018 LSST. All rights reserved.