Package com.vlsolutions.swing.docking.event

Examples of com.vlsolutions.swing.docking.event.DockableStateWillChangeEvent


            // in this context, the drag event can only be generated by a hidden dockable
            // (if there is a way to drag its button) or an already docked dockable (no state change)
            if (currentState.getLocation() != futureLocation) { // state cannot be null
                this.stateChange = true;
                DockableState newState = new DockableState(umInfo.desktop, dockable, futureLocation);
                DockableStateWillChangeEvent dscwEvent =
                        new DockableStateWillChangeEvent(currentState, newState);
                if (!desktop.getContext().fireDockableStateWillChange(dscwEvent)) {
                    return false;
                }
            }
View Full Code Here


            if (currentState == null) {
                return false; // safety check as is shouldn't be the case
            }

            DockableStateWillChangeEvent dscwEvent = new DockableStateWillChangeEvent(currentState, newState);
            //
            if (!desktop.getContext().fireDockableStateWillChange(dscwEvent)) {
                return false;
            } else {
                // also trigger DockingAction
View Full Code Here

TOP

Related Classes of com.vlsolutions.swing.docking.event.DockableStateWillChangeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.