public abstract class DockActionSourceAdapter extends Object implements DockActionSourceListener
DockActionSourceListener. This class
can be used instead of DockActionSourceListener if only a few
selected methods have to be implemented.| Constructor and Description |
|---|
DockActionSourceAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionsAdded(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked when one or more actions are added to the
source. |
void |
actionsRemoved(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked if one or more actions are removed from the
source. |
public void actionsAdded(DockActionSource source, int firstIndex, int lastIndex)
DockActionSourceListenersource.actionsAdded in interface DockActionSourceListenersource - the origin of the eventfirstIndex - the index of the first new actionlastIndex - the index of the last new action. This value
must be greater or equal to firstIndex.public void actionsRemoved(DockActionSource source, int firstIndex, int lastIndex)
DockActionSourceListenersource.actionsRemoved in interface DockActionSourceListenersource - the origin of the event.firstIndex - the index of the first action that was removedlastIndex - the index of the last action that was removed. This
argument is greater or equal to firstIndex.Copyright © 2017 Docking Frames. All rights reserved.