public interface TableHTMLModelFilter extends Model
TableHTMLModel
s.TableHTMLModel
Modifier and Type | Method and Description |
---|---|
void |
addModelListener(ModelListener l)
Registers given listener.
|
String |
getHTMLValueAt(TableHTMLModel original,
Object node,
String columnID)
Get the HTML value.
|
boolean |
hasHTMLValueAt(TableHTMLModel original,
Object node,
String columnID)
Test if the model has a HTML value.
|
void |
removeModelListener(ModelListener l)
Unregisters given listener.
|
boolean hasHTMLValueAt(TableHTMLModel original, 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
TableHTMLModelFilter.getHTMLValueAt(org.netbeans.spi.viewmodel.TableHTMLModel, java.lang.Object, java.lang.String)
.original
- The original TableHTMLModel
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 TableHTMLModelFilter.getHTMLValueAt(org.netbeans.spi.viewmodel.TableHTMLModel, java.lang.Object, java.lang.String)
,
false
otherwise.
When false
is returned,
TableHTMLModelFilter.getHTMLValueAt(org.netbeans.spi.viewmodel.TableHTMLModel, java.lang.Object, java.lang.String)
is not called.UnknownTypeException
- if there is nothing to be provided for the given
parameter typeString getHTMLValueAt(TableHTMLModel original, Object node, String columnID) throws UnknownTypeException
original
- The original TableHTMLModel
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 typeTableHTMLModelFilter.hasHTMLValueAt(org.netbeans.spi.viewmodel.TableHTMLModel, java.lang.Object, java.lang.String)
void addModelListener(ModelListener l)
l
- the listener to addvoid removeModelListener(ModelListener l)
l
- the listener to remove