net.infonode.properties.types
Class BorderProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.BorderProperty
- All Implemented Interfaces:
- Property
public class BorderProperty
- extends ValueHandlerProperty
A property of type Border
.
- Version:
- $Revision: 1.7 $
- Author:
- $Author: jesper $
Method Summary |
javax.swing.border.Border |
get(java.lang.Object valueContainer)
Returns the border value of this property in a value container. |
void |
set(java.lang.Object valueContainer,
javax.swing.border.Border border)
Sets the border 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 |
BorderProperty
public BorderProperty(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 javax.swing.border.Border get(java.lang.Object valueContainer)
- Returns the border value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the border value of this property
set
public void set(java.lang.Object valueContainer,
javax.swing.border.Border border)
- Sets the border value of this property in a value container.
- Parameters:
valueContainer
- the value containerborder
- the border value