|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vrjuggler.vrjconfig.commoneditors.devicegraph.ConfigElementHolder
org.vrjuggler.vrjconfig.commoneditors.devicegraph.BaseDeviceInfo
org.vrjuggler.vrjconfig.commoneditors.devicegraph.DeviceInfo
org.vrjuggler.vrjconfig.commoneditors.devicegraph.RelativeDeviceInfo
public class RelativeDeviceInfo
A custom device informational object for devices that are configured relative to one or more proxies.
| Constructor Summary | |
|---|---|
RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Collection unitTypes,
List pointerPropDefs)
This version of the constructor should be used when the config element has a fixed number of input sources (units) and supports multiipe input source types. |
|
RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
List pointerPropDefs)
Creates a new RelativeDeviceInfo object for a device that
has exactly one input source (unit) at all times. |
|
RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Map unitTypeMap,
DeviceUnitPropertyHandler handler,
List pointerPropDefs)
This version of the constructor should be used when the config element has a variable number of input sources (units) and supports multiipe input source types. |
|
RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Map unitTypeMap,
List pointerPropDefs)
This version of the constructor should be used when the config element has a variable number of input sources (units) and supports multiipe input source types. |
|
RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
String unitPropertyName,
List pointerPropDefs)
Creates a new DeviceInfo object and looks up the
property definition for the named property if a name is provided. |
|
| Method Summary | |
|---|---|
boolean |
acceptsSource(GraphModel model,
Object edge,
Object port)
Verifies that the given port can be a source of the given edge within the given model. |
| Methods inherited from class org.vrjuggler.vrjconfig.commoneditors.devicegraph.DeviceInfo |
|---|
addDeviceUnitListener, addUnit, getUnitTypes, hasVariableUnitCount, nameChanged, propertyValueAdded, propertyValueChanged, propertyValueOrderChanged, propertyValueRemoved, removeDeviceUnitListener, removeUnit, removeUnit |
| Methods inherited from class org.vrjuggler.vrjconfig.commoneditors.devicegraph.BaseDeviceInfo |
|---|
acceptsTarget |
| Methods inherited from class org.vrjuggler.vrjconfig.commoneditors.devicegraph.ConfigElementHolder |
|---|
getContext, getElement, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
List pointerPropDefs)
RelativeDeviceInfo object for a device that
has exactly one input source (unit) at all times. The default device
unit handler delegate is created to manage the units.
devElt - the device config elementctx - the config context that contains
devEltpointerPropDefs - the list of
org.vrjuggler.jccl.config.PropertyDefinition
objects providing the information about the
proxy types to which this device may be
configured
public RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
String unitPropertyName,
List pointerPropDefs)
DeviceInfo object and looks up the
property definition for the named property if a name is provided. The
value of unitPropertyName may be null. If it is non-null,
then it must be the name of a property in devElt's config
definition. This version of the constructor should be used when the
config element has a proeprty with a variable number of values that
indicate how many input sources (units) are available in the device.
The default device unit handler delegate is created to manage the units.
devElt - the device config elementctx - the config context that contains
devEltunitPropertyName - the name of the property that represents
the number of available input sources (units)
the device has (may be null)pointerPropDefs - the list of
org.vrjuggler.jccl.config.PropertyDefinition
objects providing the information about the
proxy types to which this device may be
configuredDefaultUnitPropertyHandler
public RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Map unitTypeMap,
List pointerPropDefs)
devElt - the device config elementctx - the config context that contains
devEltunitTypeMap - a mapping from unit types (as defined in
UnitConstants to some value that
the default device unit property handler knows
how to managepointerPropDefs - the list of
org.vrjuggler.jccl.config.PropertyDefinition
objects providing the information about the
proxy types to which this device may be
configuredUnitConstants,
DefaultUnitPropertyHandler
public RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Map unitTypeMap,
DeviceUnitPropertyHandler handler,
List pointerPropDefs)
devElt - the device config elementctx - the config context that contains
devEltunitTypeMap - a mapping from unit types (as defined in
UnitConstants to some value that
the device unit property handler knows how to
managehandler - the delegate for managing the device unit
propertiespointerPropDefs - the list of
org.vrjuggler.jccl.config.PropertyDefinition
objects providing the information about the
proxy types to which this device may be
configuredUnitConstants
public RelativeDeviceInfo(ConfigElement devElt,
ConfigContext ctx,
Collection unitTypes,
List pointerPropDefs)
devElt - the device config elementctx - the config context that contains
devEltunitTypes - the list of unit types supported by this devicepointerPropDefs - the list of
org.vrjuggler.jccl.config.PropertyDefinition
objects providing the information about the
proxy types to which this device may be
configuredUnitConstants| Method Detail |
|---|
public boolean acceptsSource(GraphModel model,
Object edge,
Object port)
ProxyInfo object) is of a type to which
we are allowed to point.
acceptsSource in class BaseDeviceInfo
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||