| java.lang.Object javax.swing.AbstractCellEditor net.sf.jga.swing.spreadsheet.ComponentEditor
ComponentEditor | public class ComponentEditor extends AbstractCellEditor implements TableCellEditor(Code) | | TableCellEditor used when the contents of the cell are a JComponent. The
component itself will be used as the editor
Copyright © 2005 David A. Hall
|
Method Summary | |
public Object | getCellEditorValue() Returns the value of the cell once the editing is complete. | public static synchronized ComponentEditor | getInstance() Returns a sharable ComponentEditor instance. | public Component | getTableCellEditorComponent(JTable table, Object object, boolean isSelected, int row, int col) Returns the Component stored in the table at the given cell (expecting that the
component is being passed as the 'object' parm), so that it may be temporarily
made available to the user for interaction. | public boolean | stopCellEditing() Overrides stopCellEditing to remove the focus from the component stored in
the currently active cell. |
serialVersionUID | final static long serialVersionUID(Code) | | |
ComponentEditor | public ComponentEditor()(Code) | | |
getCellEditorValue | public Object getCellEditorValue()(Code) | | Returns the value of the cell once the editing is complete. The value is the
same component that was stored in the cell, but it's state may have been changed
in some way.
|
getInstance | public static synchronized ComponentEditor getInstance()(Code) | | Returns a sharable ComponentEditor instance.
|
getTableCellEditorComponent | public Component getTableCellEditorComponent(JTable table, Object object, boolean isSelected, int row, int col)(Code) | | Returns the Component stored in the table at the given cell (expecting that the
component is being passed as the 'object' parm), so that it may be temporarily
made available to the user for interaction.
|
stopCellEditing | public boolean stopCellEditing()(Code) | | Overrides stopCellEditing to remove the focus from the component stored in
the currently active cell.
|
|
|