freemind.common
Class NumberProperty

java.lang.Object
  extended by freemind.common.PropertyBean
      extended by 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)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLabel()
          The key of the property.
 java.lang.String getValue()
           
 void layout(com.jgoodies.forms.builder.DefaultFormBuilder builder, TextTranslator pTranslator)
           
 void setEnabled(boolean pEnabled)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class freemind.common.PropertyBean
addPropertyChangeListener, firePropertyChangeEvent, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberProperty

public NumberProperty(java.lang.String description,
                      java.lang.String label,
                      int min,
                      int max,
                      int step)
Method Detail

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