PropertyEditor.getJavaInitializationString
Interface Overview | Interface Members |
This Package |
All Packages
public abstract String getJavaInitializationString()
Returns
A fragment of Java code representing an initializer for the
current value.
Description
This method is intended for use when generating Java code to set
the value of the property. It should return a fragment of Java code
that can be used to initialize a variable with the current property
value.
Example results are "2", "new Color(127,127,34)", "Color.orange", etc.