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).

Since:
2.1

Method Summary
 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.
 void dockingActionPerformed(DockingActionEvent event)
          Invoked once a docking action has been performed.
 

Method Detail

acceptDockingAction

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.

Returns:
true if action can be processed, false if it should be cancelled

dockingActionPerformed

void dockingActionPerformed(DockingActionEvent event)
Invoked once a docking action has been performed.

Parameters:
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-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications