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

public abstract class AbstractGTrableRowModel<T> extends Object implements GTrableRowModel<T>
Abstract base class for GTrable models. Adds support for listeners.
  • Constructor Details

    • AbstractGTrableRowModel

      public AbstractGTrableRowModel()
  • Method Details

    • addListener

      public void addListener(GTrableModeRowlListener l)
      Description copied from interface: GTrableRowModel
      Adds a listener to the list that is notified each time a change to the data model occurs.
      Specified by:
      addListener in interface GTrableRowModel<T>
      Parameters:
      l - the listener to be notified
    • removeListener

      public void removeListener(GTrableModeRowlListener l)
      Description copied from interface: GTrableRowModel
      Removes a listener from the list that is notified each time a change to the model occurs.
      Specified by:
      removeListener in interface GTrableRowModel<T>
      Parameters:
      l - the listener to remove
    • fireModelChanged

      protected void fireModelChanged()