D
- the dockable class itselfP
- the wrapper class used to describe a Dockable
public interface ToolbarColumnModelListener<D,P>
ToolbarColumnModel
, is informed
if columns are added or removed from the model.Modifier and Type | Method and Description |
---|---|
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 . |
void inserted(ToolbarColumnModel<D,P> model, ToolbarColumn<D,P> column, int index)
model
.model
- the source of the eventcolumn
- the column that was addedindex
- the index of the new columnvoid removed(ToolbarColumnModel<D,P> model, ToolbarColumn<D,P> column, int index)
model
.model
- the source of the eventcolumn
- the column that was removedindex
- the index of the removed column