nl.lxtreme.ols.util.internal
Class ApplicationCallbackFacade

java.lang.Object
  extended by nl.lxtreme.ols.util.internal.ApplicationCallbackFacade
All Implemented Interfaces:
ApplicationCallback

public final class ApplicationCallbackFacade
extends Object
implements ApplicationCallback

Service facade for ApplicationCallback.


Constructor Summary
ApplicationCallbackFacade()
           
 
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.
 void start()
          Called by our dependency manager in case both dependencies are available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationCallbackFacade

public ApplicationCallbackFacade()
Method Detail

handleAbout

public boolean handleAbout()
Called upon receiving a "about" event from the host operating system.

Specified by:
handleAbout in interface ApplicationCallback
Returns:
true if the event is being handled, false (the default) if this event is ignored.

handlePreferences

public boolean handlePreferences()
Called upon receiving a "set preferenes" event from the host operating system.

Specified by:
handlePreferences in interface ApplicationCallback
Returns:
true if the event is being handled, false (the default) if this event is ignored.

handleQuit

public boolean handleQuit()
Called upon receiving a quit event from the host operating system.

Specified by:
handleQuit in interface ApplicationCallback
Returns:
true if the event is being handled, false (the default) if this event is ignored.

hasPreferences

public boolean hasPreferences()
Returns whether the are preferences to configure.

Specified by:
hasPreferences in interface ApplicationCallback
Returns:
true if there are preferences to configure, false otherwise.

start

public void start()
Called by our dependency manager in case both dependencies are available.



Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.