Class ClassArrayEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class ClassArrayEditor
    extends java.beans.PropertyEditorSupport
    A property editor for Class[].
    Version:
    $Revision$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAsText()  
      void setAsText​(java.lang.String text)
      Build a Class[] from a comma/whitespace seperated list of classes
      • 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

      • ClassArrayEditor

        public ClassArrayEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Build a Class[] from a comma/whitespace seperated list of classes
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        Parameters:
        text - - the class name list
        Throws:
        java.lang.IllegalArgumentException
      • getAsText

        public java.lang.String getAsText()
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class java.beans.PropertyEditorSupport
        Returns:
        a comma seperated string of the class array