public interface DockActionSource extends Iterable<DockAction>
DockActions which may change its size
at any time.| Modifier and Type | Method and Description |
|---|---|
void |
addDockActionSourceListener(DockActionSourceListener listener)
Adds a listener to this source.
|
DockAction |
getDockAction(int index)
Gets the index'th
DockAction of this source. |
int |
getDockActionCount()
Gets the number of
DockActions which are
provided by this source. |
LocationHint |
getLocationHint()
Gets a hint where to put this source in relation to other sources.
|
void |
removeDockActionSourceListener(DockActionSourceListener listener)
Removes an earlier added listener.
|
forEach, iterator, spliteratorLocationHint getLocationHint()
ActionOffer can choose to ignore these hints, or interpret
them in an unexpected way.int getDockActionCount()
DockActions which are
provided by this source.DockActionsDockAction getDockAction(int index)
DockAction of this source.index - The index of the actionvoid addDockActionSourceListener(DockActionSourceListener listener)
DockActionSourceListener should
be informed whenever some DockActions are added or
removed from this source.listener - The listenervoid removeDockActionSourceListener(DockActionSourceListener listener)
listener - The listener to removeaddDockActionSourceListener(DockActionSourceListener)Copyright © 2017 Docking Frames. All rights reserved.