net.infonode.properties.types

Class ButtonFactoryProperty

public class ButtonFactoryProperty extends ValueHandlerProperty

A property which has {@link ButtonFactory}'s as values.

Version: $Revision: 1.2 $

Author: $Author: jesper $

Constructor Summary
ButtonFactoryProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.
Method Summary
ButtonFactoryget(Object valueContainer)
Returns the {@link ButtonFactory} value of this property in a value container.
voidset(Object valueContainer, ButtonFactory buttonFactory)
Sets the {@link ButtonFactory} value of this property in a value container.

Constructor Detail

ButtonFactoryProperty

public ButtonFactoryProperty(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 ButtonFactory get(Object valueContainer)
Returns the {@link ButtonFactory} value of this property in a value container.

Parameters: valueContainer the value container

Returns: the button factory value of this property

set

public void set(Object valueContainer, ButtonFactory buttonFactory)
Sets the {@link ButtonFactory} value of this property in a value container.

Parameters: valueContainer the value container buttonFactory the button factory