Id - type of identifier for this JointGroup's JointsGroupConfig - type of JointGroupConfiguration used by children
JointGroupspublic interface JointGroupConfig<Id,GroupConfig extends JointGroupConfig<Id,? extends GroupConfig>> extends PropertyChangeSource
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_ADD_JOINT_GROUP
Property String for adding a child JointGroup
|
static String |
PROP_ADD_JOINT_ID
Property String for adding a JointId
|
static String |
PROP_ENABLED
Property String for enabled
|
static String |
PROP_NAME
Property String for name
|
static String |
PROP_REMOVE_JOINT_GROUP
Property String for removing a child JointGroup
|
static String |
PROP_REMOVE_JOINT_ID
Property String for removing a JointId
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(GroupConfig group)
Add a child JointGroupConfig.
|
void |
addJointId(Id jointId)
Adds a JointId to the JointGroupConfig
|
boolean |
getEnabled()
Returns the default enabled state
|
int |
getGroupCount()
Return the number of child JointGroupConfigs.
|
int |
getJointCount()
Returns the number of JointIds for this JointGroupConfig.
|
GroupConfig |
getJointGroup(int index)
Returns the child JointGroupConfig at the given index.
|
List<GroupConfig> |
getJointGroups()
Returns a List of the children JointGroupConfigs.
|
Id |
getJointId(int index)
Returns the JointId at the given index.
|
List<Id> |
getJointIds()
Returns a List of JointIds for this JointGroup
|
String |
getName()
Returns the name to use
|
void |
insertGroup(GroupConfig group,
int index)
Add a child JointGroupConfig at the given index.
|
void |
insertJointId(Id jointId,
int index)
Adds a JointId at the given index
|
void |
removeGroup(GroupConfig group)
Removes a child JointGroupConfig.
|
void |
removeGroupAt(int index)
Removes a child JointGroupConfig at the given index.
|
void |
removeJointId(Id jointId)
Removes a JointId
|
void |
removeJointIdAt(int index)
Removes the JointId with the given index.
|
void |
setEnabled(boolean enabled)
Sets the default enabled state of the JointGroup
|
void |
setName(String name)
Sets the name of the JointGroup
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerstatic final String PROP_NAME
static final String PROP_ENABLED
static final String PROP_ADD_JOINT_ID
static final String PROP_REMOVE_JOINT_ID
static final String PROP_ADD_JOINT_GROUP
static final String PROP_REMOVE_JOINT_GROUP
void setName(String name)
name - new name to useString getName()
void setEnabled(boolean enabled)
enabled - default enabled state to useboolean getEnabled()
void addJointId(Id jointId)
jointId - id to addvoid insertJointId(Id jointId, int index)
jointId - id to addindex - index for the jointIdvoid removeJointId(Id jointId)
jointId - id to removevoid removeJointIdAt(int index)
index - position of the JointId in this JointGroupConfig's JointIdsList<Id> getJointIds()
Id getJointId(int index)
index - position of the JointId in the JointGroupConfig's JointIdsint getJointCount()
void addGroup(GroupConfig group)
group - child JointGroupConfig to addvoid insertGroup(GroupConfig group, int index)
group - child JointGroupConfig to addindex - position to add the childvoid removeGroup(GroupConfig group)
group - the child to removevoid removeGroupAt(int index)
index - position of the child to removeList<GroupConfig> getJointGroups()
GroupConfig getJointGroup(int index)
index - position to the child to removeint getGroupCount()
Copyright © 2011-2014. All Rights Reserved.