|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sourceforge.wurfl.core.resource.WURFLModelEvent
public class WURFLModelEvent
The event fired by the WURFLModel.
| Field Summary | |
|---|---|
static int |
DEVICE_ADDED
Constant for device added event |
static int |
DEVICE_UPDATED
Constant for device updated event |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
WURFLModelEvent(WURFLModel source,
int type,
Set<ModelDevice> devices)
Build a WURFLModelEvent from WURFLModel, type and target
devices. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Set<ModelDevice> |
getDevices()
Return the target devices of this event. |
int |
getType()
Return the event type in DEVICE_ADDED, DEVICE_REMOVED or DEVICE_UPDATED. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEVICE_ADDED
public static final int DEVICE_UPDATED
| Constructor Detail |
|---|
public WURFLModelEvent(WURFLModel source,
int type,
Set<ModelDevice> devices)
WURFLModelEvent from WURFLModel, type and target
devices.
source - The model firing this event.type - The type of event fired in DEVICE_ADDED, DEVICE_REMOVED,
DEVICE_UPDATED.devices - The ModelDevices target of this event.| Method Detail |
|---|
public int getType()
public Set<ModelDevice> getDevices()
Set of ModelDevice target of this event.public String toString()
toString in class EventObjectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||