net.sourceforge.fuzzyservices.beans
Class OperatorEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sourceforge.fuzzyservices.beans.OperatorEditor
All Implemented Interfaces:
PropertyEditor, EventListener, net.sourceforge.fuzzyservices.swing.OperatorModelListener

public class OperatorEditor
extends PropertyEditorSupport
implements net.sourceforge.fuzzyservices.swing.OperatorModelListener

Editor class for (fuzzy) operator properties.

Version:
1.0
Author:
Uwe Weng

Constructor Summary
OperatorEditor()
           
 
Method Summary
 String getAsText()
          This property value has no text.
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 void operatorChanged(net.sourceforge.fuzzyservices.swing.OperatorModelEvent e)
           
 boolean supportsCustomEditor()
          It supports a custom editor.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorEditor

public OperatorEditor()
Method Detail

getAsText

public String getAsText()
This property value has no text.

Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
Returns:
null

supportsCustomEditor

public final boolean supportsCustomEditor()
It supports a custom editor.

Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport
Returns:
true

getJavaInitializationString

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

getCustomEditor

public Component getCustomEditor()
Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport
Returns:
a OperatorEditorPanel component

operatorChanged

public void operatorChanged(net.sourceforge.fuzzyservices.swing.OperatorModelEvent e)
Specified by:
operatorChanged in interface net.sourceforge.fuzzyservices.swing.OperatorModelListener


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