Class RemoteKey

  • All Implemented Interfaces:
    Key

    public class RemoteKey
    extends java.lang.Object
    implements Key
    • Constructor Detail

      • RemoteKey

        public RemoteKey​(RMIKey key,
                         RemoteKeys keys,
                         java.lang.String name)
    • Method Detail

      • getId

        public int getId()
        Specified by:
        getId in interface Key
      • isDown

        public boolean isDown()
        Specified by:
        isDown in interface Key
      • isUp

        public boolean isUp()
        Specified by:
        isUp in interface Key
      • waitForPress

        public void waitForPress()
        Specified by:
        waitForPress in interface Key
      • simulateEvent

        public void simulateEvent​(int event)
        Specified by:
        simulateEvent in interface Key
      • callListeners

        public void callListeners()
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Key