|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationCallback
Denotes a callback for some "main events" in an application.
This interface is merely used for retrieving the proper system events on Mac OSX. On other operating systems, this interface has no real value.
Method Summary | |
---|---|
boolean |
handleAbout()
Called upon receiving a "about" event from the host operating system. |
boolean |
handlePreferences()
Called upon receiving a "set preferenes" event from the host operating system. |
boolean |
handleQuit()
Called upon receiving a quit event from the host operating system. |
boolean |
hasPreferences()
Returns whether the are preferences to configure. |
Method Detail |
---|
boolean handleAbout()
true
if the event is being handled,
false
(the default) if this event is ignored.boolean handlePreferences()
true
if the event is being handled,
false
(the default) if this event is ignored.boolean handleQuit()
true
if the event is being handled,
false
(the default) if this event is ignored.boolean hasPreferences()
true
if there are preferences to configure,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |