com.vlsolutions.swing.docking.event
public interface DockingActionListener
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.
|
Returns: true if action can be processed, false if it should be cancelled
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 ...).