public abstract class

NumberEditor

extends PropertyEditorSupport
java.lang.Object
   ↳ java.beans.PropertyEditorSupport
     ↳ sun.beans.editors.NumberEditor
Known Direct Subclasses

Summary

Public Constructors
NumberEditor()
Public Methods
String getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property.
[Expand]
Inherited Methods
From class java.beans.PropertyEditorSupport
From class java.lang.Object
From interface java.beans.PropertyEditor

Public Constructors

public NumberEditor ()

Public Methods

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.