net.infonode.properties.types
Class IconProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.IconProperty
- All Implemented Interfaces:
- Property
- public class IconProperty
- extends ValueHandlerProperty
A property of type Icon.
- Version:
- $Revision: 1.7 $
|
Method Summary |
Icon |
get(Object valueContainer)
Returns the icon value of this property in a value container. |
void |
set(Object valueContainer,
Icon icon)
Sets the icon value of this property in a value container. |
IconProperty
public IconProperty(PropertyGroup group,
String name,
String description,
PropertyValueHandler valueHandler)
- Constructor.
- Parameters:
group - the property groupname - the property namedescription - the property descriptionvalueHandler - handles values for 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 containericon - the icon value
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
Copyright © 2007 NNL Technology AB. All Rights Reserved.