com.vlsolutions.swing.docking.event
Class DockableStateChangeEvent
java.lang.Object
com.vlsolutions.swing.docking.event.DockableStateChangeEvent
public class DockableStateChangeEvent
extends java.lang.Object
An event triggered after a change of dockable state.
Events are triggered when a component is :
- Docked (added to the desktop)
- set in Auto-hide mode (collapsed as a border button)
- closed (removed from the desktop)
- maximized (the only one visible)
- floating (detached from the desktop)
It is also possible to track changes before they occurs with
the DockableStateWillChangeEvent, which is triggered before the change is
processed (this event is vetoable).
getNewState
public DockableState getNewState()
returns the new state of the dockable
getPreviousState
public DockableState getPreviousState()
returns the previous state of the dockable, or null if the component
wasn't known to the docking desktop before.
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications