|
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 TableRendererModel
Model that provides custom cell renderer and cell editor for table cells.
| Method Summary | |
|---|---|
void |
addModelListener(ModelListener l)
Registers given listener. |
boolean |
canEditCell(Object node,
String columnID)
Test whether this renderer can edit the given cell. |
boolean |
canRenderCell(Object node,
String columnID)
Test whether this renderer can render the given cell. |
TableCellEditor |
getCellEditor(Object node,
String columnID)
Get the editor of the given cell |
TableCellRenderer |
getCellRenderer(Object node,
String columnID)
Get the renderer of the given cell |
void |
removeModelListener(ModelListener l)
Unregisters given listener. |
| Method Detail |
|---|
boolean canRenderCell(Object node,
String columnID)
throws UnknownTypeException
node - 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(Object node,
String columnID)
throws UnknownTypeException
node - Tree node representing the rowcolumnID - The column name
UnknownTypeException - If the implementation can not render the given cell.
boolean canEditCell(Object node,
String columnID)
throws UnknownTypeException
node - 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(Object node,
String columnID)
throws UnknownTypeException
node - 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 | |||||||||