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.
|
void |
setAltKey(java.lang.Boolean altKey)
If set, whether the Alt key must be held down.
|
void |
setCtrlKey(java.lang.Boolean ctrlKey)
If set, whether the Control key must be held down.
|
void |
setKeyName(java.lang.String keyName)
Name of the key.
|
void |
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 void setAltKey(java.lang.Boolean altKey)
altKey
- Default value is nullEventHandler.altKeyDown()
public java.lang.Boolean getAltKey()
EventHandler.altKeyDown()
public void setCtrlKey(java.lang.Boolean ctrlKey)
ctrlKey
- Default value is nullEventHandler.ctrlKeyDown()
public java.lang.Boolean getCtrlKey()
EventHandler.ctrlKeyDown()
public void setKeyName(java.lang.String keyName)
keyName
- Default value is nullpublic java.lang.String getKeyName()
public void setShiftKey(java.lang.Boolean shiftKey)
shiftKey
- Default value is nullEventHandler.shiftKeyDown()
public java.lang.Boolean getShiftKey()
EventHandler.shiftKeyDown()