|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.swing.table.celleditor.BnTableCellEditor
public class BnTableCellEditor
The BnTableCellEditor
is a TableCellEditor
for a PresentationModel
object inside a cell
of a BnTable
.
Currently supported presentation models are: ITextPM
, IBooleanPM
Constructor Summary | |
---|---|
BnTableCellEditor()
|
Method Summary | |
---|---|
void |
addCellEditorListener(javax.swing.event.CellEditorListener l)
|
void |
cancelCellEditing()
|
protected javax.swing.JComponent |
createButtonDecorator(javax.swing.JTable table,
int row,
javax.swing.JComponent leftComponent,
BnColumn bnCol)
|
java.lang.Object |
getCellEditorValue()
|
javax.swing.table.TableCellEditor |
getCurrentCellEditor()
|
javax.swing.JComponent |
getCurrentComponent()
|
java.util.List<javax.swing.table.TableCellEditor> |
getInstalledEditors()
|
protected PresentationModel |
getRowModel(javax.swing.JTable table,
int row)
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
|
boolean |
isCellEditable(java.util.EventObject anEvent)
|
void |
removeCellEditorListener(javax.swing.event.CellEditorListener l)
|
void |
setCurrentCellEditor(javax.swing.table.TableCellEditor currentCellEditor)
|
void |
setCurrentComponent(javax.swing.JComponent currentComponent)
|
boolean |
shouldSelectCell(java.util.EventObject anEvent)
|
boolean |
stopCellEditing()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BnTableCellEditor()
Method Detail |
---|
public java.util.List<javax.swing.table.TableCellEditor> getInstalledEditors()
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.TableCellEditor
protected javax.swing.JComponent createButtonDecorator(javax.swing.JTable table, int row, javax.swing.JComponent leftComponent, BnColumn bnCol)
protected PresentationModel getRowModel(javax.swing.JTable table, int row)
public javax.swing.JComponent getCurrentComponent()
public void setCurrentComponent(javax.swing.JComponent currentComponent)
public javax.swing.table.TableCellEditor getCurrentCellEditor()
public void setCurrentCellEditor(javax.swing.table.TableCellEditor currentCellEditor)
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public boolean isCellEditable(java.util.EventObject anEvent)
isCellEditable
in interface javax.swing.CellEditor
public boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell
in interface javax.swing.CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface javax.swing.CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
public void addCellEditorListener(javax.swing.event.CellEditorListener l)
addCellEditorListener
in interface javax.swing.CellEditor
public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
removeCellEditorListener
in interface javax.swing.CellEditor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |