Packagecom.ghostwire.ui.enums
Classpublic final class WINDOW

Defines constants for the values to be used for the mode property of uiWindow instances.

~ This class is available in Aspire UI Components Standard Edition ~

See also

com.ghostwire.ui.containers.uiWindow


Public Constants
 ConstantDefined by
  CAN_CLOSE : int = 1
[static] Indicates that the uiWindow instance can be closed by end-users and should therefore display the close button in the titlebar.
WINDOW
  CAN_MAXIMIZE : int = 2
[static] Indicates that the uiWindow instance can be maximized by end-users and should therefore display the maximize button in the titlebar.
WINDOW
  CAN_MINIMIZE : int = 4
[static] Indicates that the uiWindow instance can be minimized by end-users and should therefore display the minimize button in the titlebar.
WINDOW
  CAN_MOVE : int = 8
[static] Indicates that the uiWindow instance can be moved by end-users by pressing down on the title bar and dragging it.
WINDOW
  CAN_RESIZE : int = 16
[static] Indicates that the uiWindow instance can be resized by end-users.
WINDOW
  FIXED : int = 0
[static] Indicates that the uiWindow instance cannot be closed, maximized, minimized, moved or resized by end-users.
WINDOW
  IS_MODAL : int = 32
[static] Indicates that the uiWindow instance is modal.
WINDOW
  MODAL : int = 41
[static] Indicates that the uiWindow instance is modal, can be moved and can be closed but not resized by end-users.
WINDOW
  NORMAL : int = 31
[static] Indicates that the uiWindow instance can be closed, maximized, minimized and resized by end-users.
WINDOW
Constant detail
CAN_CLOSEconstant
public static const CAN_CLOSE:int = 1

Indicates that the uiWindow instance can be closed by end-users and should therefore display the close button in the titlebar.

CAN_MAXIMIZEconstant 
public static const CAN_MAXIMIZE:int = 2

Indicates that the uiWindow instance can be maximized by end-users and should therefore display the maximize button in the titlebar.

CAN_MINIMIZEconstant 
public static const CAN_MINIMIZE:int = 4

Indicates that the uiWindow instance can be minimized by end-users and should therefore display the minimize button in the titlebar.

CAN_MOVEconstant 
public static const CAN_MOVE:int = 8

Indicates that the uiWindow instance can be moved by end-users by pressing down on the title bar and dragging it.

CAN_RESIZEconstant 
public static const CAN_RESIZE:int = 16

Indicates that the uiWindow instance can be resized by end-users.

FIXEDconstant 
public static const FIXED:int = 0

Indicates that the uiWindow instance cannot be closed, maximized, minimized, moved or resized by end-users. The value of this constant is equivalent zero (0).

IS_MODALconstant 
public static const IS_MODAL:int = 32

Indicates that the uiWindow instance is modal.

MODALconstant 
public static const MODAL:int = 41

Indicates that the uiWindow instance is modal, can be moved and can be closed but not resized by end-users. The value of this constant is equivalent to WINDOW.CAN_CLOSE|WINDOW.CAN_MOVE|WINDOW.IS_MODAL.

NORMALconstant 
public static const NORMAL:int = 31

Indicates that the uiWindow instance can be closed, maximized, minimized and resized by end-users. The value of this constant is equivalent to WINDOW.CAN_CLOSE|WINDOW.CAN_MAXIMIZE|WINDOW.CAN_MINIMIZE|WINDOW.CAN_MOVE|WINDOW.CAN_RESIZE.