|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
D
- the dockable class itselfP
- the kind of object used to describe a Dockable
@FrameworkOnly public interface ToolbarColumn<D,P>
Represents one column of a ToolbarGroupDockStation
. This interface
is not intended for subclassing.
Method Summary | |
---|---|
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 Dockable s are shown in this column. |
P |
getItem(int index)
Gets a wrapper item that represents the Dockable at index . |
int |
indexOf(bibliothek.gui.Dockable dockable)
Gets the index of dockable . |
void |
removeListener(ToolbarColumnListener<D,P> listener)
Removes the observer listener from this column. |
Method Detail |
---|
int getDockableCount()
Dockable
s are shown in this column.
Dockable
s, at least 0
.D getDockable(int index)
index
'th Dockable
of this column.
index
- the index of the Dockable
index
, never null
IllegalArgumentException
- if index
is out of boundsint indexOf(bibliothek.gui.Dockable dockable)
dockable
.
dockable
- the item to search
P getItem(int index)
Dockable
at index
.
index
- the index of the item
index
, never null
int 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 remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |