public interface TableRendererModel extends Model
Modifier and Type | Method and Description |
---|---|
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.
|
boolean canRenderCell(Object node, String columnID) throws UnknownTypeException
node
- 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(Object node, String columnID) throws UnknownTypeException
node
- Tree node representing the rowcolumnID
- The column nameUnknownTypeException
- 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 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(Object node, String columnID) throws UnknownTypeException
node
- 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