Package org.jdesktop.swingx.action

Examples of org.jdesktop.swingx.action.TargetableAction


        BoundAction findModeAction = new BoundAction("Incremental Search", "useFindBar");
        findModeAction.setStateAction();
        findModeAction.registerCallback(this, "useFindBar");
        getActionMap().put("useFindBar", findModeAction);
       
        TargetableAction findAction = new TargetableAction("Search", "find");
        getActionMap().put("triggerFind", findAction);
    }
View Full Code Here


       
        menu.add(factory.createMenuItem(getActionMap().get("useFindBar")));
        menuBar.add(menu);
         */
        menu = new JMenu("Help");
        TargetableAction findAction = new TargetableAction("About Us", "aboutus");
        getActionMap().put("triggerFind", findAction);
        menu.add(factory.createMenuItem(getActionMap().get("triggerFind")));
        menuBar.add(menu);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.action.TargetableAction

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.