|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.CustomBooleanEditor
org.broadleafcommerce.openadmin.web.editor.NonNullBooleanEditor
public class NonNullBooleanEditor
Property editor for Booleans that will set the boolean to false if it came in as a null
| Field Summary |
|---|
| Fields inherited from class org.springframework.beans.propertyeditors.CustomBooleanEditor |
|---|
VALUE_0, VALUE_1, VALUE_FALSE, VALUE_NO, VALUE_OFF, VALUE_ON, VALUE_TRUE, VALUE_YES |
| Constructor Summary | |
|---|---|
NonNullBooleanEditor()
|
|
| Method Summary | |
|---|---|
void |
setAsText(String text)
|
| Methods inherited from class org.springframework.beans.propertyeditors.CustomBooleanEditor |
|---|
getAsText |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonNullBooleanEditor()
| Method Detail |
|---|
public void setAsText(String text)
throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class org.springframework.beans.propertyeditors.CustomBooleanEditorIllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||