org.netbeans.core/2 3.32

org.netbeans.beaninfo.editors
Class StringEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.netbeans.beaninfo.editors.StringEditor
All Implemented Interfaces:
PropertyEditor, ExPropertyEditor

public class StringEditor
extends PropertyEditorSupport
implements ExPropertyEditor

A property editor for String class.


Field Summary
 
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID
 
Constructor Summary
StringEditor()
           
 
Method Summary
 void attachEnv(PropertyEnv env)
           
 String getAsText()
           
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 boolean isEditable()
          gets information if the text in editor should be editable or not
 void setAsText(String s)
          sets new value
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue
 

Constructor Detail

StringEditor

public StringEditor()
Method Detail

isEditable

public boolean isEditable()
gets information if the text in editor should be editable or not


getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport

setAsText

public void setAsText(String s)
sets new value

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport

getJavaInitializationString

public String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface PropertyEditor
Overrides:
getJavaInitializationString in class PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport

getCustomEditor

public Component getCustomEditor()
Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport

attachEnv

public void attachEnv(PropertyEnv env)
Specified by:
attachEnv in interface ExPropertyEditor

org.netbeans.core/2 3.32

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