public class InputSwitch extends javax.faces.component.UIInput implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
protected static class |
InputSwitch.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
CONTAINER_CLASS |
static String |
HANDLE_CLASS |
static String |
OFF_LABEL_CLASS |
static String |
ON_LABEL_CLASS |
Constructor and Description |
---|
InputSwitch() |
Modifier and Type | Method and Description |
---|---|
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getLabel() |
String |
getOffLabel() |
String |
getOnblur() |
String |
getOnchange() |
String |
getOnfocus() |
String |
getOnLabel() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTabindex() |
String |
getWidgetVar() |
boolean |
isDisabled() |
boolean |
isShowLabels() |
String |
resolveWidgetVar() |
void |
setDisabled(boolean _disabled) |
void |
setLabel(String _label) |
void |
setOffLabel(String _offLabel) |
void |
setOnblur(String _onblur) |
void |
setOnchange(String _onchange) |
void |
setOnfocus(String _onfocus) |
void |
setOnLabel(String _onLabel) |
void |
setShowLabels(boolean _showLabels) |
void |
setStyle(String _style) |
void |
setStyleClass(String _styleClass) |
void |
setTabindex(String _tabindex) |
void |
setWidgetVar(String _widgetVar) |
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
getConverter, getLocalValue, getValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String CONTAINER_CLASS
public static final String ON_LABEL_CLASS
public static final String OFF_LABEL_CLASS
public static final String HANDLE_CLASS
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public String getWidgetVar()
public void setWidgetVar(String _widgetVar)
public String getOnLabel()
public void setOnLabel(String _onLabel)
public String getOffLabel()
public void setOffLabel(String _offLabel)
public String getLabel()
public void setLabel(String _label)
public boolean isDisabled()
public void setDisabled(boolean _disabled)
public String getOnchange()
public void setOnchange(String _onchange)
public String getStyle()
public void setStyle(String _style)
public String getStyleClass()
public void setStyleClass(String _styleClass)
public String getTabindex()
public void setTabindex(String _tabindex)
public boolean isShowLabels()
public void setShowLabels(boolean _showLabels)
public String getOnfocus()
public void setOnfocus(String _onfocus)
public String getOnblur()
public void setOnblur(String _onblur)
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
getBehaviorEventMapping
in interface PrimeClientBehaviorHolder
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 String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2016. All rights reserved.