PropertyEditorSupport.getJavaInitializationString
Class Overview | Class Members |
This Package |
All Packages
public 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.