nl.lxtreme.ols.util
Interface ApplicationCallback

All Known Implementing Classes:
ApplicationCallbackFacade

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

handleAbout

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

Returns:
true if the event is being handled, false (the default) if this event is ignored.

handlePreferences

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

Returns:
true if the event is being handled, false (the default) if this event is ignored.

handleQuit

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

Returns:
true if the event is being handled, false (the default) if this event is ignored.

hasPreferences

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

Returns:
true if there are preferences to configure, false otherwise.


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