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 | Field and Description |
|---|---|
static String |
CATEGORY
Category for general purpose
Persistable views. |
| Modifier and Type | Method and Description |
|---|---|
AgentChannelsFilter |
getFilter()
Returns the filter associated with this view, or
null if there is none. |
default MonitorFormat |
getFormater()
Returns formatter associated with this view, if any.
|
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. |
void |
setFilter(AgentChannelsFilter filter)
Sets the channels filter to be used by this view.
|
default void |
setFormatter(MonitorFormat formatter)
Associates a formatter with this view.
|
default void |
setName(String name)
Sets the name of this view.
|
default void |
uninstall()
Uninstalls this view, disconnecting it from the data source.
|
configure, connect, disconnect, statusChangedstatic final String CATEGORY
Persistable views.JComponent 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 MonitorFormat getFormater()
null if there is no formatter.default void setFormatter(MonitorFormat formatter)
formatter - Formatter 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()
Copyright © 2023 LSST. All rights reserved.