Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.ou.kmi.buddyspace.utils
Class AlertsWinManager  view AlertsWinManager download AlertsWinManager.java

java.lang.Object
  extended byedu.ou.kmi.buddyspace.utils.WinManager
      extended byedu.ou.kmi.buddyspace.utils.AlertsWinManager

public abstract class AlertsWinManager
extends WinManager

AlertsWinManager is manager of AlertsDockableWindows, which supports handling of alerts - displays windows with new messages in different way.


Field Summary
private  java.util.Vector newMsgWindows
           
 
Fields inherited from class edu.ou.kmi.buddyspace.utils.WinManager
openWindows, tabbedPane
 
Constructor Summary
AlertsWinManager(javax.swing.JTabbedPane tabbedPane)
           
 
Method Summary
 void closeAllWindows()
          Closes all chat windows
protected abstract  java.awt.Image getWinImage(AlertsDockableWindow win, boolean newMsg)
          Returns Image which should be used for given window when newMsg status.
 boolean isNewMessage()
          Returns if there are some new unread messages
 void updateNewMessageFlags(AlertsDockableWindow win, boolean newMsg)
          Updates newMessage flags
 
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
 

Field Detail

newMsgWindows

private java.util.Vector newMsgWindows
Constructor Detail

AlertsWinManager

public AlertsWinManager(javax.swing.JTabbedPane tabbedPane)
Method Detail

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.