javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, Widgetpublic class InputSwitch extends javax.faces.component.UIInput implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
| Modifier and Type | Class | Description |
|---|---|---|
static class |
InputSwitch.PropertyKeys |
| Modifier and Type | Field | Description |
|---|---|---|
static String |
CHECKED_CLASS |
|
static String |
COMPONENT_FAMILY |
|
static String |
COMPONENT_TYPE |
|
static String |
CONTAINER_CLASS |
|
static String |
DEFAULT_RENDERER |
|
static String |
HANDLE_CLASS |
|
static String |
OFF_LABEL_CLASS |
|
static String |
ON_LABEL_CLASS |
| Constructor | Description |
|---|---|
InputSwitch() |
| Modifier and Type | Method | 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) |
addClientBehavior, getClientBehaviorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTreeaddClientBehavior, 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, setValueBindingaddValidator, 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, validateValuepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
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 static final String CHECKED_CLASS
public String getFamily()
getFamily in class javax.faces.component.UIInputpublic 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 PrimeClientBehaviorHolderpublic Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String resolveWidgetVar()
resolveWidgetVar in interface WidgetCopyright © 2018. All rights reserved.