|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsophware.home.lang.StateObject
sophware.home.lang.BinaryObject
sophware.home.lang.HomeDevice
sophware.home.lang.LampDevice
public class LampDevice
LampDevice represents home devices that are lights/lamps.
| Field Summary |
|---|
| Fields inherited from class sophware.home.lang.BinaryObject |
|---|
OFF, ON |
| Constructor Summary | |
|---|---|
LampDevice(DeviceAddress address)
Creates a LampDevice with the given
DeviceAddress |
|
LampDevice(DeviceAddress address,
java.lang.String name)
Creates a LampDevice with the given
DeviceAddress and name |
|
| Method Summary |
|---|
| Methods inherited from class sophware.home.lang.HomeDevice |
|---|
equals, getAddress, getName, getProperties, sendHail, sendOff, sendOn, sendStatusRequest, setName, setProperties, toString, update |
| Methods inherited from class sophware.home.lang.BinaryObject |
|---|
isOn, setOn, stateEquals |
| Methods inherited from class sophware.home.lang.StateObject |
|---|
addStateChangeListener, fireStateChange, removeStateChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LampDevice(DeviceAddress address)
LampDevice with the given
DeviceAddress
address - the DeviceAddress of the lamp
public LampDevice(DeviceAddress address,
java.lang.String name)
LampDevice with the given
DeviceAddress and name
address - the DeviceAddress of the lampname - of this device
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||