public class MonitorPage extends Object implements Persistable
MonitorView and managed by LsstMonitorPlugin.| Modifier and Type | Class and Description |
|---|---|
static class |
MonitorPage.Descriptor |
| Constructor and Description |
|---|
MonitorPage() |
MonitorPage(PersistableMonitorView view,
PersistableAgentChannelsFilter filter,
String name) |
| Modifier and Type | Method and Description |
|---|---|
MonitorPage |
edit(String title,
Component parent)
Takes user input and returns a modified
Persistable instance. |
MonitorPage.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
String |
getName() |
JComponent |
getPanel() |
PersistableMonitorView |
getView() |
void |
restore(Persistable.Descriptor descriptor)
Restores this component to the state specified by the provided JavaBean.
|
MonitorPage.Descriptor |
save()
Returns JavaBean describing the current state of this component.
|
void |
setView(PersistableMonitorView view) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCategory, getPath, restorepublic static final String CATEGORY
public MonitorPage()
public MonitorPage(PersistableMonitorView view, PersistableAgentChannelsFilter filter, String name)
public JComponent getPanel()
public PersistableMonitorView getView()
public void setView(PersistableMonitorView view)
public String getName()
public MonitorPage.Descriptor getDescriptor()
Persistablenull, and
that any properties set on the descriptor returned by this method are reflected by
descriptors subsequently returned by save(), unless modified between the two calls.getDescriptor in interface Persistablepublic MonitorPage.Descriptor save()
PersistablegetDescriptor().save in interface Persistablesave in interface Savablenull if no state information needs to be saved.public void restore(Persistable.Descriptor descriptor)
Persistablerestore in interface Persistabledescriptor - JavaBean encapsulating the state.public MonitorPage edit(String title, Component parent)
PersistablePersistable instance.
This method should be called on EDT.
The default implementation returns null.edit in interface Persistabletitle - User-interaction dialog title, or null if the default title should be used.parent - Graphical component to be use as a parent for user-interaction dialog(s).this).
May return null to indicate that the Persistable should
be re-instantiated, letting the user select among available Creator
factories for the given category.Copyright © 2023 LSST. All rights reserved.