public class TrendingPreferences extends Object implements org.freehep.jas.services.PreferencesTopic
| Constructor and Description |
|---|
TrendingPreferences(LsstTrendingPlugin plugin)
Constructs PluginPreferences object and optionally initializes property values from saved user preferences.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(JComponent gui)
Reads GUI and updates current settings.
|
JComponent |
component() |
int |
dnd()
Getter for property dnd.
|
int |
doubleClick()
Getter for property doubleClick.
|
boolean |
drawAlarm()
Getter for property drawAlarm.
|
boolean |
drawRms()
Getter for property drawRms.
|
int |
nBins()
Getter for property nBins.
|
String[] |
path() |
int |
refreshMax()
Getter for property refreshMax.
|
int |
refreshMin()
Getter for property refreshMin.
|
protected void |
restore()
Initializes current settings from saved user preferences.
|
protected void |
save()
Saves user preferences.
|
void |
setDnd(int dnd,
boolean save) |
void |
setDoubleClick(int doubleClick,
boolean save) |
void |
setDrawAlarm(boolean drawAlarm,
boolean save) |
void |
setDrawRms(boolean drawRms,
boolean save) |
void |
setNBins(int nBins,
boolean save) |
void |
setRefresh(int refreshMin,
int refreshMax,
boolean save) |
void |
setUseRawData(boolean useRawData,
boolean save) |
void |
setWarnOnAlarm(boolean warnOnAlarm,
boolean save) |
boolean |
useRawData()
Getter for property useRawData.
|
boolean |
warnOnAlarm()
Getter for property warnOnAlarm.
|
public TrendingPreferences(LsstTrendingPlugin plugin)
protected final void restore()
protected void save()
public boolean useRawData()
public int nBins()
public int refreshMin()
public int refreshMax()
public boolean drawAlarm()
public boolean warnOnAlarm()
public boolean drawRms()
public int doubleClick()
public int dnd()
public void setUseRawData(boolean useRawData,
boolean save)
public void setNBins(int nBins,
boolean save)
public void setRefresh(int refreshMin,
int refreshMax,
boolean save)
public void setDrawAlarm(boolean drawAlarm,
boolean save)
public void setWarnOnAlarm(boolean warnOnAlarm,
boolean save)
public void setDrawRms(boolean drawRms,
boolean save)
public void setDoubleClick(int doubleClick,
boolean save)
public void setDnd(int dnd,
boolean save)
public String[] path()
path in interface org.freehep.jas.services.PreferencesTopicpublic JComponent component()
component in interface org.freehep.jas.services.PreferencesTopicpublic boolean apply(JComponent gui)
apply in interface org.freehep.jas.services.PreferencesTopicCopyright © 2014 LSST. All rights reserved.