cz.zcu.fav.kiv.editor.beans.parameters
Class Parameter
java.lang.Object
java.util.Observable
cz.zcu.fav.kiv.editor.beans.common.GeneralElement
cz.zcu.fav.kiv.editor.beans.common.ParentParameter
cz.zcu.fav.kiv.editor.beans.parameters.Parameter
- All Implemented Interfaces:
- java.lang.Comparable
public class Parameter
- extends ParentParameter
The Parameter
class represents an element parameter.
- Version:
- 1.0, 05/2007
- Author:
- Marta Vaclavikova
Constructor Summary |
Parameter(java.lang.String name)
|
Parameter(java.lang.String name,
int lineNumber)
Initializes a newly created Parameter with the specified name. |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter
public Parameter(java.lang.String name,
int lineNumber)
- Initializes a newly created
Parameter
with the specified name. Parameter is
marked as not chosen. The name
argument is the name of the parameter.
- Parameters:
name
- a name of the parameter.
Parameter
public Parameter(java.lang.String name)
getType
public TypeParam getType()
setType
public void setType(TypeParam type)
clearValues
public void clearValues()
- Clear values (sets default values) of the parameter type and notify its observers.
- Overrides:
clearValues
in class ParentParameter
updateFigure
public void updateFigure()
- Update the value of the
Figure
s associated with the parameter.