|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.dpml.appliance.ApplianceEvent
public class ApplianceEvent
Event triggered as a result of a state change within an appliance.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ApplianceEvent(Appliance source,
Status status)
Construct a new StateEvent . |
Method Summary | |
---|---|
Appliance |
getAppliance()
Return the appliance that initiated the event. |
Status |
getStatus()
Return the appliance status. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplianceEvent(Appliance source, Status status)
StateEvent
.
source
- the source appliancestatus
- the appliance stateMethod Detail |
---|
public Appliance getAppliance()
public Status getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |