D - the dockable class itselfP - the kind of object used to describe a Dockable@FrameworkOnly public interface ToolbarColumn<D,P>
ToolbarGroupDockStation. This interface
is not intended for subclassing.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ToolbarColumnListener<D,P> listener)
Adds the new observer
listener to this column. |
int |
getColumnIndex()
Gets the location of this column in its parent
ToolbarColumnModel. |
D |
getDockable(int index)
Gets the
index'th Dockable of this column. |
int |
getDockableCount()
Tells how many
Dockables are shown in this column. |
P |
getItem(int index)
Gets a wrapper item that represents the
Dockable at index. |
int |
indexOf(Dockable dockable)
Gets the index of
dockable. |
void |
removeListener(ToolbarColumnListener<D,P> listener)
Removes the observer
listener from this column. |
int getDockableCount()
Dockables are shown in this column.Dockables, at least 0.D getDockable(int index)
index'th Dockable of this column.index - the index of the Dockableindex, never nullIllegalArgumentException - if index is out of boundsint indexOf(Dockable dockable)
dockable.dockable - the item to searchP getItem(int index)
Dockable at index.index - the index of the itemindex, never nullint getColumnIndex()
ToolbarColumnModel.void addListener(ToolbarColumnListener<D,P> listener)
listener to this column.listener - the new observervoid removeListener(ToolbarColumnListener<D,P> listener)
listener from this column.listener - the listener to removeCopyright © 2018. All rights reserved.