|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.input.Binding
public class Binding
Represents a key value and action name pair. The values for keyCode are taken from MinuetoKeyboard. When defining a binding in either a Scene or a Production XML element, the following strings are valid names of a key value. Case matters.
Field Summary | |
---|---|
java.lang.String |
actionName
The name of the action to call when this binding is invoked |
int |
keyCode
The key value to bind the action name to. |
java.lang.String |
keyName
The String the keyCode was parsed from |
Constructor Summary | |
---|---|
Binding()
|
Method Summary | |
---|---|
java.lang.String |
toXML()
Get an XML representation of this Binding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String actionName
public int keyCode
public java.lang.String keyName
Constructor Detail |
---|
public Binding()
Method Detail |
---|
public java.lang.String toXML()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |