String function ( ) { return null ; }
returns a fragment of java code that can be used to set a property to match the editors current state . this method is intended for use when generating java code to reflect changes made through the property editor . the code fragment should be context free and must be a legal java expression as specified by the jls . specifically , if the expression represents a computation then all classes and static members should be fully qualified . this rule applies to constructors , static methods and non primitive arguments . caution should be used when evaluating the expression as it may throw exceptions . in particular , code generators must ensure that generated code will compile in the presence of an expression that can throw checked exceptions . example results are : primitive expresssion : 2 class constructor : new java.awt.color 127,127,34 static field : java.awt.color.orange static method : javax.swing.box.createrigidarea new java.awt.dimension 0 , 5 concode_field_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep String value concode_field_sep Object getValue concode_elem_sep Component getCustomEditor concode_elem_sep boolean supportsCustomEditor concode_elem_sep void paintValue concode_elem_sep void setValue concode_elem_sep String[] getTags concode_elem_sep void addPropertyChangeListener concode_elem_sep void removePropertyChangeListener concode_elem_sep String getAsText concode_elem_sep boolean isPaintable concode_elem_sep void setAsText