|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.table.DefaultDataTableCellEditor
Basic table cell editor class. It is possible to set a TableEditionValidator
to validate the input values. Default behavior only allows not null input
values.
The TableEditionValidator will be call in the stopCellEditing method. If
validEdition method return false then the changes are not applied .
| Field Summary | |
protected int |
clicksNumber
Deprecated. |
protected DataComponent |
currentEditor
Deprecated. |
static boolean |
DEBUG_RENDERER
Deprecated. |
protected int |
editedColumn
Deprecated. |
protected int |
editedRow
Deprecated. |
protected javax.swing.JTable |
editedTable
Deprecated. |
protected javax.swing.JComponent |
editor
Deprecated. |
protected TableEditionValidator |
editValidator
Deprecated. |
protected java.util.Vector |
listeners
Deprecated. |
protected EntityReferenceLocator |
locator
Deprecated. |
protected java.awt.Frame |
parentFrame
Deprecated. |
protected java.util.ResourceBundle |
resources
Deprecated. |
protected Table |
table
Deprecated. |
protected TextDataField |
textField
Deprecated. |
protected java.lang.Object |
value
Deprecated. |
| Constructor Summary | |
DefaultDataTableCellEditor(EntityReferenceLocator referenceLocator,
Table table)
Deprecated. |
|
| Method Summary | |
void |
addCellEditorListener(javax.swing.event.CellEditorListener l)
Deprecated. |
void |
cancelCellEditing()
Deprecated. |
void |
deleteTableEditionValidator()
Deprecated. |
protected void |
fireEditingCanceled()
Deprecated. |
protected void |
fireEditingStopped()
Deprecated. |
protected boolean |
fireValidateEdition(CustomTableEditionEvent ev)
Deprecated. |
java.lang.Object |
getCellEditorValue()
Deprecated. |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Deprecated. |
boolean |
isCellEditable(java.util.EventObject anEvent)
Deprecated. |
void |
removeCellEditorListener(javax.swing.event.CellEditorListener l)
Deprecated. |
void |
setParentFrame(java.awt.Frame parentFrame)
Deprecated. This method is called from Form for each component that implements this interface. |
void |
setTableEditionValidator(TableEditionValidator l)
Deprecated. |
boolean |
shouldSelectCell(java.util.EventObject e)
Deprecated. |
boolean |
stopCellEditing()
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean DEBUG_RENDERER
protected TextDataField textField
protected DataComponent currentEditor
protected int clicksNumber
protected java.util.Vector listeners
protected java.lang.Object value
protected EntityReferenceLocator locator
protected int editedColumn
protected int editedRow
protected javax.swing.JTable editedTable
protected Table table
protected java.awt.Frame parentFrame
protected java.util.ResourceBundle resources
protected TableEditionValidator editValidator
protected javax.swing.JComponent editor
| Constructor Detail |
public DefaultDataTableCellEditor(EntityReferenceLocator referenceLocator,
Table table)
| Method Detail |
public java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorpublic boolean isCellEditable(java.util.EventObject anEvent)
isCellEditable in interface javax.swing.CellEditorpublic boolean shouldSelectCell(java.util.EventObject e)
shouldSelectCell in interface javax.swing.CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface javax.swing.CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface javax.swing.CellEditorpublic void addCellEditorListener(javax.swing.event.CellEditorListener l)
addCellEditorListener in interface javax.swing.CellEditorpublic void removeCellEditorListener(javax.swing.event.CellEditorListener l)
removeCellEditorListener in interface javax.swing.CellEditorprotected void fireEditingStopped()
protected void fireEditingCanceled()
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface javax.swing.table.TableCellEditorpublic void setParentFrame(java.awt.Frame parentFrame)
OpenDialog
setParentFrame in interface OpenDialogparentFrame - the framepublic void setTableEditionValidator(TableEditionValidator l)
public void deleteTableEditionValidator()
protected boolean fireValidateEdition(CustomTableEditionEvent ev)
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||