Class PlaceIdEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class PlaceIdEditor
    extends java.beans.PropertyEditorSupport
    Main purpose of this class is to expose PlaceId constants to spring. This allows defining Spring beans like this:
       <bean class="some class" init-method="register">
         <property name="tabTitle" value="Some title"/>
         <property name="placeId" value="MY_TOOLS_TABS"/>
       </bean>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      PlaceIdEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAsText()  
      void setAsText​(java.lang.String text)  
      • 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

      • PlaceIdEditor

        public PlaceIdEditor()
    • Method Detail

      • getAsText

        public java.lang.String getAsText()
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class java.beans.PropertyEditorSupport
      • setAsText

        public void setAsText​(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        Throws:
        java.lang.IllegalArgumentException