Class AtomicBooleanEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.util.concurrent.atomic.AtomicBoolean>

    public class AtomicBooleanEditor
    extends PropertyEditorSupport<java.util.concurrent.atomic.AtomicBoolean>
    AtomicBoolean property editor.
    • Field Detail

      • BOOLEAN_TAGS

        private static final java.lang.String[] BOOLEAN_TAGS
    • Constructor Detail

      • AtomicBooleanEditor

        public AtomicBooleanEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Description copied from interface: PropertyEditor
        Set the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<java.util.concurrent.atomic.AtomicBoolean>
        Specified by:
        setAsText in class PropertyEditorSupport<java.util.concurrent.atomic.AtomicBoolean>
        Parameters:
        text - The string to be parsed.
      • getTags

        public java.lang.String[] getTags()
        Specified by:
        getTags in interface java.beans.PropertyEditor
        Overrides:
        getTags in class java.beans.PropertyEditorSupport
        Returns:
        the values {"true", "false"}