org.jrabbit.base.managers.window
Interface WindowListener


public interface WindowListener

A WindowListener can "listen" to the WindowManager, becoming updated whenever the settings for the Display are modified. A WindowListener can receive alerts for various types of changes; these cover such changes as the Display being resized, the rendered scene changing, the viewport being altered, etc.

Author:
Chris Molini

Field Summary
static int DISPLAY_RESIZE
          Indicates that the dimensions (resolution) of the Display have changed.
static int ENTERED_FULLSCREEN
          Indicates that the Display has entered fullscreen mode.
static int ENTERED_WINDOW
          Indicates that the Display has entered windowed mode.
static int SCENE_CHANGE
          Indicates that the scene being rendered has changed.
static int VIEWPORT_CHANGE
          Indicates that the active viewport has changed.
 
Method Summary
 void windowChanged(int changeType)
          Alerts the listener that Window settings have been altered.
 

Field Detail

DISPLAY_RESIZE

static final int DISPLAY_RESIZE
Indicates that the dimensions (resolution) of the Display have changed.

See Also:
Constant Field Values

SCENE_CHANGE

static final int SCENE_CHANGE
Indicates that the scene being rendered has changed.

See Also:
Constant Field Values

VIEWPORT_CHANGE

static final int VIEWPORT_CHANGE
Indicates that the active viewport has changed.

See Also:
Constant Field Values

ENTERED_FULLSCREEN

static final int ENTERED_FULLSCREEN
Indicates that the Display has entered fullscreen mode.

See Also:
Constant Field Values

ENTERED_WINDOW

static final int ENTERED_WINDOW
Indicates that the Display has entered windowed mode.

See Also:
Constant Field Values
Method Detail

windowChanged

void windowChanged(int changeType)
Alerts the listener that Window settings have been altered.

Parameters:
changeType - Indicated the category of change that occurred. This value is one of those within WindowListener.