com.vlsolutions.swing.docking.event

Class DockableStateChangeEvent

public class DockableStateChangeEvent extends Object

An event triggered after a change of dockable state.

Events are triggered when a component is :

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

See Also: DockableStateWillChangeEvent

Constructor Summary
DockableStateChangeEvent(DockableState previousState, DockableState newState)
Method Summary
DockableStategetNewState()
returns the new state of the dockable
DockableStategetPreviousState()
returns the previous state of the dockable, or null if the component wasn't known to the docking desktop before.

Constructor Detail

DockableStateChangeEvent

public DockableStateChangeEvent(DockableState previousState, DockableState newState)

Method Detail

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