|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectjava.util.EventObject
oracle.adfmf.framework.event.Event
public abstract class Event
Abstract class representing a mobile application framework event
An event is defined with:
EventSource
,
Serialized FormField Summary | |
---|---|
static int |
APPLICATION_STATE_BACKGROUND
application is in background at the time of event |
static int |
APPLICATION_STATE_FOREGROUND
application is running in foreground at the time of event |
static int |
APPLICATION_STATE_NOT_RUNNING
application is not running and was started due to event |
static int |
APPLICATION_STATE_UNKNOWN
application state unknown |
Constructor Summary | |
---|---|
Event(EventSource source,
Object payload)
Constructor - for events with application state unknown at the time of event |
|
Event(EventSource source,
Object payload,
int appState)
Constructor |
Method Summary | |
---|---|
int |
getApplicationState()
Returns the application state at the time of event. |
String |
getPayload()
Get event payload as a string |
Object |
getPayloadObject()
Get event payload object |
boolean |
isStartTriggered()
Deprecated. use getApplicationState() instead |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int APPLICATION_STATE_UNKNOWN
public static final int APPLICATION_STATE_NOT_RUNNING
public static final int APPLICATION_STATE_BACKGROUND
public static final int APPLICATION_STATE_FOREGROUND
Constructor Detail |
---|
public Event(EventSource source, Object payload, int appState)
source
- event sourcepayload
- event informationappState
- application state at the time of event. Can be one of the
following:
public Event(EventSource source, Object payload)
source
- event sourcepayload
- event informationMethod Detail |
---|
public String getPayload()
public Object getPayloadObject()
public int getApplicationState()
public boolean isStartTriggered()
getApplicationState()
instead
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |