public final class ApplicationCallbackFacade extends Object implements ApplicationCallback
ApplicationCallback
.Constructor and Description |
---|
ApplicationCallbackFacade() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
start()
Called by our dependency manager in case both dependencies are available.
|
public boolean handleAbout()
handleAbout
in interface ApplicationCallback
true
if the event is being handled,
false
(the default) if this event is ignored.public boolean handlePreferences()
handlePreferences
in interface ApplicationCallback
true
if the event is being handled,
false
(the default) if this event is ignored.public boolean handleQuit()
handleQuit
in interface ApplicationCallback
true
if the event is being handled,
false
(the default) if this event is ignored.public boolean hasPreferences()
hasPreferences
in interface ApplicationCallback
true
if there are preferences to configure,
false
otherwise.public void start()
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.