org.jboss.util.propertyeditor
Class BooleanEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.util.propertyeditor.BooleanEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class BooleanEditor
extends java.beans.PropertyEditorSupport

A property editor for Boolean.


Constructor Summary
BooleanEditor()
           
 
Method Summary
 java.lang.String[] getTags()
           
 void setAsText(java.lang.String text)
          Map the argument text into Boolean.TRUE or Boolean.FALSE using Boolean.valueOf.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanEditor

public BooleanEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
Map the argument text into Boolean.TRUE or Boolean.FALSE using Boolean.valueOf.


getTags

public java.lang.String[] getTags()
Returns:
the values {"true", "false"}