elge.lexikon
Class LexikonEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--elge.lexikon.LexikonEditor
All Implemented Interfaces:
PropertyEditor

public class LexikonEditor
extends PropertyEditorSupport

LexikonEditor is a java bean PropertyEditor for the Lexikon class.

It uses the LexikonEditorComponent to create the gui interface of the custom editor.

Currently the editor does not support changing the lexikon, only viewwing it :|

Author:
Pavol Žibrita

Constructor Summary
LexikonEditor()
          Creates new LexikonEditor
 
Method Summary
 String getAsText()
          returns null - alias not supported
 Component getCustomEditor()
          Returns the custom editor component.
 boolean supportsCustomEditor()
          Returns true
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexikonEditor

public LexikonEditor()
Creates new LexikonEditor

Method Detail

getCustomEditor

public Component getCustomEditor()
Returns the custom editor component.

Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport
Returns:
The editor component
See Also:
LexikonEditorComponent

getAsText

public String getAsText()
returns null - alias not supported

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

supportsCustomEditor

public boolean supportsCustomEditor()
Returns true

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