APIdia Launch Partner
Top Constructors Methods
com.sun.beans.editors

public abstract Class NumberEditor

extends PropertyEditorSupport
Class Inheritance
Known Direct Subclasses
com.sun.beans.editors.ShortEditor, com.sun.beans.editors.ByteEditor, com.sun.beans.editors.DoubleEditor, com.sun.beans.editors.FloatEditor, com.sun.beans.editors.IntegerEditor, com.sun.beans.editors.LongEditor
Imports
java.beans.*

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getJavaInitializationString()

Overrides java.beans.PropertyEditorSupport.getJavaInitializationString.

Implements java.beans.PropertyEditor.getJavaInitializationString.

This method is intended for use when generating Java code to set the value of the property.

Inherited from java.beans.PropertyEditorSupport:
addPropertyChangeListenerfirePropertyChangegetAsTextgetCustomEditorgetSourcegetTagsgetValueisPaintablepaintValueremovePropertyChangeListenersetAsTextsetSourcesetValuesupportsCustomEditor

Constructor Detail

NumberEditorback to summary
public NumberEditor()

Method Detail

getJavaInitializationStringback to summary
public String getJavaInitializationString()

Overrides java.beans.PropertyEditorSupport.getJavaInitializationString.

Implements java.beans.PropertyEditor.getJavaInitializationString.

Doc from java.beans.PropertyEditorSupport.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.

Annotations
@Override