Package lejos.remote.ev3
Interface RMIKey
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
RMIRemoteKey
public interface RMIKey extends java.rmi.Remote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddKeyListener(KeyListener listener)intgetId()booleanisDown()booleanisUp()voidsimulateEvent(int event)voidwaitForPress()voidwaitForPressAndRelease()
-
-
-
Field Detail
-
UP
static final int UP
- See Also:
- Constant Field Values
-
ENTER
static final int ENTER
- See Also:
- Constant Field Values
-
DOWN
static final int DOWN
- See Also:
- Constant Field Values
-
RIGHT
static final int RIGHT
- See Also:
- Constant Field Values
-
LEFT
static final int LEFT
- See Also:
- Constant Field Values
-
ESCAPE
static final int ESCAPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
int getId() throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
isDown
boolean isDown() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
isUp
boolean isUp() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
waitForPress
void waitForPress() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
waitForPressAndRelease
void waitForPressAndRelease() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
addKeyListener
void addKeyListener(KeyListener listener) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
simulateEvent
void simulateEvent(int event) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
-