cz.zcu.fav.kiv.editor.beans.properties
Class Property
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.properties.Property
- All Implemented Interfaces:
- java.lang.Comparable
public class Property
- extends ParentParameter
The Property
class represents an element property.
- Version:
- 1.0, 05/2007
- Author:
- Marta Vaclavikova
Constructor Summary |
Property(java.lang.String name,
AttributeGroup[] attributeGroups,
int lineNumber)
Initializes a newly created Attribute with the specified name and the list of
attribute groups. |
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 |
Property
public Property(java.lang.String name,
AttributeGroup[] attributeGroups,
int lineNumber)
- Initializes a newly created
Attribute
with the specified name and the list of
attribute groups. The name
argument is the name of the property. The
attributeGroups
argument is the list of AttributeGroup
s.
- Parameters:
name
- a name of the property.attributeGroups
- a list of attribute groups.
getAttributeGroupList
public AttributeGroup[] getAttributeGroupList()
searchAttribute
public Attribute searchAttribute(java.lang.String name)
- Search for an attribute with specified name.
- Parameters:
name
- a name of serched attribute.
- Returns:
- the found attribute with specified name.
setValuesFromTemporary
public void setValuesFromTemporary()
- Sets values of all groups of types after their temporary values.
clearValues
public void clearValues()
- Clear values (sets default values) of all groups of types.
- Overrides:
clearValues
in class ParentParameter