net.infonode.properties.types
Class DirectionProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.EnumProperty
net.infonode.properties.types.DirectionProperty
- All Implemented Interfaces:
- Property
public class DirectionProperty
- extends EnumProperty
A property of type Direction
.
- Version:
- $Revision: 1.6 $
- Author:
- $Author: jesper $
Method Summary |
Direction |
get(java.lang.Object valueContainer)
Returns the Direction value of this property in a value container. |
void |
set(java.lang.Object valueContainer,
Direction direction)
Sets the Direction 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 |
DirectionProperty
public DirectionProperty(PropertyGroup group,
java.lang.String name,
java.lang.String description,
PropertyValueHandler valueHandler)
- Constructor.
- Parameters:
group
- the property groupname
- the property namedescription
- the property descriptionvalueHandler
- handles values for this property
get
public Direction get(java.lang.Object valueContainer)
- Returns the
Direction
value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the boolean value of this property
set
public void set(java.lang.Object valueContainer,
Direction direction)
- Sets the
Direction
value of this property in a value container.
- Parameters:
valueContainer
- the value containerdirection
- the Direction
value