Class Commands


  • public final class Commands
    extends java.lang.Object
    Author:
    Sam
    • Constructor Summary

      Constructors 
      Constructor Description
      Commands()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int parseKeys​(java.lang.String flags)
      Parses the key flags of a mouse event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Commands

        public Commands()
    • Method Detail

      • parseKeys

        public static int parseKeys​(java.lang.String flags)
        Parses the key flags of a mouse event.
        Returns:
        a combination of MouseEvent.ALT_KEY, MouseEvent.SHIFT_KEY and MouseEvent.CTRL_KEY,