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

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

public interface ToolbarColumnModelListener<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<P> model, ToolbarColumn<P> column, int index)
          Called if a column was added to model.
 void removed(ToolbarColumnModel<P> model, ToolbarColumn<P> column, int index)
          Called if a column was removed from model.
 

Method Detail

inserted

void inserted(ToolbarColumnModel<P> model,
              ToolbarColumn<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<P> model,
             ToolbarColumn<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