|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.view.DialogManager
Component to show and hide dialogs as requested by controller. Unlike other Think-and-link top-level view components, the dialog manager component is a single class, determined at compile-time.
| Field Summary |
| Fields inherited from interface talx.util.DesktopConstants |
ARROW_IMAGES, COVER_LAYER_OFFSET, DIALOG_LAYER_OFFSET, DOWN_ARROW, DOWN_TRIANGLE, DOWN_WORD_EN, INFO_ICON, INFO_LAYER_OFFSET, POINTER_LAYER_OFFSET, QUESTION_ICON, UP_ARROW, UP_TRIANGLE, UP_WORD_EN |
| Constructor Summary | |
DialogManager(MailSystemDesktop ms,
Settings settings)
|
|
| Method Summary | |
void |
changeTask(java.lang.String text)
Places small text box above the other components. |
void |
controllerChange(ControllerChangeEvent ev)
Sent when the controller wants the GUI to change state. |
void |
controllerChangeFinished(ChangeFinishedEvent ev)
Sent when the system has finished transitioning to a new state. |
void |
controllerChangeVetoed(ActionVetoException ex)
Sent when the system has decided not to transition on a user action. |
java.awt.Component |
getFocusCycleCurrent()
Gets the current component in the focus cycle. |
java.awt.Component |
getFocusCycleStart()
Resets the focus cycle and returns the first component. |
java.awt.Component |
getNextFocusOwner()
Gets the next component in the focus cycle. |
java.awt.Component |
getPreviousFocusOwner()
Gets the next component in the focus cycle. |
void |
hideTask()
Removes the task dialog, if showing. |
void |
hideTask(int pauseCount)
Waits the given number of milliseconds and then removes the task dialog. |
boolean |
isFocusable(java.awt.Component c)
Returns true if the given component should receive focus. |
boolean |
isFocusCycleEnd()
Returns true if the focus is currently on the last element of the cycle. |
boolean |
isTaskTemporary()
Returns true is task is scheduled for being hiden. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DialogManager(MailSystemDesktop ms,
Settings settings)
| Method Detail |
public void changeTask(java.lang.String text)
text - the message to show.public void hideTask()
public void hideTask(int pauseCount)
pauseCount - of pause periods to wait.public boolean isTaskTemporary()
public void controllerChange(ControllerChangeEvent ev)
controllerChange in interface ControllerListenerpublic void controllerChangeFinished(ChangeFinishedEvent ev)
ControllerListener
controllerChangeFinished in interface ControllerListenerpublic void controllerChangeVetoed(ActionVetoException ex)
ControllerListener
controllerChangeVetoed in interface ControllerListenerpublic java.awt.Component getFocusCycleStart()
getFocusCycleStart in interface TALComponentpublic java.awt.Component getNextFocusOwner()
getNextFocusOwner in interface TALComponentpublic java.awt.Component getPreviousFocusOwner()
getPreviousFocusOwner in interface TALComponentpublic java.awt.Component getFocusCycleCurrent()
getFocusCycleCurrent in interface TALComponentpublic boolean isFocusCycleEnd()
isFocusCycleEnd in interface TALComponentpublic boolean isFocusable(java.awt.Component c)
isFocusable in interface TALComponent
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.