|
org.netbeans.spi.viewmodel/2 1.26.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TableRendererModelFilter
Model filter that can override custom cell renderer and cell editor for table cells.
| Method Summary | |
|---|---|
void |
addModelListener(ModelListener l)
Registers given listener. |
boolean |
canEditCell(TableRendererModel original,
Object node,
String columnID)
Test whether this renderer can edit the given cell. |
boolean |
canRenderCell(TableRendererModel original,
Object node,
String columnID)
Test whether this renderer can render the given cell. |
TableCellEditor |
getCellEditor(TableRendererModel original,
Object node,
String columnID)
Get the editor of the given cell |
TableCellRenderer |
getCellRenderer(TableRendererModel original,
Object node,
String columnID)
Get the renderer of the given cell |
void |
removeModelListener(ModelListener l)
Unregisters given listener. |
| Method Detail |
|---|
boolean canRenderCell(TableRendererModel original,
Object node,
String columnID)
throws UnknownTypeException
original - The original table cell renderer implementationnode - Tree node representing the rowcolumnID - The column name
true if the implementation can render the given cell, false otherwise
UnknownTypeException - If the implementation can not decide whether to render the given cell.
TableCellRenderer getCellRenderer(TableRendererModel original,
Object node,
String columnID)
throws UnknownTypeException
original - The original table cell renderer implementationnode - Tree node representing the rowcolumnID - The column name
UnknownTypeException - If the implementation can not render the given cell.
boolean canEditCell(TableRendererModel original,
Object node,
String columnID)
throws UnknownTypeException
original - The original table cell renderer implementationnode - Tree node representing the rowcolumnID - The column name
true if the implementation can edit the given cell, false otherwise
UnknownTypeException - If the implementation can not decide whether to edit the given cell.
TableCellEditor getCellEditor(TableRendererModel original,
Object node,
String columnID)
throws UnknownTypeException
original - The original table cell renderer implementationnode - Tree node representing the rowcolumnID - The column name
UnknownTypeException - If the implementation can not edit the given cell.void addModelListener(ModelListener l)
l - the listener to addvoid removeModelListener(ModelListener l)
l - the listener to remove
|
org.netbeans.spi.viewmodel/2 1.26.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||