Package javax.swing.plaf

Examples of javax.swing.plaf.InputMapUIResource.keys()


    harness.check(defaults.get("List.cellRenderer") instanceof ListCellRenderer);
    harness.check(defaults.get("List.focusCellHighlightBorder") instanceof BorderUIResource.LineBorderUIResource);
    harness.check(defaults.get("List.focusInputMap") instanceof InputMapUIResource);
    Object l = UIManager.get("List.focusInputMap");
    InputMapUIResource lim = (InputMapUIResource) l;
    KeyStroke[] kl = lim.keys();
    harness.check(kl.length == 61);
    harness.check(lim.get(KeyStroke.getKeyStroke("ctrl DOWN")), "selectNextRowChangeLead");
    harness.check(lim.get(KeyStroke.getKeyStroke("shift UP")), "selectPreviousRowExtendSelection");
    harness.check(lim.get(KeyStroke.getKeyStroke("ctrl RIGHT")), "selectNextColumnChangeLead");
    harness.check(lim.get(KeyStroke.getKeyStroke("shift ctrl LEFT")), "selectPreviousColumnExtendSelection");
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.