fdda.dialog.swing.utils
Class Notification
java.lang.Object
|
+--fdda.utils.Notification
|
+--fdda.dialog.swing.utils.Notification
- public class Notification
- extends Notification
Implementation of the notification interface for the swing component.
- Author:
- Jörg Rüdenauer
Method Summary |
protected void |
indicateState(boolean occupation)
Delegate the occupation state indication to a subclass. |
protected int |
showMessage(int type,
int source,
String title,
String message,
String[] buttons)
Delegate the showing of the message to a subclass. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notification
public Notification()
showMessage
protected int showMessage(int type,
int source,
String title,
String message,
String[] buttons)
- Description copied from class:
Notification
- Delegate the showing of the message to a subclass.
- Specified by:
showMessage
in class Notification
- Parameters:
type
- the type of the message, one of the constantssource
- the source of the message, probably one of the constantstitle
- the title of the message, e.g. used as title in a dialogmessage
- the message textbuttons
- the inscriptions for (abstract) buttons, e.g. {"yes", "no"}
- Returns:
- the number of the button the user pressed (count starts with 0)
indicateState
protected void indicateState(boolean occupation)
- Description copied from class:
Notification
- Delegate the occupation state indication to a subclass.
- Specified by:
indicateState
in class Notification
- Parameters:
occupation
- whether the application is occupied
API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.