|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatabeans.DeviceList
Bean holding a list of devices.
| Constructor Summary | |
DeviceList()
Construct a default DeviceList with an empty array. |
|
DeviceList(java.util.Vector devices)
Construct a DeviceList from a Vector array. |
|
| Method Summary | |
void |
addDevice(Device device)
Add a device to the list of devices |
Device |
getDevice(int index)
Retrieve a device from the list of devices. |
java.util.ArrayList |
getDevices()
|
int |
getNumDevices()
|
void |
setDevices(java.util.ArrayList devices)
|
void |
setNumDevices(int numDevices)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DeviceList()
public DeviceList(java.util.Vector devices)
devices - Vector holding a set of Device objects| Method Detail |
public int getNumDevices()
public void setNumDevices(int numDevices)
public java.util.ArrayList getDevices()
public void setDevices(java.util.ArrayList devices)
public void addDevice(Device device)
device - to add to the list of devicespublic Device getDevice(int index)
index - int position of the device to retrieve
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||