|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cork.event.DeviceEvent
An even generated by a device.
Constructor Summary | |
DeviceEvent(Device device)
Constructor for the DeviceEvent object |
|
DeviceEvent(Device device,
int code)
Constructor for the DeviceEvent object |
|
DeviceEvent(Device device,
int code,
java.lang.String message)
Constructor for the DeviceEvent object |
|
DeviceEvent(Device device,
java.lang.String message)
Constructor for the DeviceEvent object |
Method Summary | |
int |
getCode()
Gets the code attribute of the DeviceEvent object |
Device |
getDevice()
Gets the device attribute of the DeviceEvent object |
java.lang.String |
getMessage()
Gets the message attribute of the DeviceEvent object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeviceEvent(Device device)
device
- Description of Parameterpublic DeviceEvent(Device device, int code)
device
- Description of Parametercode
- Description of Parameterpublic DeviceEvent(Device device, java.lang.String message)
device
- Description of Parametermessage
- Description of Parameterpublic DeviceEvent(Device device, int code, java.lang.String message)
device
- Description of Parametercode
- Description of Parametermessage
- Description of ParameterMethod Detail |
public java.lang.String getMessage()
public int getCode()
public Device getDevice()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |