AbstractCellEditor

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openswing.swing.table.editors.client
Class AbstractCellEditor

    java.lang.Object
      org.openswing.swing.table.editors.client.AbstractCellEditor

All Implemented Interfaces:
  javax.swing.CellEditor

Direct Known Subclasses:
  ButtonCellEditor, CheckBoxCellEditor, CodLookupCellEditor, ComboBoxVOCellEditor, CurrencyCellEditor, DateCellEditor, DomainCellEditor, FileCellEditor, FormattedTextCellEditor, ImageCellEditor, LinkCellEditor, MultiLineTextCellEditor, MultipleTypeCellEditor, NumericCellEditor, TextCellEditor

public class AbstractCellEditor
extends java.lang.Object
implements javax.swing.CellEditor

Title: OpenSwing Framework

Description: Abstract cell editor, used by other column editors.

Copyright: Copyright (C) 2006 Mauro Carniel

This file is part of OpenSwing Framework. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it

Constructor Summary
`AbstractCellEditor()`

Method Summary
`void` | `addCellEditorListener(javax.swing.event.CellEditorListener listener)` Add a listener to this cell editor.
`void` | `cancelCellEditing()` This method should be overrided.
`java.lang.Object` | `getCellEditorValue()` This method should be overrided.
`boolean` | `isCellEditable(java.util.EventObject evt)` This method should be overrided.
`void` | `removeCellEditorListener(javax.swing.event.CellEditorListener listener)` Remove the specified listener from this cell editor.
`boolean` | `shouldSelectCell(java.util.EventObject evt)` This method should be overrided.
`boolean` | `stopCellEditing()` This method should be overrided.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractCellEditor

    public AbstractCellEditor()

Method Detail

### getCellEditorValue

    public java.lang.Object getCellEditorValue()

  This method should be overrided.

  Specified by:
    `getCellEditorValue` in interface `javax.swing.CellEditor`
  Returns:
    null

### isCellEditable

    public boolean isCellEditable(java.util.EventObject evt)

  This method should be overrided.

  Specified by:
    `isCellEditable` in interface `javax.swing.CellEditor`

### shouldSelectCell

    public boolean shouldSelectCell(java.util.EventObject evt)

  This method should be overrided.

  Specified by:
    `shouldSelectCell` in interface `javax.swing.CellEditor`

### stopCellEditing

    public boolean stopCellEditing()

  This method should be overrided.

  Specified by:
    `stopCellEditing` in interface `javax.swing.CellEditor`

### cancelCellEditing

    public void cancelCellEditing()

  This method should be overrided.

  Specified by:
    `cancelCellEditing` in interface `javax.swing.CellEditor`

### addCellEditorListener

    public final void addCellEditorListener(javax.swing.event.CellEditorListener listener)

  Add a listener to this cell editor.

  Specified by:
    `addCellEditorListener` in interface `javax.swing.CellEditor`
  Parameters:
    `listener` - listener to add

### removeCellEditorListener

    public final void removeCellEditorListener(javax.swing.event.CellEditorListener listener)

  Remove the specified listener from this cell editor.

  Specified by:
    `removeCellEditorListener` in interface `javax.swing.CellEditor`
  Parameters:
    `listener` - listener to remove

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD