freemind.common
Class BooleanProperty

java.lang.Object
  extended by freemind.common.PropertyBean
      extended by freemind.common.BooleanProperty
All Implemented Interfaces:
PropertyControl
Direct Known Subclasses:
DontShowNotificationProperty

public class BooleanProperty
extends PropertyBean
implements PropertyControl


Field Summary
static java.lang.String FALSE_VALUE
           
protected  java.lang.String mFalseValue
           
protected  java.lang.String mTrueValue
           
static java.lang.String TRUE_VALUE
           
 
Constructor Summary
BooleanProperty(java.lang.String description, java.lang.String label)
           
 
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
 

Field Detail

FALSE_VALUE

public static final java.lang.String FALSE_VALUE
See Also:
Constant Field Values

TRUE_VALUE

public static final java.lang.String TRUE_VALUE
See Also:
Constant Field Values

mFalseValue

protected java.lang.String mFalseValue

mTrueValue

protected java.lang.String mTrueValue
Constructor Detail

BooleanProperty

public BooleanProperty(java.lang.String description,
                       java.lang.String label)
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