net.sourceforge.fuzzyservices.beans
Class SimpleAttributeEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sourceforge.fuzzyservices.beans.SimpleAttributeEditor
All Implemented Interfaces:
PropertyChangeListener, PropertyEditor, EventListener

public class SimpleAttributeEditor
extends PropertyEditorSupport
implements PropertyChangeListener

Author:
Uwe Weng

Constructor Summary
SimpleAttributeEditor()
           
 
Method Summary
 String getAsText()
           
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 boolean isPaintable()
          Creates a new instance of SimpleAttributeEditor public SimpleAttributeEditor() { super(); }
 void paintValue(Graphics gfx, Rectangle box)
           
 void propertyChange(PropertyChangeEvent evt)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, removePropertyChangeListener, setAsText, setSource, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttributeEditor

public SimpleAttributeEditor()
Method Detail

isPaintable

public final boolean isPaintable()
Creates a new instance of SimpleAttributeEditor public SimpleAttributeEditor() { super(); }

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

getJavaInitializationString

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

paintValue

public final void paintValue(Graphics gfx,
                             Rectangle box)
Specified by:
paintValue in interface PropertyEditor
Overrides:
paintValue in class PropertyEditorSupport

getAsText

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

getCustomEditor

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

supportsCustomEditor

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

propertyChange

public final void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener


Copyright © 2007-2012 Fuzzy Services. All Rights Reserved.