All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vlsolutions.swing.docking.event.DockableSelectionEvent Maven / Gradle / Ivy

/*
    VLDocking Framework 3.0
    Copyright Lilian Chamontin, 2004-2013
    
    www.vldocking.com
    [email protected]
------------------------------------------------------------------------
This software is distributed under the LGPL license

The fact that you are presently reading this and using this class means that you have had
knowledge of the LGPL license and that you accept its terms.

You can read the complete license here :

    http://www.gnu.org/licenses/lgpl.html

*/

package com.vlsolutions.swing.docking.event;

import com.vlsolutions.swing.docking.Dockable;

/** An event for tracking selection changes of dockables. 
 * 

* Useful for example when * the developper wants to enable or disable actions depending on the dockable * which takes the keyboard focus. * *

implementation note : works with keyboard focus events. * * @author Lilian Chamontin, VLSolutions * @since 2.0 * @see DockableSelectionListener */ public class DockableSelectionEvent { private Dockable selectedDockable; public DockableSelectionEvent(Dockable selectedDockable) { this.selectedDockable = selectedDockable; } /** Returns the currently selected Dockable */ public Dockable getSelectedDockable() { return selectedDockable; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy