| net.infonode.properties.util.ValueHandlerProperty net.infonode.properties.types.NumberProperty
NumberProperty | public class NumberProperty extends ValueHandlerProperty (Code) | | Base class for number properties.
author: $Author: jesper $ version: $Revision: 1.4 $ |
NumberProperty | public NumberProperty(PropertyGroup group, String name, Class cl, String description, long minValue, long maxValue, int preferredDigitCount, PropertyValueHandler valueHandler)(Code) | | Constructor.
Parameters: group - the property group Parameters: name - the property name Parameters: cl - the property type Parameters: description - the property description Parameters: minValue - the smallest value that this property can have Parameters: maxValue - the largest value that this property can have Parameters: preferredDigitCount - the preferred number of digits to allocate space for in an editor for a property value Parameters: valueHandler - handles values for this property |
getLongValue | public long getLongValue(Object valueContainer)(Code) | | Returns the long value of this property in a value container.
Parameters: valueContainer - the value container the long value of this property |
getMaxValue | public long getMaxValue()(Code) | | Returns the largest value that this property can have.
the largest value that this property can have |
getMinValue | public long getMinValue()(Code) | | Returns the smallest value that this property can have.
the smallest value that this property can have |
getPreferredDigitCount | public int getPreferredDigitCount()(Code) | | Returns the preferred number of digits to allocate space for in an editor for a property value
the preferred number of digits to allocate space for in an editor for a property value |
|
|