net.infonode.properties.types
Class ColorProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.ColorProperty
- All Implemented Interfaces:
- Property
- public class ColorProperty
- extends ValueHandlerProperty
A property of type Color
.
- Version:
- $Revision: 1.7 $
Method Summary |
Color |
get(Object valueContainer)
Returns the color value of this property in a value container. |
void |
set(Object valueContainer,
Color color)
Sets the color value of this property in a value container. |
ColorProperty
public ColorProperty(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
get
public Color get(Object valueContainer)
- Returns the color value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the color value of this property
set
public void set(Object valueContainer,
Color color)
- Sets the color value of this property in a value container.
- Parameters:
valueContainer
- the value containercolor
- the color value
Copyright © 2007 NNL Technology AB. All Rights Reserved.