com.netbreeze.swing.editors
Class BooleanEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.netbreeze.swing.editors.BooleanEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class BooleanEditor
extends java.beans.PropertyEditorSupport

JavaBeans PropertyEditor implementation for boolean values. Basically a checkbox...


Constructor Summary
BooleanEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 boolean getBooleanValue()
           
 java.awt.Component getCustomEditor()
           
 void setAsText(java.lang.String text)
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener
 
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)
               throws java.lang.IllegalArgumentException
Overrides:
setAsText in class java.beans.PropertyEditorSupport

getAsText

public java.lang.String getAsText()
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setValue

public void setValue(java.lang.Object value)
Overrides:
setValue in class java.beans.PropertyEditorSupport

getBooleanValue

public boolean getBooleanValue()

getCustomEditor

public java.awt.Component getCustomEditor()
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport