net.infonode.properties.types

Class IconProperty

public class IconProperty extends ValueHandlerProperty

A property of type {@link Icon}.

Version: $Revision: 1.7 $

Author: $Author: jesper $

Constructor Summary
IconProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.
Method Summary
Iconget(Object valueContainer)
Returns the icon value of this property in a value container.
voidset(Object valueContainer, Icon icon)
Sets the icon value of this property in a value container.

Constructor Detail

IconProperty

public IconProperty(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 Icon get(Object valueContainer)
Returns the icon value of this property in a value container.

Parameters: valueContainer the value container

Returns: the icon value of this property

set

public void set(Object valueContainer, Icon icon)
Sets the icon value of this property in a value container.

Parameters: valueContainer the value container icon the icon value