bibliothek.gui.dock.common.event
Interface CDockableStateListener

All Known Implementing Classes:
CDockableAdapter

public interface CDockableStateListener

A listener added to a CDockable, this listener will get informed about state changes of CDockable.

Author:
Benjamin Sigg
See Also:
CDockablePropertyListener

Method Summary
 void extendedModeChanged(CDockable dockable, ExtendedMode mode)
          Called if the extended mode of dockable changed.
 void visibilityChanged(CDockable dockable)
          Called when the visibility-property has changed.
 

Method Detail

visibilityChanged

void visibilityChanged(CDockable dockable)
Called when the visibility-property has changed. Please read the notes of CDockable.isVisible() to learn more about the exact meaning of visibility in the context of a CDockable.
Clients interested in the visibility of a dockable to the user should use a CDockableLocationListener.

Parameters:
dockable - the source of the event

extendedModeChanged

void extendedModeChanged(CDockable dockable,
                         ExtendedMode mode)
Called if the extended mode of dockable changed.

Parameters:
dockable - the element whose mode changed
mode - the new mode