|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.util.BasicPropertyEventSource
dsto.dfc.swing.logging.LogWindowPopper
public class LogWindowPopper
Manages auto popup of the log window when selected types of log events occur.
LogWindowPopperEditor
,
CmdShowLogWindow
,
Serialized FormConstructor Summary | |
---|---|
LogWindowPopper(Component client)
|
|
LogWindowPopper(Component client,
LogMessageBuffer messageBuffer)
Create a new instance that will display the log window showing a buffer of messages. |
Method Summary | |
---|---|
void |
elementsAdded(CollectionEvent e)
|
void |
elementsRemoved(CollectionEvent e)
|
void |
ensureWindowCreated()
|
LogMessageBuffer |
getBuffer()
Get the buffer that the window is displaying. |
protected static int |
getEventClass(int eventType)
|
LogWindow |
getLogWindow()
Get the log window if created, null otherwise. |
protected void |
handleClose()
|
boolean |
isDisposeOnClose()
|
boolean |
isPopupOnAlarm()
|
boolean |
isPopupOnInfo()
|
boolean |
isPopupOnOther()
|
boolean |
isPopupOnWarning()
|
void |
setDisposeOnClose(boolean newDisposeOnClose)
Set true if log window should be disposed when closed and re-created next use. |
void |
setPopupOnAlarm(boolean newValue)
|
void |
setPopupOnInfo(boolean newPopupOnInfo)
|
void |
setPopupOnOther(boolean newPopupOnOther)
|
void |
setPopupOnWarning(boolean newPopupOnWarning)
|
void |
showLogWindow()
Force the log window to be visible, if not already. |
void |
windowActivated(WindowEvent e)
|
void |
windowClosed(WindowEvent e)
|
void |
windowClosing(WindowEvent e)
|
void |
windowDeactivated(WindowEvent e)
|
void |
windowDeiconified(WindowEvent e)
|
void |
windowIconified(WindowEvent e)
|
void |
windowOpened(WindowEvent e)
|
Methods inherited from class dsto.dfc.util.BasicPropertyEventSource |
---|
addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener, setPropertyChangeSource |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogWindowPopper(Component client)
public LogWindowPopper(Component client, LogMessageBuffer messageBuffer)
client
- The client for the window (may be null).messageBuffer
- The message buffer to display.Method Detail |
---|
public void setDisposeOnClose(boolean newDisposeOnClose)
public boolean isDisposeOnClose()
public void showLogWindow()
public LogWindow getLogWindow()
ensureWindowCreated()
public LogMessageBuffer getBuffer()
public void ensureWindowCreated()
public void setPopupOnAlarm(boolean newValue)
public boolean isPopupOnAlarm()
public void setPopupOnWarning(boolean newPopupOnWarning)
public boolean isPopupOnWarning()
public void setPopupOnInfo(boolean newPopupOnInfo)
public boolean isPopupOnInfo()
public void setPopupOnOther(boolean newPopupOnOther)
public boolean isPopupOnOther()
protected static int getEventClass(int eventType)
public void elementsAdded(CollectionEvent e)
elementsAdded
in interface CollectionListener
protected void handleClose()
public void elementsRemoved(CollectionEvent e)
elementsRemoved
in interface CollectionListener
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |