net.infonode.properties.types
Class FontProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.FontProperty
- All Implemented Interfaces:
- Property
public class FontProperty
- extends ValueHandlerProperty
A property of type Font
.
- Version:
- $Revision: 1.7 $
- Author:
- $Author: jesper $
Method Summary |
java.awt.Font |
get(java.lang.Object valueContainer)
Returns the font value of this property in a value container. |
void |
set(java.lang.Object valueContainer,
java.awt.Font font)
Sets the font value of this property in a value container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FontProperty
public FontProperty(PropertyGroup group,
java.lang.String name,
java.lang.String description,
PropertyValueHandler valueHandler)
- Constructor.
- Parameters:
group
- the property groupname
- the property namedescription
- the property descriptionvalueHandler
- handles values for this property
get
public java.awt.Font get(java.lang.Object valueContainer)
- Returns the font value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the font value of this property
set
public void set(java.lang.Object valueContainer,
java.awt.Font font)
- Sets the font value of this property in a value container.
- Parameters:
valueContainer
- the value containerfont
- the font value