|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--pilot.controls.AbstractControl
| Field Summary | |
protected java.util.Vector |
choices_
The collection of choices of the control. |
protected java.lang.Class |
controlClass_
The class of the values of the control. |
protected java.lang.String |
name_
The name of the control. |
protected java.lang.Object |
parent_
The object that initiates the control. |
protected java.lang.String |
type_
The type of control. |
| Constructor Summary | |
AbstractControl()
|
|
| Method Summary | |
java.util.Vector |
getChoices()
The method getChoices returns the choices the values that are possible for this control. |
java.lang.Class |
getControlClass()
The method setControlClass returns the clas of the values of the control |
abstract java.lang.Integer |
getControlClassifiedValue(java.lang.Object value)
The method getControlClassifiedValue takes a value and maps it to a value class. |
abstract java.lang.Integer |
getControlValue()
The method getControlValue measures the current value of the control. |
java.lang.String |
getName()
The method getName returns the name of the control. |
java.lang.Object |
getParent()
The method getParent returns the object that initiated this object. |
java.lang.String |
getType()
The method getType returns the type of control. |
void |
setChoices(java.util.Vector choices)
The method setChoices defines the choices of the values that are possible for this control. |
void |
setControlClass(java.lang.String className)
The method setControlClass sets the clas of the values of the control |
void |
setName(java.lang.String name)
The method setName sets the name of the control. |
void |
setParent(java.lang.Object parent)
The method setParent sets the object that initiated this object. |
void |
setType(java.lang.String type)
The method setType sets the type of control. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name_
protected java.lang.String type_
protected java.util.Vector choices_
protected java.lang.Object parent_
protected java.lang.Class controlClass_
| Constructor Detail |
public AbstractControl()
| Method Detail |
public abstract java.lang.Integer getControlValue()
public abstract java.lang.Integer getControlClassifiedValue(java.lang.Object value)
value - The measured value.public void setName(java.lang.String name)
name - The name of the control.public java.lang.String getName()
public void setChoices(java.util.Vector choices)
choices - Vector with choices.public java.util.Vector getChoices()
public void setType(java.lang.String type)
type - The type of controlpublic java.lang.String getType()
public void setParent(java.lang.Object parent)
parent - The object that initiated this objectpublic java.lang.Object getParent()
public void setControlClass(java.lang.String className)
className - The name of the classpublic java.lang.Class getControlClass()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||