ewe.ui
Interface WindowConstants

All Known Implementing Classes:
Window

public interface WindowConstants


Field Summary
static int FLAG_ALWAYS_ON_TOP
           
static int FLAG_CAN_MAXIMIZE
           
static int FLAG_CAN_MINIMIZE
           
static int FLAG_CAN_RESIZE
           
static int FLAG_DONT_CLEAR_BACKGROUND
           
static int FLAG_FULL_SCREEN
           
static int FLAG_HAS_CLOSE_BUTTON
           
static int FLAG_HAS_TASKBAR_ENTRY
           
static int FLAG_HAS_TITLE
           
static int FLAG_IS_DEFAULT_SIZE
           
static int FLAG_IS_ICONIZED
           
static int FLAG_IS_MODAL
           
static int FLAG_IS_VISIBLE
           
static int FLAG_MAIN_WINDOW_COUNTER_ROTATED
           
static int FLAG_MAIN_WINDOW_ROTATED
           
static int FLAG_MAXIMIZE
           
static int FLAG_MAXIMIZE_ON_PDA
           
static int FLAG_MINIMIZE
           
static int FLAG_RESTORE
           
static int FLAG_SHOW_SIP_BUTTON
           
static int FLAG_STATE_KNOWN
           
static int FLAG_VISIBLE_ON_TO_FRONT
           
static int GUI_FLAG_HAS_TASKBAR
          A flag returned from Window.getGuiInfo() with the GUI_FLAGS parameter.
static int GUI_FLAG_REVERSE_OK_CANCEL
          A flag returned from Window.getGuiInfo() with the GUI_FLAGS parameter.
static int INFO_ACCEPT_DROPPED_FILES
          This is used for setInfo() only.
static int INFO_CLIENT_RECT
          Use this to get the Rect of the client area, but the x and y co-ordinates will always be 0,0.
static int INFO_DROPPED_DATA
           
static int INFO_FLAGS_FOR_SIZE
          This is used to get the window flags for a particular size.
static int INFO_FONT
           
static int INFO_GUI_FLAGS
          This is a parameter for Window.getGuiInfo(), use it with a ewe.sys.Long object as the destination parameters.
static int INFO_NATIVE_WINDOW
          Used with Window.getInfo().
static int INFO_PARENT_RECT
          Use this to get or set the parent's client screen rectangle.
static int INFO_POSITION_IN_NATIVE_DRAWING_SURFACE
          Used with Window.getInfo().
static int INFO_SCREEN_RECT
          Use this to get or set the user's screen rectangle.
static int INFO_TASKBAR_ICON
          Use this along with a Window.TaskBarIconInfo class to set the taskbar icon info for a window.
static int INFO_TITLE
          This is a parameter for Window.setInfo(), Window.getInfo() use it with a ewe.sys.Long object as the destination parameters.
static int INFO_WINDOW_FLAGS
          Use this to get or set the window (i.e.
static int INFO_WINDOW_ICON
          Use this along with an Icon Object to set the window icon for a window.
static int INFO_WINDOW_RECT
          Use this to get or set the window location and size on the screen.
static int NATIVE_WINDOW_GET_CONTAINING_WINDOW
          This is an option for INFO_NATIVE_WINDOW.
static int NATIVE_WINDOW_GET_DRAWING_SURFACE
          This is an option for INFO_NATIVE_WINDOW.
static int OPTION_FLAG_CLEAR
          Use this with setInfo(INFO_WINDOW_FLAGS) to specify that the provided flags should be cleared.
static int OPTION_FLAG_SET
          Use this with setInfo(INFO_WINDOW_FLAGS) to specify that the provided flags should be set.
static int OPTION_TASKBAR_ICON_MODIFY_ICON
          This can be used with INFO_TASKBAR_ICON to specify that you are modifying the ICON only.
static int OPTION_TASKBAR_ICON_MODIFY_TIP
          This can be used with INFO_TASKBAR_ICON to specify that you are modifying the TIP only.
static int SPECIAL_MOUSE_CAPTURE
          An operation for Window.doSpecialOp().
static int SPECIAL_MOUSE_MOVE
          An operation for Window.doSpecialOp().
static int SPECIAL_MOUSE_RELEASE
          An operation for Window.doSpecialOp().
static int SPECIAL_MOUSE_RESIZE
          An operation for Window.doSpecialOp().
static int SPECIAL_RESTART_GUI
          An operation for Window.doSpecialOp().
static int SPECIAL_ROTATE_SCREEN
           
static int STATE_MAXIMIZED
          Used with setState() and getState().
static int STATE_MINIMIZED
          Used with setState() and getState().
static int STATE_NORMAL
          Used with setState() and getState().
static int STATE_UNKNOWN
          This may be returned by getState() if the window state cannot be determined.
 

Field Detail

INFO_WINDOW_RECT

public static final int INFO_WINDOW_RECT
Use this to get or set the window location and size on the screen. When calling getInfo you must provide a Rect object as the result destination. When calling setInfo you must provide a Rect object as the sourceParameter.

See Also:
Constant Field Values

INFO_WINDOW_FLAGS

public static final int INFO_WINDOW_FLAGS
Use this to get or set the window (i.e. native application window) flags. This includes the FLAG_ values. When calling getInfo you must provide a Long object as the result destination. When calling setInfo you must provide a Long object as the sourceParameter.

See Also:
Constant Field Values

INFO_PARENT_RECT

public static final int INFO_PARENT_RECT
Use this to get or set the parent's client screen rectangle. Only the width and height values are relevant. When calling getInfo you must provide a Rect object as the result destination.

See Also:
Constant Field Values

INFO_CLIENT_RECT

public static final int INFO_CLIENT_RECT
Use this to get the Rect of the client area, but the x and y co-ordinates will always be 0,0.

See Also:
Constant Field Values

FLAG_HAS_CLOSE_BUTTON

public static final int FLAG_HAS_CLOSE_BUTTON
See Also:
Constant Field Values

FLAG_IS_VISIBLE

public static final int FLAG_IS_VISIBLE
See Also:
Constant Field Values

FLAG_IS_ICONIZED

public static final int FLAG_IS_ICONIZED
See Also:
Constant Field Values

FLAG_HAS_TITLE

public static final int FLAG_HAS_TITLE
See Also:
Constant Field Values

FLAG_CAN_MAXIMIZE

public static final int FLAG_CAN_MAXIMIZE
See Also:
Constant Field Values

FLAG_CAN_MINIMIZE

public static final int FLAG_CAN_MINIMIZE
See Also:
Constant Field Values

FLAG_CAN_RESIZE

public static final int FLAG_CAN_RESIZE
See Also:
Constant Field Values

FLAG_IS_MODAL

public static final int FLAG_IS_MODAL
See Also:
Constant Field Values

FLAG_DONT_CLEAR_BACKGROUND

public static final int FLAG_DONT_CLEAR_BACKGROUND
See Also:
Constant Field Values

FLAG_HAS_TASKBAR_ENTRY

public static final int FLAG_HAS_TASKBAR_ENTRY
See Also:
Constant Field Values

FLAG_SHOW_SIP_BUTTON

public static final int FLAG_SHOW_SIP_BUTTON
See Also:
Constant Field Values

FLAG_MAXIMIZE_ON_PDA

public static final int FLAG_MAXIMIZE_ON_PDA
See Also:
Constant Field Values

FLAG_MAXIMIZE

public static final int FLAG_MAXIMIZE
See Also:
Constant Field Values

FLAG_MINIMIZE

public static final int FLAG_MINIMIZE
See Also:
Constant Field Values

FLAG_MAIN_WINDOW_ROTATED

public static final int FLAG_MAIN_WINDOW_ROTATED
See Also:
Constant Field Values

FLAG_FULL_SCREEN

public static final int FLAG_FULL_SCREEN
See Also:
Constant Field Values

FLAG_ALWAYS_ON_TOP

public static final int FLAG_ALWAYS_ON_TOP
See Also:
Constant Field Values

FLAG_VISIBLE_ON_TO_FRONT

public static final int FLAG_VISIBLE_ON_TO_FRONT
See Also:
Constant Field Values

FLAG_MAIN_WINDOW_COUNTER_ROTATED

public static final int FLAG_MAIN_WINDOW_COUNTER_ROTATED
See Also:
Constant Field Values

FLAG_RESTORE

public static final int FLAG_RESTORE
See Also:
Constant Field Values

FLAG_STATE_KNOWN

public static final int FLAG_STATE_KNOWN
See Also:
Constant Field Values

FLAG_IS_DEFAULT_SIZE

public static final int FLAG_IS_DEFAULT_SIZE
See Also:
Constant Field Values

OPTION_FLAG_SET

public static final int OPTION_FLAG_SET
Use this with setInfo(INFO_WINDOW_FLAGS) to specify that the provided flags should be set.

See Also:
Constant Field Values

OPTION_FLAG_CLEAR

public static final int OPTION_FLAG_CLEAR
Use this with setInfo(INFO_WINDOW_FLAGS) to specify that the provided flags should be cleared.

See Also:
Constant Field Values

INFO_FLAGS_FOR_SIZE

public static final int INFO_FLAGS_FOR_SIZE
This is used to get the window flags for a particular size.

See Also:
Constant Field Values

SPECIAL_MOUSE_MOVE

public static final int SPECIAL_MOUSE_MOVE
An operation for Window.doSpecialOp().

See Also:
Constant Field Values

SPECIAL_MOUSE_RESIZE

public static final int SPECIAL_MOUSE_RESIZE
An operation for Window.doSpecialOp().

See Also:
Constant Field Values

SPECIAL_MOUSE_CAPTURE

public static final int SPECIAL_MOUSE_CAPTURE
An operation for Window.doSpecialOp().

See Also:
Constant Field Values

SPECIAL_MOUSE_RELEASE

public static final int SPECIAL_MOUSE_RELEASE
An operation for Window.doSpecialOp().

See Also:
Constant Field Values

SPECIAL_RESTART_GUI

public static final int SPECIAL_RESTART_GUI
An operation for Window.doSpecialOp().

See Also:
Constant Field Values

SPECIAL_ROTATE_SCREEN

public static final int SPECIAL_ROTATE_SCREEN
See Also:
Constant Field Values

INFO_SCREEN_RECT

public static final int INFO_SCREEN_RECT
Use this to get or set the user's screen rectangle. When calling getInfo you must provide a Rect object as the result destination. When calling setInfo you must provide a Rect object as the sourceParameter.

See Also:
Constant Field Values

INFO_TASKBAR_ICON

public static final int INFO_TASKBAR_ICON
Use this along with a Window.TaskBarIconInfo class to set the taskbar icon info for a window.

See Also:
Constant Field Values

OPTION_TASKBAR_ICON_MODIFY_ICON

public static final int OPTION_TASKBAR_ICON_MODIFY_ICON
This can be used with INFO_TASKBAR_ICON to specify that you are modifying the ICON only.

See Also:
Constant Field Values

OPTION_TASKBAR_ICON_MODIFY_TIP

public static final int OPTION_TASKBAR_ICON_MODIFY_TIP
This can be used with INFO_TASKBAR_ICON to specify that you are modifying the TIP only.

See Also:
Constant Field Values

INFO_WINDOW_ICON

public static final int INFO_WINDOW_ICON
Use this along with an Icon Object to set the window icon for a window.

See Also:
Constant Field Values

STATE_MAXIMIZED

public static final int STATE_MAXIMIZED
Used with setState() and getState().

See Also:
Constant Field Values

STATE_MINIMIZED

public static final int STATE_MINIMIZED
Used with setState() and getState().

See Also:
Constant Field Values

STATE_NORMAL

public static final int STATE_NORMAL
Used with setState() and getState().

See Also:
Constant Field Values

STATE_UNKNOWN

public static final int STATE_UNKNOWN
This may be returned by getState() if the window state cannot be determined.

See Also:
Constant Field Values

INFO_GUI_FLAGS

public static final int INFO_GUI_FLAGS
This is a parameter for Window.getGuiInfo(), use it with a ewe.sys.Long object as the destination parameters. 2

See Also:
Constant Field Values

GUI_FLAG_HAS_TASKBAR

public static final int GUI_FLAG_HAS_TASKBAR
A flag returned from Window.getGuiInfo() with the GUI_FLAGS parameter. Indicates that the OS supports placing icons in a taskbar.

See Also:
Constant Field Values

GUI_FLAG_REVERSE_OK_CANCEL

public static final int GUI_FLAG_REVERSE_OK_CANCEL
A flag returned from Window.getGuiInfo() with the GUI_FLAGS parameter. Indicates that Cancel buttons should come before OK buttons.

See Also:
Constant Field Values

INFO_TITLE

public static final int INFO_TITLE
This is a parameter for Window.setInfo(), Window.getInfo() use it with a ewe.sys.Long object as the destination parameters.

See Also:
Constant Field Values

INFO_DROPPED_DATA

public static final int INFO_DROPPED_DATA
See Also:
Constant Field Values

INFO_FONT

public static final int INFO_FONT
See Also:
Constant Field Values

INFO_NATIVE_WINDOW

public static final int INFO_NATIVE_WINDOW
Used with Window.getInfo(). This is used for retrieving a reference to the native window associated with the window. Do not a source or destination parameter and one of the NATIVE_WINDOW_GET_CONTAINING_WINDOW or NATIVE_WINDOW_GET_DRAWING_SURFACE as the option.

On a native Ewe VM the returned value will be a ewe.sys.Long() object that contains the a 32-bit pointer to a platform specific structure or value as defined in "eni.h". On a Java VM this will return a java.awt object representing the Window.

NATIVE_WINDOW_GET_CONTAINING_WINDOW will return a reference to the native Window that acts as the container for the Ewe window.

NATIVE_WINDOW_GET_DRAWING_SURFACE will return a reference to the native object that you can draw to in order to draw directly to the window surface. Under native VMs this is usually the same as the native Window itself, while under Java it is a java.awt object that may be different to the Window.

See Also:
Constant Field Values

NATIVE_WINDOW_GET_CONTAINING_WINDOW

public static final int NATIVE_WINDOW_GET_CONTAINING_WINDOW
This is an option for INFO_NATIVE_WINDOW.

See Also:
Constant Field Values

NATIVE_WINDOW_GET_DRAWING_SURFACE

public static final int NATIVE_WINDOW_GET_DRAWING_SURFACE
This is an option for INFO_NATIVE_WINDOW.

See Also:
Constant Field Values

INFO_POSITION_IN_NATIVE_DRAWING_SURFACE

public static final int INFO_POSITION_IN_NATIVE_DRAWING_SURFACE
Used with Window.getInfo(). This is used for retrieving a the x,y position of a particular Ewe Control within the native windows drawing surface. This will allow native code to draw dirctly on to that control.

Pass the Control as the source parameter and a null object as the destination parameter. A new ewe.fx.Point() object will be returned containing the x,y position, or null if the control is not in the Window.

See Also:
Constant Field Values

INFO_ACCEPT_DROPPED_FILES

public static final int INFO_ACCEPT_DROPPED_FILES
This is used for setInfo() only. Set the options to 1 to accept dropped files, 0 to reject dropped files.

See Also:
Constant Field Values