bibliothek.gui.dock.action
Class MultiDockActionSource.Listener
java.lang.Object
bibliothek.gui.dock.action.MultiDockActionSource.Listener
- All Implemented Interfaces:
- DockActionSourceListener
- Enclosing class:
- MultiDockActionSource
private class MultiDockActionSource.Listener
- extends java.lang.Object
- implements DockActionSourceListener
A listener to the sources of this group of sources.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiDockActionSource.Listener
private MultiDockActionSource.Listener()
actionsAdded
public void actionsAdded(DockActionSource source,
int firstIndex,
int lastIndex)
- Description copied from interface:
DockActionSourceListener
- Invoked when one or more actions are added to the
source
.
- Specified by:
actionsAdded
in interface DockActionSourceListener
- Parameters:
source
- 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
.
actionsRemoved
public void actionsRemoved(DockActionSource source,
int firstIndex,
int lastIndex)
- Description copied from interface:
DockActionSourceListener
- Invoked if one or more actions are removed from the
source
.
- Specified by:
actionsRemoved
in interface DockActionSourceListener
- Parameters:
source
- 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
.