|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--grendel.ui.MessageDisplayManager
Handles attempts to view messages, folders and their contents, without assuptions about the UI layout. Potential side affects for given actions are detailed. The resulting window state should be order independent if overlapping arguments are the same with the exception of window focus. That is,
displayMaster(folderA); displayFolder(folderA, messageA);should result in the same windows and selections as
displayFolder(foldarA, messageA); displayMaster(folderA);but the result of
displayFolder(folderA, messageA); displayMaster(folderB):is undefined. If multiple windows are opened as the result of multiple calls, focus will be shifted to the last opened window. Focus will always be shifted to the last acted upon view.
Constructor Summary | |
MessageDisplayManager()
|
Method Summary | |
abstract void |
displayFolder(javax.mail.Folder aFolder)
Displays a folder given a folder object. |
abstract void |
displayFolder(javax.mail.Folder aFolder,
javax.mail.Message aMessage)
Displays folder given a Folder object and selects a message in that folder given a Message object. |
abstract void |
displayMaster()
Displays the master (A folder tree, for now). |
abstract void |
displayMaster(javax.mail.Folder aFolder)
Displays the master with the given folder selected. |
abstract void |
displayMessage(javax.mail.Message aMessage)
Displays a message given a Message object. |
static MessageDisplayManager |
GetDefaultManager()
Gets the default message display manager |
static void |
SetDefaultManager(MessageDisplayManager aManager)
Sets the default message display manager |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MessageDisplayManager()
Method Detail |
public static void SetDefaultManager(MessageDisplayManager aManager)
public static MessageDisplayManager GetDefaultManager()
public abstract void displayMessage(javax.mail.Message aMessage)
public abstract void displayFolder(javax.mail.Folder aFolder)
public abstract void displayFolder(javax.mail.Folder aFolder, javax.mail.Message aMessage)
public abstract void displayMaster()
public abstract void displayMaster(javax.mail.Folder aFolder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |