|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.event.DockStationAdapter
public abstract class DockStationAdapter
An abstract implementation of DockStationListener
.
All methods of this class are empty. The class can be used instead of
DockStationListener
if only a few methods have to be implemented.
Constructor Summary | |
---|---|
DockStationAdapter()
|
Method Summary | |
---|---|
void |
dockableAdded(DockStation station,
Dockable dockable)
Invoked after dockable has been added to station . |
void |
dockableAdding(DockStation station,
Dockable dockable)
Invoked before dockable is added to station . |
void |
dockableRemoved(DockStation station,
Dockable dockable)
Invoked after dockable has been removed from
station . |
void |
dockableRemoving(DockStation station,
Dockable dockable)
Invoked before dockable is removed from station . |
void |
dockableSelected(DockStation station,
Dockable oldSelection,
Dockable newSelection)
Called when dockable has been selected. |
void |
dockableVisibiltySet(DockStation station,
Dockable dockable,
boolean visible)
Invoked if the visibility of a child has been changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DockStationAdapter()
Method Detail |
---|
public void dockableAdding(DockStation station, Dockable dockable)
DockStationListener
dockable
is added to station
.
dockableAdding
in interface DockStationListener
station
- the station where the new child will be addeddockable
- the new childpublic void dockableRemoving(DockStation station, Dockable dockable)
DockStationListener
dockable
is removed from station
.
dockableRemoving
in interface DockStationListener
station
- the station where the old child will be removeddockable
- the old childpublic void dockableAdded(DockStation station, Dockable dockable)
DockStationListener
dockable
has been added to station
.DockElement
s contains
the new element, other properties - like the bounds of the
Component
of dockable
- might not yet be set.
dockableAdded
in interface DockStationListener
station
- the station where the new child was addeddockable
- the new childpublic void dockableRemoved(DockStation station, Dockable dockable)
DockStationListener
dockable
has been removed from
station
.
dockableRemoved
in interface DockStationListener
station
- the station where the old child was removeddockable
- the old childpublic void dockableVisibiltySet(DockStation station, Dockable dockable, boolean visible)
DockStationListener
DockableVisibilityManager
to organize the calls in an easy way.
dockableVisibiltySet
in interface DockStationListener
station
- the station whose children have changed their visibilitydockable
- the Dockable
whose visibility has changedvisible
- the new visibility-statepublic void dockableSelected(DockStation station, Dockable oldSelection, Dockable newSelection)
DockStationListener
dockable
has been selected. The value of
dockable
should be the same as DockStation.getFrontDockable()
.
dockableSelected
in interface DockStationListener
station
- the source of the eventoldSelection
- the element which was selected before the change, can be null
newSelection
- the current value of DockStation.getFrontDockable()
, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |