|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
oop.piltnik.KeyboardEvent
public class KeyboardEvent
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
KeyboardEvent(java.lang.Object source,
boolean ts,
int vk,
boolean ap,
boolean ek)
Konstruktori KeyboardEvent kirjeldus |
Method Summary | |
---|---|
boolean |
equals(KeyboardEvent event)
Meetod, mis võrdleb klavatuurisündmusi. |
boolean |
getTransitionState()
Piilumeetod, üleminekufaasi teada saamiseks. |
long |
getVirtualKeyCode()
Piilumeetod, klahvikoodi teadasamiseks. |
boolean |
isAltPressed()
Piilumeetod, teada saamiseks kas alt klahv on vajutatud. |
boolean |
isExtendedKey()
Piilumeetod, teadasaamiseks kas tegu on laiendusklahviga. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyboardEvent(java.lang.Object source, boolean ts, int vk, boolean ap, boolean ek)
source
- vaadeldav objekt.ts
- üleminekufaas.vk
- klahvikood.ap
- kas alt klahvi on vajutatud.ek
- kas on laiendusklahv.Method Detail |
---|
public boolean getTransitionState()
public long getVirtualKeyCode()
public boolean isAltPressed()
public boolean isExtendedKey()
public boolean equals(KeyboardEvent event)
event
- võrdluse all olev klaviatuurisündmus.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |