net.infonode.properties.types
Class ComponentPainterProperty

java.lang.Object
  extended by net.infonode.properties.util.AbstractProperty
      extended by net.infonode.properties.util.ValueHandlerProperty
          extended by net.infonode.properties.types.ComponentPainterProperty
All Implemented Interfaces:
Property

public class ComponentPainterProperty
extends ValueHandlerProperty

A property of type ComponentPainter.

Version:
$Revision: 1.4 $
Author:
$Author: jesper $

Constructor Summary
ComponentPainterProperty(PropertyGroup group, java.lang.String name, java.lang.String description, PropertyValueHandler valueStorage)
           
 
Method Summary
 ComponentPainter get(java.lang.Object valueContainer)
          Returns the ComponentPainter value of this property in a value container.
 void set(java.lang.Object valueContainer, ComponentPainter componentPainter)
          Sets the ComponentPainter value of this property in a value container.
 
Methods inherited from class net.infonode.properties.util.ValueHandlerProperty
getValue, removeValue, setValue, valueIsRemovable, valueIsSet
 
Methods inherited from class net.infonode.properties.util.AbstractProperty
canBeAssiged, getDescription, getGroup, getName, getType, isMutable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentPainterProperty

public ComponentPainterProperty(PropertyGroup group,
                                java.lang.String name,
                                java.lang.String description,
                                PropertyValueHandler valueStorage)
Method Detail

get

public ComponentPainter get(java.lang.Object valueContainer)
Returns the ComponentPainter value of this property in a value container.

Parameters:
valueContainer - the value container
Returns:
the ComponentPainter value of this property

set

public void set(java.lang.Object valueContainer,
                ComponentPainter componentPainter)
Sets the ComponentPainter value of this property in a value container.

Parameters:
valueContainer - the value container
componentPainter - the ComponentPainter value