|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.ui.swing.ext.JVxTable.GenericTableCellHandler
public static class JVxTable.GenericTableCellHandler
The GenericTableCellEditor is a wrapper, that provides ICellEditor functionality.
Constructor Summary | |
---|---|
JVxTable.GenericTableCellHandler(JVxTable pTableControl,
String pColumnName)
Constructs a new GenericTableCellEditor. |
Method Summary | |
---|---|
void |
addCellEditorListener(CellEditorListener l)
|
void |
cancelCellEditing()
|
Object |
getCellEditorValue()
|
Component |
getTableCellEditorComponent(JTable pTable,
Object pValue,
boolean pIsSelected,
int pRow,
int pColumn)
|
Component |
getTableCellRendererComponent(JTable pTable,
Object pValue,
boolean pIsSelected,
boolean pHasFocus,
int pRow,
int pColumn)
|
boolean |
isCellEditable(EventObject pEvent)
|
void |
removeCellEditorListener(CellEditorListener l)
|
boolean |
shouldSelectCell(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 JVxTable.GenericTableCellHandler(JVxTable pTableControl, String pColumnName)
pTableControl
- the JVxTable.pColumnName
- the column name.Method Detail |
---|
public Component getTableCellRendererComponent(JTable pTable, Object pValue, boolean pIsSelected, boolean pHasFocus, int pRow, int pColumn)
getTableCellRendererComponent
in interface TableCellRenderer
public Component getTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn)
getTableCellEditorComponent
in interface TableCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public boolean isCellEditable(EventObject pEvent)
isCellEditable
in interface CellEditor
public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
public void addCellEditorListener(CellEditorListener l)
addCellEditorListener
in interface CellEditor
public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener
in interface CellEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |