org.minueto.handlers
Interface MinuetoWindowHandler

All Superinterfaces:
MinuetoFocusHandler

public interface MinuetoWindowHandler
extends MinuetoFocusHandler

The MinuetoWindowHandler is an interface for receiving a window event from a MinuetoWindow and handling it.

The class that will handle window events from MinuetoWindow must extend the MinuetoWindowHandler interface. That class must be registered with the MinuetoEventQueue.

An event is generated when the window is minimized/maximized, when it gets or loses focus, or when the user tries to quit the application. That event, in turn, invokes the appropriate handle method.

Since:
Minueto 0.4
See Also:
MinuetoEventQueue, MinuetoWindow

Method Summary
 void handleMinimizeWindow()
          Invoked when the MinuetoWindow is minimized.
 void handleQuitRequest()
          Invoked when the user tries to quit the application.
 void handleRestoreWindow()
          Invoked when the MinuetoWindow is restored (from being minimized).
 
Methods inherited from interface org.minueto.handlers.MinuetoFocusHandler
handleGetFocus, handleLostFocus
 

Method Detail

handleQuitRequest

void handleQuitRequest()
Invoked when the user tries to quit the application. (The user presses the X button in the top right corner of the window.)


handleMinimizeWindow

void handleMinimizeWindow()
Invoked when the MinuetoWindow is minimized.


handleRestoreWindow

void handleRestoreWindow()
Invoked when the MinuetoWindow is restored (from being minimized).