|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColumnDockActionSource
A ColumnDockActionSource is a list of DockActionSources, all with some offset. The
list and the offsets may change at any time.
| Method Summary | |
|---|---|
void |
addListener(ColumnDockActionSourceListener listener)
Adds the observer listener to this source. |
Orientation |
getOrientation()
Gets the orientation of this source. |
bibliothek.gui.dock.action.DockActionSource |
getSource(int index)
Gets the index'th source of this ColumnDockActionSource. |
int |
getSourceCount()
Gets the total number of DockActionSources that are currently available. |
int |
getSourceLength(int index)
Gets the available length in pixel for the index'th source. |
int |
getSourceOffset(int index)
Gets the offset of the index'th source in pixel. |
void |
removeListener(ColumnDockActionSourceListener listener)
Removes the observer listener from this source. |
| Method Detail |
|---|
void addListener(ColumnDockActionSourceListener listener)
listener to this source.
listener - the new observervoid removeListener(ColumnDockActionSourceListener listener)
listener from this source.
listener - the observer to removeint getSourceCount()
DockActionSources that are currently available.
bibliothek.gui.dock.action.DockActionSource getSource(int index)
index'th source of this ColumnDockActionSource.
index - the index of the source
DockActionSource, must not be null but may be emptyOrientation getOrientation()
getSourceOffset(int) points: either along the x, or along the y axis.
nullint getSourceOffset(int index)
index'th source in pixel. The offset is relative to
the Dockable to which this ColumnDockActionSource belongs.
index - the index of the source
int getSourceLength(int index)
index'th source.
index - the index of the source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||