net.sourceforge.fuzzyservices.beans
Class LinguisticTermArrayEditor

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

public class LinguisticTermArrayEditor
extends PropertyEditorSupport
implements net.sourceforge.fuzzyservices.swing.LinguisticVariableModelListener

Editor class for an array of linguistic terms.

Version:
1.0
Author:
Uwe Weng

Constructor Summary
LinguisticTermArrayEditor()
           
 
Method Summary
 String getAsText()
          This property value has no text.
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 boolean isPaintable()
          It is paintable.
 void linguisticVariableChanged(net.sourceforge.fuzzyservices.swing.LinguisticVariableModelEvent event)
           
 void paintValue(Graphics gfx, Rectangle box)
           
 boolean supportsCustomEditor()
          It supports a custom editor.
 
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

LinguisticTermArrayEditor

public LinguisticTermArrayEditor()
Method Detail

isPaintable

public final boolean isPaintable()
It is paintable.

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

paintValue

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

getJavaInitializationString

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

getAsText

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

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

getCustomEditor

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

supportsCustomEditor

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

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

linguisticVariableChanged

public void linguisticVariableChanged(net.sourceforge.fuzzyservices.swing.LinguisticVariableModelEvent event)
Specified by:
linguisticVariableChanged in interface net.sourceforge.fuzzyservices.swing.LinguisticVariableModelListener


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