Package docking.widgets.trable
Class AbstractGTrableRowModel<T>
java.lang.Object
docking.widgets.trable.AbstractGTrableRowModel<T>
- Type Parameters:
T- the row data object type
- All Implemented Interfaces:
GTrableRowModel<T>
- Direct Known Subclasses:
DefaultGTrableRowModel
Abstract base class for GTrable models. Adds support for listeners.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a listener to the list that is notified each time a change to the data model occurs.protected voidvoidRemoves a listener from the list that is notified each time a change to the model occurs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface docking.widgets.trable.GTrableRowModel
collapseRow, expandRow, getIndentLevel, getRow, getRowCount, isExpandable, isExpanded
-
Constructor Details
-
AbstractGTrableRowModel
public AbstractGTrableRowModel()
-
-
Method Details
-
addListener
Description copied from interface:GTrableRowModelAdds a listener to the list that is notified each time a change to the data model occurs.- Specified by:
addListenerin interfaceGTrableRowModel<T>- Parameters:
l- the listener to be notified
-
removeListener
Description copied from interface:GTrableRowModelRemoves a listener from the list that is notified each time a change to the model occurs.- Specified by:
removeListenerin interfaceGTrableRowModel<T>- Parameters:
l- the listener to remove
-
fireModelChanged
protected void fireModelChanged()
-