org.netbeans.core/2 3.32

org.netbeans.beaninfo.editors
Class FloatEditor

java.lang.Object
  extended by org.netbeans.beaninfo.editors.WrappersEditor
      extended by org.netbeans.beaninfo.editors.FloatEditor
All Implemented Interfaces:
PropertyEditor, ExPropertyEditor

public class FloatEditor
extends WrappersEditor

Editor for property of type java.lang.Float


Field Summary
 
Fields inherited from class org.netbeans.beaninfo.editors.WrappersEditor
pe
 
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID
 
Constructor Summary
FloatEditor()
           
 
Method Summary
 String getJavaInitializationString()
          This method is intended for use when generating Java code to set the value of the property.
 
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
 

Constructor Detail

FloatEditor

public FloatEditor()
Method Detail

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.

org.netbeans.core/2 3.32

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.