|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Id - Servo Id Type usedpublic interface ServoConfig<Id>
Configuration parameters defining a Servo.
| Field Summary | |
|---|---|
static String |
PROP_DEF_POSITION
Property string for Servo default position. |
static String |
PROP_ID
Property string for Servo logical id. |
static String |
PROP_MAX_POSITION
Property string for Servo maximum position. |
static String |
PROP_MIN_POSITION
Property string for Servo minimum position. |
static String |
PROP_NAME
Property string for Servo name. |
| Method Summary | |
|---|---|
int |
getDefaultPosition()
Returns the Servo default position. |
int |
getMaxPosition()
Returns the Servo maximum position. |
int |
getMinPosition()
Returns the Servo minimum position. |
String |
getName()
Returns the Servo name. |
Id |
getServoId()
Returns the Servo id. |
void |
setDefaultPosition(Integer pos)
Sets the Servo default position. |
void |
setMaxPosition(Integer pos)
Sets the Servo maximum position. |
void |
setMinPosition(Integer pos)
Sets the Servo minimum position. |
void |
setName(String name)
Sets the Servo name. |
void |
setServoId(Id id)
Sets the Servo id. |
| Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
static final String PROP_ID
static final String PROP_NAME
static final String PROP_MIN_POSITION
static final String PROP_MAX_POSITION
static final String PROP_DEF_POSITION
| Method Detail |
|---|
Id getServoId()
void setServoId(Id id)
id - new Servo idString getName()
void setName(String name)
name - new Servo nameint getMinPosition()
void setMinPosition(Integer pos)
pos - new Servo minimum positionint getMaxPosition()
void setMaxPosition(Integer pos)
pos - new Servo maximum positionint getDefaultPosition()
void setDefaultPosition(Integer pos)
pos - new Servo default position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||