public interface ColumnDockActionSource
ColumnDockActionSource is a list of DockActionSources, all with some offset. The
list and the offsets may change at any time.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ColumnDockActionSourceListener listener)
Adds the observer
listener to this source. |
Orientation |
getOrientation()
Gets the orientation of this source.
|
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. |
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.DockActionSource getSource(int index)
index'th source of this ColumnDockActionSource.index - the index of the sourceDockActionSource, 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 sourceint getSourceLength(int index)
index'th source.index - the index of the sourceCopyright © 2018. All rights reserved.