public interface MonitorView extends AgentStatusListener
AgentStatusListener methods are called on the AgentStatusAggregator thread.
All other methods declared by this interface should be called on AWT Event Dispatch Thread.| Modifier and Type | Interface and Description |
|---|---|
static interface |
MonitorView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
| Modifier and Type | Method and Description |
|---|---|
AgentChannelsFilter |
getFilter()
Returns the filter associated with this view, or
null if there is none. |
default String |
getName()
Returns the name of this view.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
default void |
install()
Installs this view, connecting it to the data source.
|
default boolean |
isEmpty()
Returns
true if this view has no content to display at the moment. |
default void |
restore(MonitorView.Descriptor descriptor)
Restores this view to the state described by the provided descriptor, to the extent possible.
|
default MonitorView.Descriptor |
save()
Returns a descriptor that contains information required to re-create this view in its current state.
|
void |
setFilter(AgentChannelsFilter filter)
Sets the channels filter to be used by this view.
|
default void |
setName(String name)
Sets the name of this view.
|
default void |
uninstall()
Un-installs this view, disconnecting it from the data source.
|
configure, connect, disconnect, statusChangedJComponent getPanel()
default String getName()
default void setName(String name)
name - View name.AgentChannelsFilter getFilter()
null if there is none.void setFilter(AgentChannelsFilter filter)
filter - Filter to be associated with this view.default boolean isEmpty()
true if this view has no content to display at the moment.
This can be used report that the view can be closed, for example.
The default implementation returns false.default void install()
default void uninstall()
default MonitorView.Descriptor save()
null.null is this view does not support saving.default void restore(MonitorView.Descriptor descriptor)
descriptor - View descriptor.Copyright © 2018 LSST. All rights reserved.