Package sun.swing

Examples of sun.swing.UIAction


        LazyActionMap.installLazyActionMap(frame, BasicInternalFrameUI.class,
            "InternalFrame.actionMap");
    }

    static void loadActionMap(LazyActionMap map) {
        map.put(new UIAction("showSystemMenu") {
            public void actionPerformed(ActionEvent evt) {
                JInternalFrame iFrame = (JInternalFrame)evt.getSource();
                if (iFrame.getUI() instanceof BasicInternalFrameUI) {
                    JComponent comp = ((BasicInternalFrameUI)
                        iFrame.getUI()).getNorthPane();
View Full Code Here


        unwrap(am, "addToSelection");
        super.uninstallKeyboardActions();
    }

    private void wrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(!(action instanceof ActionWrapper)) {
            ActionWrapper wrapper = new ActionWrapper(name, action);
            am.put(name, wrapper);
        }
    }
View Full Code Here

            am.put(name, wrapper);
        }
    }

    private void unwrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(action instanceof ActionWrapper) {
            UIAction original = ((ActionWrapper)action).originalAction;
            am.put(name, original);
        }
    }
View Full Code Here

        unwrap(am, "addToSelection");
        super.uninstallKeyboardActions();
    }

    private void wrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(!(action instanceof ActionWrapper)) {
            ActionWrapper wrapper = new ActionWrapper(name, action);
            am.put(name, wrapper);
        }
    }
View Full Code Here

            am.put(name, wrapper);
        }
    }

    private void unwrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(action instanceof ActionWrapper) {
            UIAction original = ((ActionWrapper)action).originalAction;
            am.put(name, original);
        }
    }
View Full Code Here

        unwrap(am, "addToSelection");
        super.uninstallKeyboardActions();
    }

    private void wrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(!(action instanceof ActionWrapper)) {
            ActionWrapper wrapper = new ActionWrapper(name, action);
            am.put(name, wrapper);
        }
    }
View Full Code Here

            am.put(name, wrapper);
        }
    }

    private void unwrap(ActionMap am, String name) {
        UIAction action = (UIAction)am.get(name);
        if(action instanceof ActionWrapper) {
            UIAction original = ((ActionWrapper)action).originalAction;
            am.put(name, original);
        }
    }
View Full Code Here

        LazyActionMap.installLazyActionMap(frame, BasicInternalFrameUI.class,
            "InternalFrame.actionMap");
    }

    static void loadActionMap(LazyActionMap map) {
        map.put(new UIAction("showSystemMenu") {
            public void actionPerformed(ActionEvent evt) {
                JInternalFrame iFrame = (JInternalFrame)evt.getSource();
                if (iFrame.getUI() instanceof BasicInternalFrameUI) {
                    JComponent comp = ((BasicInternalFrameUI)
                        iFrame.getUI()).getNorthPane();
View Full Code Here

        LazyActionMap.installLazyActionMap(frame, BasicInternalFrameUI.class,
            "InternalFrame.actionMap");
    }

    static void loadActionMap(LazyActionMap map) {
        map.put(new UIAction("showSystemMenu") {
            public void actionPerformed(ActionEvent evt) {
                JInternalFrame iFrame = (JInternalFrame)evt.getSource();
                if (iFrame.getUI() instanceof BasicInternalFrameUI) {
                    JComponent comp = ((BasicInternalFrameUI)
                        iFrame.getUI()).getNorthPane();
View Full Code Here

TOP

Related Classes of sun.swing.UIAction

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.