com.vlsolutions.swing.docking.event

Class DockableStateChangeEvent


public class DockableStateChangeEvent
extends java.lang.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, DockableStateChangeListener

Constructor Summary

DockableStateChangeEvent(DockableState previousState, DockableState newState)

Method Summary

DockableState
getNewState()
returns the new state of the dockable
DockableState
getPreviousState()
returns the previous state of the dockable, or null if the component wasn't known to the docking desktop before.

Constructor Details

DockableStateChangeEvent

public DockableStateChangeEvent(DockableState previousState,
                                DockableState newState)

Method Details

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