net.infonode.properties.types
Class AlignmentProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.EnumProperty
net.infonode.properties.types.AlignmentProperty
- All Implemented Interfaces:
- Property
public class AlignmentProperty
- extends EnumProperty
A property of type Alignment
.
- Version:
- $Revision: 1.6 $
- Author:
- $Author: jesper $
Method Summary |
Alignment |
get(java.lang.Object valueContainer)
Returns the alignment value of this property in a value container. |
void |
set(java.lang.Object valueContainer,
Alignment alignment)
Sets the alignment value of this property in a value container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AlignmentProperty
public AlignmentProperty(PropertyGroup group,
java.lang.String name,
java.lang.String description,
PropertyValueHandler valueHandler,
Alignment[] validValues)
- Constructor.
- Parameters:
group
- the property groupname
- the property namedescription
- the property descriptionvalueHandler
- handles values for this propertyvalidValues
- valid values for this property
get
public Alignment get(java.lang.Object valueContainer)
- Returns the alignment value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the alignment value of this property
set
public void set(java.lang.Object valueContainer,
Alignment alignment)
- Sets the alignment value of this property in a value container.
- Parameters:
valueContainer
- the value containeralignment
- the alignment value