public abstract class AbstractMonitorEnabled extends Object implements MonitorEnabled
As default, the associated monitor is a NullMonitor that
simply does nothing. To monitor events the application should either set a
ConsoleMonitor or implement itself the Monitor interface set an
instance of this class with the setMonitor method.
DNotesMonitor,
NullMonitor,
ConsoleMonitor,
MonitorEnabled.setMonitor(DNotesMonitor)| Constructor and Description |
|---|
AbstractMonitorEnabled()
Constructor.
|
AbstractMonitorEnabled(DNotesMonitor theMonitor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DNotesMonitor |
getMonitor()
Returns the current monitor.
|
void |
setMonitor(DNotesMonitor theMonitor)
Returns the current monitor.
|
public AbstractMonitorEnabled()
public AbstractMonitorEnabled(DNotesMonitor theMonitor)
theMonitor - the monitorpublic final DNotesMonitor getMonitor()
getMonitor in interface MonitorEnabledMonitorEnabled.getMonitor()public final void setMonitor(DNotesMonitor theMonitor)
setMonitor in interface MonitorEnabledtheMonitor - the current monitor.MonitorEnabled.setMonitor(DNotesMonitor)Copyright © 2005–2020. All rights reserved.