|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.MessageService
This class handles displaying messages to the user.
Field Summary | |
static int |
FORGET_ANSWER
Constant for when the 'Always use this answer' checkbox does not want to remember the answer. |
static int |
NO_OPTION
Constant for when the user selects the no button in a message giving the user a yes and a no option. |
static int |
REMEMBER_ANSWER
Constant for when the 'Always use this answer' checkbox wants to remember the answer. |
static int |
YES_OPTION
Constant for when the user selects the yes button in a message giving the user a yes and a no option. |
Method Summary | |
static java.awt.Component |
getParentComponent()
Convenience method for determining which window should be the parent of message windows. |
static MessageService |
instance()
Instance accessor for the MessageService. |
void |
showMessage(java.awt.Component toDisplay)
Displays a standardly formatted information message with the specified Component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int YES_OPTION
public static final int NO_OPTION
public static final int REMEMBER_ANSWER
public static final int FORGET_ANSWER
Method Detail |
public static MessageService instance()
public final void showMessage(java.awt.Component toDisplay)
toDisplay
- the object to display in the messagepublic static java.awt.Component getParentComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |