Package 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 typeAlignment
.
-
-
Constructor Summary
Constructors Constructor Description AlignmentProperty(PropertyGroup group, java.lang.String name, java.lang.String description, PropertyValueHandler valueHandler, Alignment[] validValues)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 net.infonode.properties.types.EnumProperty
getValidValues, getValue, setValue
-
Methods inherited from class net.infonode.properties.util.ValueHandlerProperty
removeValue, valueIsRemovable, valueIsSet
-
Methods inherited from class net.infonode.properties.util.AbstractProperty
canBeAssiged, getDescription, getGroup, getName, getType, isMutable, toString
-
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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
-
-