Package zetes.wings

Examples of zetes.wings.HotKey


 
  public QuadraticMenuConstructor(QuadraticViewWindowsManager viewWindowsManager) {
    super(viewWindowsManager);
   
    newAction = new Action<>("&New");
    newAction.setHotKey(new HotKey(HotKey.MOD1, 'N'));
    getFileActionCategory().addFirstItem(newAction);
  }
View Full Code Here


 
  public TinyViewerMenuConstructor(ImageViewWindowsManager viewWindowsManager) {
    super(viewWindowsManager);
   
    openAction = new Action<>("&Open");
    openAction.setHotKey(new HotKey(HotKey.MOD1, 'O'));
    getFileActionCategory().addFirstItem(openAction);
  }
View Full Code Here

    super(viewWindowsManager);
   
    viewWindowsManager.addListener(viewWindowsManagerListener);
   
    newSessionAction = new Action<>("&Create session...");
    newSessionAction.setHotKey(new HotKey(HotKey.MOD1, 'N'));
    getFileActionCategory().addFirstItem(newSessionAction);
   
    sendFileAction = new Action<>("&Send file...");
    sendFileAction.setHotKey(new HotKey(HotKey.MOD1 | HotKey.ALT, 'S'));
    getFileActionCategory().addLastItem(sendFileAction);
  }
View Full Code Here

    viewWindowsManager.addListener(viewWindowsManagerListener);
   
    ActionList<GLViewWindow> viewModelActionList = new ActionList<>();

    viewModelCubeAction = new Action<>("Cube");
    viewModelCubeAction.setHotKey(new HotKey(0, '1'));
    viewModelActionList.addLastItem(viewModelCubeAction);

    viewModelMonkeyAction = new Action<>("Monkey simple");
    viewModelMonkeyAction.setHotKey(new HotKey(0, '2'));
    viewModelActionList.addLastItem(viewModelMonkeyAction);

    viewModelMonkeySubdivAction = new Action<>("Monkey subdivided");
    viewModelMonkeySubdivAction.setHotKey(new HotKey(0, '3'));
    viewModelActionList.addLastItem(viewModelMonkeySubdivAction);
   
    getViewActionCategory().addFirstItem(new Separator<GLViewWindow>());
    getViewActionCategory().addFirstItem(viewModelActionList);
  }
View Full Code Here

TOP

Related Classes of zetes.wings.HotKey

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.