com.wirefusion.propertyeditor
Class NumberPropertyEditor
java.lang.Object
com.wirefusion.propertyeditor.WfPropertyEditor
com.wirefusion.propertyeditor.NumberPropertyEditor
public class NumberPropertyEditor
- extends WfPropertyEditor
This editor is intended for use with number properties.
|
Constructor Summary |
NumberPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.Number value)
Constructs a NumberPropertyEditor object. |
|
Method Summary |
java.lang.String |
getInfoString()
Returns a short description of the number values allowed. |
void |
setMax(java.lang.Number max)
Sets the maximum number value allowed |
void |
setMin(java.lang.Number min)
Sets the minimum number value allowed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberPropertyEditor
public NumberPropertyEditor(java.lang.String propertyId,
java.lang.String label,
java.lang.Number value)
- Constructs a NumberPropertyEditor object.
- Parameters:
propertyId - the property IDlabel - the labelvalue - the number value
setMin
public void setMin(java.lang.Number min)
- Sets the minimum number value allowed
- Parameters:
min - the minimum number value allowed
setMax
public void setMax(java.lang.Number max)
- Sets the maximum number value allowed
- Parameters:
max - the maximum number value allowed
getInfoString
public java.lang.String getInfoString()
- Returns a short description of the number values allowed.
- Overrides:
getInfoString in class WfPropertyEditor
- Returns:
- a short description of the number values allowed.