@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIHotKey extends AbstractHotKey implements javax.faces.component.behavior.ClientBehaviorHolder
The <rich:hotKey> component allows registering hot keys on the page or particular elements and defining client side processing functions for these keys.
Modifier and Type | Class and Description |
---|---|
protected static class |
UIHotKey.Properties |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIHotKey() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getKey() |
String |
getOnkeydown() |
String |
getOnkeyup() |
String |
getSelector() |
boolean |
isEnabledInInput() |
boolean |
isPreventDefault() |
void |
setEnabledInInput(boolean enabledInInput) |
void |
setKey(String key) |
void |
setOnkeydown(String onkeydown) |
void |
setOnkeyup(String onkeyup) |
void |
setPreventDefault(boolean preventDefault) |
void |
setSelector(String selector) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public boolean isEnabledInInput()
isEnabledInInput
in class AbstractHotKey
public void setEnabledInInput(boolean enabledInInput)
public String getKey()
getKey
in class AbstractHotKey
public void setKey(String key)
public String getOnkeydown()
getOnkeydown
in class AbstractHotKey
public void setOnkeydown(String onkeydown)
public String getOnkeyup()
getOnkeyup
in class AbstractHotKey
public void setOnkeyup(String onkeyup)
public boolean isPreventDefault()
isPreventDefault
in class AbstractHotKey
public void setPreventDefault(boolean preventDefault)
public String getSelector()
getSelector
in class AbstractHotKey
public void setSelector(String selector)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.