org.tridas.io.gui.components
Class DefaultFieldEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.tridas.io.gui.components.DefaultFieldEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class DefaultFieldEditor
- extends AbstractCellEditor
- implements TableCellEditor
- Author:
- daniel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
public DefaultFieldEditor.AbstractEditorDelegate delegate
DefaultFieldEditor
public DefaultFieldEditor()
getCellEditorValue
public Object getCellEditorValue()
- Forwards the message from the
CellEditor
to
the delegate
.
- Specified by:
getCellEditorValue
in interface CellEditor
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.getCellEditorValue()
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class AbstractCellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Forwards the message from the
CellEditor
to
the delegate
.
- Specified by:
shouldSelectCell
in interface CellEditor
- Overrides:
shouldSelectCell
in class AbstractCellEditor
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.shouldSelectCell(EventObject)
stopCellEditing
public boolean stopCellEditing()
- Forwards the message from the
CellEditor
to
the delegate
.
- Specified by:
stopCellEditing
in interface CellEditor
- Overrides:
stopCellEditing
in class AbstractCellEditor
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.stopCellEditing()
cancelCellEditing
public void cancelCellEditing()
- Forwards the message from the
CellEditor
to
the delegate
.
- Specified by:
cancelCellEditing
in interface CellEditor
- Overrides:
cancelCellEditing
in class AbstractCellEditor
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.cancelCellEditing()
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable argTable,
Object argValue,
boolean argIsSelected,
int argRow,
int argColumn)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
- See Also:
TableCellEditor.getTableCellEditorComponent(javax.swing.JTable,
java.lang.Object, boolean, int, int)
Copyright © 2011. All Rights Reserved.