org.netbeans.beaninfo.editors
Class DoubleEditor
java.lang.Object
org.netbeans.beaninfo.editors.WrappersEditor
org.netbeans.beaninfo.editors.DoubleEditor
- All Implemented Interfaces:
- PropertyEditor, ExPropertyEditor
public class DoubleEditor
- extends WrappersEditor
Editor for property of type java.lang.Double
| Methods inherited from class org.netbeans.beaninfo.editors.WrappersEditor |
addPropertyChangeListener, attachEnv, getAsText, getCustomEditor, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleEditor
public DoubleEditor()
getJavaInitializationString
public String getJavaInitializationString()
- 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.
- Returns:
- A fragment of Java code representing an initializer for the
current value.