de.beamertool.admin.configuration.editor
Class TableEditor<T>

java.lang.Object
  extended by com.l2fprod.common.beans.editor.AbstractPropertyEditor
      extended by de.beamertool.admin.configuration.editor.TableEditor<T>
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
SmileyTableEditor, StringTableEditor

public abstract class TableEditor<T>
extends com.l2fprod.common.beans.editor.AbstractPropertyEditor

Author:
ocm-zeeman

Nested Class Summary
 class TableEditor.TablePicker
          Dialog window to allow table value editing.
 
Constructor Summary
TableEditor()
           
 
Method Summary
 TableEditor.TablePicker getPicker()
          This method initializes picker
abstract  T getValue()
           
 void setAddActionHandler(ActionListener al)
          Add the action handler for the "Add"-Button
 void setDelActionHandler(ActionListener al)
          Add the action handler for the "Del"-Button
 void setValue(Object value)
           
 
Methods inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableEditor

public TableEditor()
Method Detail

getValue

public abstract T getValue()
Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class com.l2fprod.common.beans.editor.AbstractPropertyEditor

setValue

public void setValue(Object value)
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class com.l2fprod.common.beans.editor.AbstractPropertyEditor

getPicker

public TableEditor.TablePicker getPicker()
This method initializes picker

Returns:
de.beamertool.admin.configuration.editor.TableEditor.TablePicker

setAddActionHandler

public void setAddActionHandler(ActionListener al)
Add the action handler for the "Add"-Button

Parameters:
al - new ActionListener to add to btnAdd

setDelActionHandler

public void setDelActionHandler(ActionListener al)
Add the action handler for the "Del"-Button

Parameters:
al - new ActionListener to add to btnDel