public class KeyIdentifier extends DataClass
factoryCreated, factoryProperties
Constructor and Description |
---|
KeyIdentifier() |
KeyIdentifier(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAltKey()
If set, whether the Alt key must be held down.
|
java.lang.Boolean |
getCtrlKey()
If set, whether the Control key must be held down.
|
java.lang.String |
getKeyName()
Name of the key.
|
static KeyIdentifier |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getShiftKey()
If set, whether the Shift key must be held down.
|
KeyIdentifier |
setAltKey(java.lang.Boolean altKey)
If set, whether the Alt key must be held down.
|
KeyIdentifier |
setCtrlKey(java.lang.Boolean ctrlKey)
If set, whether the Control key must be held down.
|
KeyIdentifier |
setKeyName(java.lang.String keyName)
Name of the key.
|
KeyIdentifier |
setShiftKey(java.lang.Boolean shiftKey)
If set, whether the Shift key must be held down.
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public KeyIdentifier()
public KeyIdentifier(com.google.gwt.core.client.JavaScriptObject jsObj)
public static KeyIdentifier getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public KeyIdentifier setAltKey(java.lang.Boolean altKey)
altKey
- New altKey value. Default value is nullKeyIdentifier
instance, for chaining setter callsEventHandler.altKeyDown()
public java.lang.Boolean getAltKey()
EventHandler.altKeyDown()
public KeyIdentifier setCtrlKey(java.lang.Boolean ctrlKey)
ctrlKey
- New ctrlKey value. Default value is nullKeyIdentifier
instance, for chaining setter callsEventHandler.ctrlKeyDown()
public java.lang.Boolean getCtrlKey()
EventHandler.ctrlKeyDown()
public KeyIdentifier setKeyName(java.lang.String keyName)
keyName
- New keyName value. Default value is nullKeyIdentifier
instance, for chaining setter callsKeyName
public java.lang.String getKeyName()
KeyName
public KeyIdentifier setShiftKey(java.lang.Boolean shiftKey)
shiftKey
- New shiftKey value. Default value is nullKeyIdentifier
instance, for chaining setter callsEventHandler.shiftKeyDown()
public java.lang.Boolean getShiftKey()
EventHandler.shiftKeyDown()