java.lang.Object
edu.ou.kmi.buddyspace.utils.WinManager
edu.ou.kmi.buddyspace.utils.AlertsWinManager
- public abstract class AlertsWinManager
- extends WinManager
AlertsWinManager
is manager of AlertsDockableWindow
s,
which supports handling of alerts - displays windows with new messages
in different way.
Methods inherited from class edu.ou.kmi.buddyspace.utils.WinManager |
addWindow, closeWindow, getWindow, isWindowActive, isWindowOpen, selectWindow, setTabbedPane, setWindowDocked, setWindowDocked, setWindowTitle, showWindow, showWindow, updateLAF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newMsgWindows
private java.util.Vector newMsgWindows
AlertsWinManager
public AlertsWinManager(javax.swing.JTabbedPane tabbedPane)
updateNewMessageFlags
public void updateNewMessageFlags(AlertsDockableWindow win,
boolean newMsg)
- Updates newMessage flags
isNewMessage
public boolean isNewMessage()
- Returns if there are some new unread messages
closeAllWindows
public void closeAllWindows()
- Closes all chat windows
- Overrides:
closeAllWindows
in class WinManager
getWinImage
protected abstract java.awt.Image getWinImage(AlertsDockableWindow win,
boolean newMsg)
- Returns
Image
which should be used for given window
when newMsg
status.