freemind.common
Class NumberProperty
java.lang.Object
freemind.common.PropertyBean
freemind.common.NumberProperty
- All Implemented Interfaces:
- PropertyControl
public class NumberProperty
- extends PropertyBean
- implements PropertyControl
Constructor Summary |
NumberProperty(java.lang.String description,
java.lang.String label,
int min,
int max,
int step)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberProperty
public NumberProperty(java.lang.String description,
java.lang.String label,
int min,
int max,
int step)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface PropertyControl
getLabel
public java.lang.String getLabel()
- Description copied from class:
PropertyBean
- The key of the property.
- Specified by:
getLabel
in interface PropertyControl
- Specified by:
getLabel
in class PropertyBean
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in class PropertyBean
getValue
public java.lang.String getValue()
- Specified by:
getValue
in class PropertyBean
layout
public void layout(com.jgoodies.forms.builder.DefaultFormBuilder builder,
TextTranslator pTranslator)
- Specified by:
layout
in interface PropertyControl
setEnabled
public void setEnabled(boolean pEnabled)
- Specified by:
setEnabled
in interface PropertyControl