public class SurfaceWindowEvent extends SurfaceEvent
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVATE
This indicates that the window is now active.
|
static int |
APP_MINIMIZE
This is a request from the VM for the application to minimize all its windows.
|
static int |
APP_TO_FRONT
This is a request from the VM for the application to bring itself to the front - displaying whatever
it considers to be the current active window.
|
static int |
CAN_DISPLAY
This is called when the Window can now be displayed.
|
static int |
CLOSE
This event is generated when either the close button for the window is pressed
OR the system wants to close your application.
|
Object |
data
/**
In the case of a DATA_DROPPED event
this will hold data that has been dropped into the window.
|
static int |
DATA_DROPPED
This event occurs when the user drops data picked up from another application or from the OS shell.
|
static int |
DEACTIVATE
This indicates that the window is no longer active.
|
static int |
FLAG_CLOSE_BY_USER
This bit is used as a flag to mApp.closeMobileApp() if the system knows for sure that
the CLOSE event was generated by the user pressing one of the system close buttons.
|
static int |
HIBERNATE
This indicates that the system (WinCE) wishes a Window to minimize its memory footprint.
|
static int |
PAINT_ALL
This occurs when the underlying system request a repaint of the Window surface.
|
int |
x
In the case of a DATA_DROPPED event this will be
the x-coordinate where the data was dropped.
|
int |
y
In the case of a DATA_DROPPED event this will be
the y-coordinate where the data was dropped.
|
Constructor and Description |
---|
SurfaceWindowEvent() |
getSurface
clearPostData, getPostData, isReused, setPostData, setReused
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public static final int CLOSE
public static final int ACTIVATE
public static final int DEACTIVATE
public static final int HIBERNATE
public static final int APP_TO_FRONT
public static final int APP_MINIMIZE
public static final int FLAG_CLOSE_BY_USER
public static final int DATA_DROPPED
public static final int PAINT_ALL
public static final int CAN_DISPLAY
public int x
public int y
public Object data