public interface TableHTMLModel extends TableModel
TableHTMLModelFilter
Modifier and Type | Method and Description |
---|---|
String |
getHTMLValueAt(Object node,
String columnID)
Get the HTML value.
|
boolean |
hasHTMLValueAt(Object node,
String columnID)
Test if the model has a HTML value.
|
addModelListener, getValueAt, isReadOnly, removeModelListener, setValueAt
boolean hasHTMLValueAt(Object node, String columnID) throws UnknownTypeException
false
,
HTML value is is taken from the String value, if it contains some.
If this is not desired, return true here and null from
TableHTMLModel.getHTMLValueAt(java.lang.Object, java.lang.String)
.node
- an object returned from TreeModel.getChildren(java.lang.Object, int, int)
for this rowcolumnID
- an id of column defined by ColumnModel.getID()
true
if there is some HTML value to be returned
from TableHTMLModel.getHTMLValueAt(java.lang.Object, java.lang.String)
,
false
otherwise.
When false
is returned,
TableHTMLModel.getHTMLValueAt(java.lang.Object, java.lang.String)
is not called.UnknownTypeException
- if there is nothing to be provided for the given
parameter typeString getHTMLValueAt(Object node, String columnID) throws UnknownTypeException
node
- an object returned from TreeModel.getChildren(java.lang.Object, int, int)
for this rowcolumnID
- an id of column defined by ColumnModel.getID()
null
when no HTML value is provided.UnknownTypeException
- if there is nothing to be provided for the given
parameter typeTableHTMLModel.hasHTMLValueAt(java.lang.Object, java.lang.String)