Package org.spoutcraft.client.controls

Examples of org.spoutcraft.client.controls.SimpleKeyBindingManager.save()


    if (item != null && item instanceof KeyBindingItem) {
      binding = (KeyBindingItem) item;
    }
    if (sh != null) {
      man.unregisterShortcut(sh.getShortcut());
      man.save();
    } else if (binding != null) {
      man.unregisterControl(binding.getBinding());
      man.save();
      model.refresh();
    } else {
View Full Code Here


    if (sh != null) {
      man.unregisterShortcut(sh.getShortcut());
      man.save();
    } else if (binding != null) {
      man.unregisterControl(binding.getBinding());
      man.save();
      model.refresh();
    } else {
      item.setKey(-128);
    }
    model.refresh();
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.