|
||||||||||
| 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.properties.TypeAttr
public class TypeAttr
The TypeAttr class represents a type of attribute.
| Field Summary |
|---|
| Fields inherited from class cz.zcu.fav.kiv.editor.beans.types.Type |
|---|
defaultValue, name, unit, value |
| Constructor Summary | |
|---|---|
TypeAttr()
Initializes a newly created empty TypeAttr. |
|
| Method Summary | |
|---|---|
void |
changeValue(java.lang.String value)
Sets the new value of the type (standard and temporary value) and marks the attribute as chosen. |
java.lang.String |
getOwnerName()
Return the name of the owner element - parameter or attribute. |
void |
setAttr(Attribute attr)
|
void |
setDefault()
Sets the default and temporary value of the type and its unit. |
void |
setValuesFromTemporary()
Sets values of the type and its unit after their temporary values. |
void |
updateValue()
Sets the new temporary value of the type. |
| 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 TypeAttr()
TypeAttr.
| Method Detail |
|---|
public void setValuesFromTemporary()
public void changeValue(java.lang.String value)
attribute as chosen.
changeValue in class Typevalue - a new value of the type.public void updateValue()
updateValue in class Typepublic void setAttr(Attribute attr)
public void setDefault()
default and temporary value of the type and its unit.
setDefault in class Typepublic 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 | |||||||||