|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeviceUnitPropertyHandler
The interface for delegates used by DeviceInfo for managing
the device units of a configured device.
User code should not invoke the methods of this class directly. Instead,
instances of this interface must be handed off to new instances of
DeviceInfo. Such objects will handle the use of this
interface to manage the device units.
DeviceInfo| Method Summary | |
|---|---|
void |
addDeviceUnitListener(DeviceUnitListener l)
Adds the given DeviceUnitListener to the list of listeners. |
void |
addUnit(Integer unitType)
Adds a new unit of the given type to the device managed by this handler. |
Collection |
getUnitTypes()
Returns the unit types for this handler. |
void |
propertyValueAdded(ConfigElementEvent evt)
Invoked when a property value is added to the config element being held by this handler. |
void |
propertyValueChanged(ConfigElementEvent evt)
Invoked when a property value is changed in the config element being held by this handler. |
void |
propertyValueOrderChanged(ConfigElementEvent evt)
Invoked when the order of property values is changed in the config element being held by this handler. |
void |
propertyValueRemoved(ConfigElementEvent evt)
Invoked when a property value is removed from the config element being held by this handler. |
void |
removeDeviceUnitListener(DeviceUnitListener l)
Removes the given DeviceUnitListener to from list of
listeners. |
void |
removeUnit(Integer unitType,
int unitNumber)
Removes the identified unit of the given type from the device managed by this handler. |
void |
setConfig(ConfigContext ctx,
ConfigElement elt)
Sets the configuration information for the configured device. |
void |
setUnitTypeMap(Map unitTypeMap)
Sets the unit type map for the configured device. |
| Method Detail |
|---|
void setConfig(ConfigContext ctx,
ConfigElement elt)
void setUnitTypeMap(Map unitTypeMap)
Integer to some type, as defined in
UnitConstants. The values of the map are dependent upon
the specific implementation of this interface.
UnitConstantsCollection getUnitTypes()
Integer objects as defined in UnitConstants.
UnitConstantsvoid propertyValueAdded(ConfigElementEvent evt)
DeviceUnitEvent event being generated is dependent upon the
specific implementation of this interface.
void propertyValueChanged(ConfigElementEvent evt)
DeviceUnitEvent event being generated is dependent upon the
specific implementation of this interface.
void propertyValueOrderChanged(ConfigElementEvent evt)
DeviceUnitEvent event being generated is dependent upon the
specific implementation of this interface.
void propertyValueRemoved(ConfigElementEvent evt)
DeviceUnitEvent event being generated is dependent upon the
specific implementation of this interface.
void addUnit(Integer unitType)
unitType - the type (as defined in UnitConstants of
the device unit to be added)UnitConstants
void removeUnit(Integer unitType,
int unitNumber)
unitType - the type (as defined in UnitConstants of
the device unit to be added)unitNumber - the index of the unit to removeUnitConstantsvoid addDeviceUnitListener(DeviceUnitListener l)
DeviceUnitListener to the list of listeners.
void removeDeviceUnitListener(DeviceUnitListener l)
DeviceUnitListener to from list of
listeners.
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||