net.infonode.properties.types

Class DirectionProperty

public class DirectionProperty extends EnumProperty

A property of type Direction.

Version: $Revision: 1.6 $

Author: $Author: jesper $

Constructor Summary
DirectionProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.
Method Summary
Directionget(Object valueContainer)
Returns the Direction value of this property in a value container.
voidset(Object valueContainer, Direction direction)
Sets the Direction value of this property in a value container.

Constructor Detail

DirectionProperty

public DirectionProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.

Parameters: group the property group name the property name description the property description valueHandler handles values for this property

Method Detail

get

public Direction get(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(Object valueContainer, Direction direction)
Sets the Direction value of this property in a value container.

Parameters: valueContainer the value container direction the Direction value