|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
cz.zcu.fav.kiv.editor.beans.types.Type
cz.zcu.fav.kiv.editor.beans.parameters.TypeParam
public class TypeParam
The TypeParam
class represents a type of parameter.
Field Summary |
---|
Fields inherited from class cz.zcu.fav.kiv.editor.beans.types.Type |
---|
defaultValue, name, unit, value |
Constructor Summary | |
---|---|
TypeParam(Parameter param)
Initializes a newly created TypeParam with reference to the appropriate
parameter. |
Method Summary | |
---|---|
void |
changeValue(java.lang.String value)
Sets the new value of the type, marks the parameter as chosen and update
parameter graphics figures. |
java.lang.String |
getOwnerName()
Return the name of the owner element - parameter or attribute. |
void |
setDefault()
Sets the default value of the type and its unit. |
void |
updateValue()
Sets the new value of the type and notifies its observers. |
Methods inherited from class cz.zcu.fav.kiv.editor.beans.types.Type |
---|
assignDefaultFromValue, clone, getDefaultValue, getKeyFromValue, getName, getUnit, getValue, getValueList, setDefaultValue, setLoadedValue, setName, setUnit, setValue, setValueList |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeParam(Parameter param)
TypeParam
with reference to the appropriate
parameter.
param
- a reference to the type parameter.Method Detail |
---|
public void changeValue(java.lang.String value)
parameter
as chosen and update
parameter graphics figures.
changeValue
in class Type
value
- a new value of the type.public void updateValue()
updateValue
in class Type
public void setDefault()
default value
of the type and its unit. Notifies its observers.
setDefault
in class Type
public java.lang.String getOwnerName()
Type
getOwnerName
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |