Examples of DockableStateWillChangeEvent


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

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

            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
Copyright © 2018 www.massapi.com. 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.