WarpPI/src/main/java/org/warp/picalculator/event/KeyPressedEvent.java

17 lines
228 B
Java
Raw Normal View History

package org.warp.picalculator.event;
public class KeyPressedEvent implements KeyEvent {
private Key k;
public KeyPressedEvent(Key k) {
this.k = k;
}
@Override
public Key getKey() {
return k;
}
}