|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.events.TypedEvent org.eclipse.ercp.swt.mobile.MobileDeviceEvent
Instances of this class are sent as a result of device configuration changes.
In the case of an inputChanged
event, the data
field contains an Input
object. In the case of a
screenChanged
event, the data
field contains a
Screen
object.
MobileDeviceListener
Field Summary | |
static int |
ADDED
This indicates that a new feature has become available. |
static int |
CLOSED
This indicates that internal screens and input features are no longer active. |
java.lang.Object |
feature
The instance of an Input or Screen object
being added or removed when the device configuration changes. |
static int |
OPENED
This indicates that internal screens and input features are now active. |
static int |
REMOVED
This indicates that a feature is no longer available. |
int |
type
the event type. |
Fields inherited from class org.eclipse.swt.events.TypedEvent |
data, display, time, widget |
Constructor Summary | |
MobileDeviceEvent(MobileDevice device)
Constructs a new instance of this class and associates it with the given mobile device. |
Methods inherited from class org.eclipse.swt.events.TypedEvent |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int OPENED
public static final int CLOSED
public static final int ADDED
public static final int REMOVED
public int type
public java.lang.Object feature
Input
or Screen
object
being added or removed when the device configuration changes. The
value is null when the type
value is not ADDED or REMOVED.
Constructor Detail |
public MobileDeviceEvent(MobileDevice device)
device
- the device object which is the source of this eventMobileDevice
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |