|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.ercp.swt.mobile.MobileDeviceEvent
public class 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
,
Serialized FormField 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. |
boolean |
doit
Constructs a new instance of this class and associates it with the given mobile device. |
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 |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
MobileDeviceEvent(MobileDevice device)
|
Method Summary |
---|
Methods inherited from class org.eclipse.swt.events.TypedEvent |
---|
toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
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.
public boolean doit
MobileDevice
Constructor Detail |
---|
public MobileDeviceEvent(MobileDevice device)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |