public class CloseActionSource extends AbstractDockActionSource
CDockable and either adds
or removes a close-action from itself.listeners| Constructor and Description |
|---|
CloseActionSource(CDockable dockable)
Creates a new source
|
| Modifier and Type | Method and Description |
|---|---|
DockAction |
getDockAction(int index) |
int |
getDockActionCount() |
LocationHint |
getLocationHint() |
Iterator<DockAction> |
iterator() |
void |
setControl(CControlAccess control)
Grants access to the
CControl and allows to create the default
action. |
protected void |
update()
Called when the content of this source needs to be updated.
|
addDockActionSourceListener, fireAdded, fireRemoved, hasListeners, indexOf, removeDockActionSourceListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CloseActionSource(CDockable dockable)
dockable - the element which will be observed for changespublic void setControl(CControlAccess control)
CControl and allows to create the default
action.control - the access or nullprotected void update()
public DockAction getDockAction(int index)
public int getDockActionCount()
public LocationHint getLocationHint()
public Iterator<DockAction> iterator()
Copyright © 2018. All rights reserved.