bibliothek.gui.dock.station.toolbar.group
Interface ToolbarColumnModelListener<D,P>

Type Parameters:
D - the dockable class itself
P - the wrapper class used to describe a Dockable

public interface ToolbarColumnModelListener<D,P>

A listener that is added to a ToolbarColumnModel, is informed if columns are added or removed from the model.

Author:
Benjamin Sigg

Method Summary
 void inserted(ToolbarColumnModel<D,P> model, ToolbarColumn<D,P> column, int index)
          Called if a column was added to model.
 void removed(ToolbarColumnModel<D,P> model, ToolbarColumn<D,P> column, int index)
          Called if a column was removed from model.
 

Method Detail

inserted

void inserted(ToolbarColumnModel<D,P> model,
              ToolbarColumn<D,P> column,
              int index)
Called if a column was added to model.

Parameters:
model - the source of the event
column - the column that was added
index - the index of the new column

removed

void removed(ToolbarColumnModel<D,P> model,
             ToolbarColumn<D,P> column,
             int index)
Called if a column was removed from model.

Parameters:
model - the source of the event
column - the column that was removed
index - the index of the removed column