net.aerith.misao.toolkit.ImageConversion
Class ImageConversionTable.TransformationEditor

java.lang.Object
  |
  +--javax.swing.DefaultCellEditor
        |
        +--net.aerith.misao.gui.table.ButtonCellEditor
              |
              +--net.aerith.misao.toolkit.ImageConversion.ImageConversionTable.TransformationEditor
Enclosing class:
ImageConversionTable

protected class ImageConversionTable.TransformationEditor
extends ButtonCellEditor

The TransformationEditor represents a table cell editor to set the image size or scale.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Fields inherited from class javax.swing.DefaultCellEditor
changeEvent, clickCountToStart, delegate, editorComponent, listenerList
 
Constructor Summary
protected ImageConversionTable.TransformationEditor()
           
 
Method Summary
protected  java.lang.Object getEditingObject(int row, int column)
          Gets the object to edit.
protected  ButtonCellEditorListener getListener()
          Gets the cell editor listener.
 
Methods inherited from class net.aerith.misao.gui.table.ButtonCellEditor
getTableCellEditorComponent
 
Methods inherited from class javax.swing.DefaultCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, removeCellEditorListener, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ImageConversionTable.TransformationEditor

protected ImageConversionTable.TransformationEditor()
Method Detail

getListener

protected ButtonCellEditorListener getListener()
Gets the cell editor listener. It must be overrided in the subclasses.
Overrides:
getListener in class ButtonCellEditor
Parameters:
object - the object to edit.
editor - the cell editor.
Returns:
the cell editor listener.

getEditingObject

protected java.lang.Object getEditingObject(int row,
                                            int column)
Gets the object to edit.
Overrides:
getEditingObject in class ButtonCellEditor
Parameters:
row - the row to edit.
column - the column to edit.
Returns:
the object to edit.