|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phidgets.DictionaryKeyListener
This class represents a key listener.
This key listener is used, along with the Dictionary object, to set up listener for specific keys, or groups of keys. Events are available for key add or change, and for key removal.
Field Summary | |
long |
listenerhandle
|
Constructor Summary | |
DictionaryKeyListener(Dictionary dict,
java.lang.String pattern)
Creates a new key listener, for a specific pattern, on a specific dictionary object. |
Method Summary | |
void |
addKeyChangeListener(KeyChangeListener l)
Add a new listener for key change events. |
void |
addKeyRemovalListener(KeyRemovalListener l)
Add a new listener for key removal events. |
Dictionary |
getDictionary()
Returns the Dictionary object that this listener is listening on. |
void |
removeKeyChangeListener(KeyChangeListener l)
Removes a key change listener. |
void |
removeKeyRemovalListener(KeyRemovalListener l)
removes a key removal listener. |
void |
start()
Start this key listener. |
void |
stop()
Stop this key listener. |
java.lang.String |
toString()
Return a Sring describing this dictionary key listener. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public long listenerhandle
Constructor Detail |
public DictionaryKeyListener(Dictionary dict, java.lang.String pattern)
Method Detail |
public void start() throws PhidgetException
PhidgetException
public void stop()
public Dictionary getDictionary()
public final void addKeyChangeListener(KeyChangeListener l)
public final void removeKeyChangeListener(KeyChangeListener l)
public final void addKeyRemovalListener(KeyRemovalListener l)
public final void removeKeyRemovalListener(KeyRemovalListener l)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |