com.vlsolutions.swing.docking.event
Interface DockingActionListener
public interface DockingActionListener
A listener to docking actions.
This listener can be used to be notified of docking actions and to react to them (including
vetoing).
acceptDockingAction
public boolean acceptDockingAction(DockingActionEvent event)
Invoked before a docking action is processed, to give a chance to the
listener to react to it and cancel it if needed.
- true if action can be processed, false if it should be cancelled
dockingActionPerformed
public void dockingActionPerformed(DockingActionEvent event)
Invoked once a docking action has been performed.
event
- the event corresponding to the docking action. Subclasses of
DockingActionEvent are used to reflect different types of action
(DockingActionCloseEvent when a dockable is closed,
DockingActionSplitDockableEvent when a dockable is moved ...).
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications