Modifier and Type | Method and Description |
---|---|
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.
|
boolean canRenderCell(TableRendererModel original, Object node, String columnID) throws UnknownTypeException
original
- The original table cell renderer implementationnode
- Tree node representing the rowcolumnID
- The column nametrue
if the implementation can render the given cell, false
otherwiseUnknownTypeException
- 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 nameUnknownTypeException
- 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 nametrue
if the implementation can edit the given cell, false
otherwiseUnknownTypeException
- 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 nameUnknownTypeException
- 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