org.primefaces.component.keyboard
Class Keyboard

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by javax.faces.component.html.HtmlInputText
                      extended by org.primefaces.component.keyboard.Keyboard
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class Keyboard
extends javax.faces.component.html.HtmlInputText
implements Widget


Nested Class Summary
protected static class Keyboard.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String STYLE_CLASS
           
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
Keyboard()
           
 
Method Summary
 String getBackspaceLabel()
           
 String getButtonImage()
           
 String getClearLabel()
           
 String getCloseLabel()
           
 String getEffect()
           
 String getEffectDuration()
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFamily()
           
 String getLayout()
           
 String getLayoutTemplate()
           
 String getPromptLabel()
           
 String getShowMode()
           
 String getWidgetVar()
           
 void handleAttribute(String name, Object value)
           
 boolean isButtonImageOnly()
           
 boolean isKeypadOnly()
           
 boolean isPassword()
           
 String resolveWidgetVar()
           
 void setBackspaceLabel(String _backspaceLabel)
           
 void setButtonImage(String _buttonImage)
           
 void setButtonImageOnly(boolean _buttonImageOnly)
           
 void setClearLabel(String _clearLabel)
           
 void setCloseLabel(String _closeLabel)
           
 void setEffect(String _effect)
           
 void setEffectDuration(String _effectDuration)
           
 void setKeypadOnly(boolean _keypadOnly)
           
 void setLayout(String _layout)
           
 void setLayoutTemplate(String _layoutTemplate)
           
 void setPassword(boolean _password)
           
 void setPromptLabel(String _promptLabel)
           
 void setShowMode(String _showMode)
           
 void setWidgetVar(String _widgetVar)
           
 
Methods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getEventNames, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

STYLE_CLASS

public static final String STYLE_CLASS
See Also:
Constant Field Values
Constructor Detail

Keyboard

public Keyboard()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIInput

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

isPassword

public boolean isPassword()

setPassword

public void setPassword(boolean _password)

getShowMode

public String getShowMode()

setShowMode

public void setShowMode(String _showMode)

getButtonImage

public String getButtonImage()

setButtonImage

public void setButtonImage(String _buttonImage)

isButtonImageOnly

public boolean isButtonImageOnly()

setButtonImageOnly

public void setButtonImageOnly(boolean _buttonImageOnly)

getEffect

public String getEffect()

setEffect

public void setEffect(String _effect)

getEffectDuration

public String getEffectDuration()

setEffectDuration

public void setEffectDuration(String _effectDuration)

getLayout

public String getLayout()

setLayout

public void setLayout(String _layout)

getLayoutTemplate

public String getLayoutTemplate()

setLayoutTemplate

public void setLayoutTemplate(String _layoutTemplate)

isKeypadOnly

public boolean isKeypadOnly()

setKeypadOnly

public void setKeypadOnly(boolean _keypadOnly)

getPromptLabel

public String getPromptLabel()

setPromptLabel

public void setPromptLabel(String _promptLabel)

getCloseLabel

public String getCloseLabel()

setCloseLabel

public void setCloseLabel(String _closeLabel)

getClearLabel

public String getClearLabel()

setClearLabel

public void setClearLabel(String _clearLabel)

getBackspaceLabel

public String getBackspaceLabel()

setBackspaceLabel

public void setBackspaceLabel(String _backspaceLabel)

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2012. All Rights Reserved.