org.compiere.minigrid
Class MiniCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.compiere.minigrid.MiniCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class MiniCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
MiniTable Cell Editor based on class - Timestamp, BigDecimal
- Version:
- $Id: MiniCellEditor.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiniCellEditor
public MiniCellEditor(Class c)
- Default Constructor
- Parameters:
c - Class
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Sets an initial value for the editor. This will cause the editor to
stopEditing and lose any partially edited value if the editor is editing
when this method is called.
Returns the component that should be added to the client's Component hierarchy.
Once installed in the client's hierarchy this component
will then be able to draw and receive user input.
- Specified by:
getTableCellEditorComponent in interface TableCellEditor
- Parameters:
table - value - isSelected - row - column -
- Returns:
- Component
getCellEditorValue
public Object getCellEditorValue()
- Returns the value contained in the editor
- Specified by:
getCellEditorValue in interface CellEditor
- Returns:
- value
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.