public class InputSwitch
extends javax.faces.component.UIInput
| Modifier and Type | Class and Description |
|---|---|
static class |
org.primefaces.component.inputswitch.InputSwitchBase.PropertyKeys |
| Modifier and Type | Field and 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 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, validateValuegetConverter, getLocalValue, getValue, setConverteraddClientBehavior, 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, setValueBindingencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String COMPONENT_TYPE
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 static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
public 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 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 String resolveWidgetVar()
resolveWidgetVar in interface WidgetCopyright © 2019. All rights reserved.