public class WindowCreationData extends Object implements WindowConstants
Modifier and Type | Field and Description |
---|---|
Rect |
bounds
The location for the window.
|
static int |
DEFAULT_VALUE
This is the default value for the x, y, width or height for the bounds
of the created window.
|
int |
flagsToClear |
int |
flagsToSet
This is a combination of any of the IWindowConstants that are not STATE_XXX constants.
|
DeviceIcon |
icon
An optional icon for the Window.
|
String |
nativeWindowClassName
Under Win32 this must be a unique name for this class of window.
|
Object |
parentWindow
Used by WindowContainer only.
|
int |
screenId
The ID of the screen it is being displayed on (for multi-displays).
|
int |
state
This should be one of the STATE_XXX values.
|
String |
title
The title for the window.
|
FLAG_ACCEPTS_DROPPED_FILES, FLAG_ALWAYS_ENABLED, FLAG_ALWAYS_ON_TOP, FLAG_CAN_MAXIMIZE, FLAG_CAN_MINIMIZE, FLAG_CAN_RESIZE, FLAG_DONT_CLEAR_BACKGROUND, FLAG_FOR_SIZE_NO_CLOSE_BUTTON, FLAG_FOR_SIZE_NO_TITLE, FLAG_FULL_SCREEN, FLAG_HAS_CLOSE_BUTTON, FLAG_HAS_TASKBAR_ENTRY, FLAG_HAS_TITLE, FLAG_IS_DEFAULT_SIZE, FLAG_IS_DEFAULT_SURFACE, FLAG_IS_ICONIZED, FLAG_IS_MODAL, FLAG_IS_NOT_DEFAULT_SURFACE, FLAG_IS_VISIBLE, FLAG_MAXIMIZE, FLAG_MAXIMIZE_ON_PDA, FLAG_MINIMIZE, FLAG_SHOW_SIP_BUTTON, FLAG_VISIBLE_ON_TO_FRONT, GUI_FLAG_DONT_REPAINT_ON_RESIZE, GUI_FLAG_HAS_TASKBAR, GUI_FLAG_REPAINT_FULL_CONTROL, GUI_FLAG_REVERSE_OK_CANCEL, SPECIAL_MOUSE_MOVE, SPECIAL_MOUSE_RELEASE_CAPTURE, SPECIAL_MOUSE_RESIZE, STATE_ACCEPT_DROPPED_FILES, STATE_FULL_SCREEN, STATE_MAXIMIZED, STATE_MINIMIZED, STATE_NORMAL, STATE_REJECT_DROPPED_FILES, STATE_RESTORE, STATE_TO_FRONT, STATE_UNKNOWN
Constructor and Description |
---|
WindowCreationData() |
Modifier and Type | Method and Description |
---|---|
WindowSurface |
create()
This is a convenience method - it calls getNew() on WindowSurface and then
calls create on that surface with this WindowCreationData.
|
WindowCreationData |
setForDefaultSurface(int extraFlagsToSet,
int extraFlagsToClear)
Setup the WindowCreationData flags as it would be used as the default Window Surface.
|
public String nativeWindowClassName
public Object parentWindow
public int screenId
public static final int DEFAULT_VALUE
public int state
public String title
public Rect bounds
public DeviceIcon icon
public int flagsToSet
public int flagsToClear
public WindowSurface create()
public WindowCreationData setForDefaultSurface(int extraFlagsToSet, int extraFlagsToClear)
extraFlagsToSet
- - extra flags that should also be set.extraFlagsToClear
- - extra flags that should also be cleared.