@Generated(value="component.stg") public class UISelectBooleanToggle extends AbstractUISelectBooleanToggle
component.stg
with class
SelectBooleanToggleTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UISelectBooleanToggle() |
Modifier and Type | Method and Description |
---|---|
Character |
getAccessKey()
The access key of this control.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getItemLabel()
Label to be displayed to the user for this option.
|
String |
getLabel()
A localized user presentable label for this component.
|
LabelLayout |
getLabelLayout()
Defines the position of the label relative to the field.
|
Markup |
getMarkup() |
Integer |
getTabIndex()
Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
|
String |
getTip()
Text value to display as tooltip.
|
boolean |
isDisabled()
Flag indicating that this element is disabled.
|
boolean |
isFocus()
Flag indicating this component should receive the focus.
|
boolean |
isReadonly()
Flag indicating that this component will prohibit changes by the user.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setAccessKey(Character accessKey) |
void |
setCustomClass(CustomClass customClass) |
void |
setDisabled(boolean disabled) |
void |
setFocus(boolean focus) |
void |
setItemLabel(String itemLabel) |
void |
setLabel(String label) |
void |
setLabelLayout(LabelLayout labelLayout) |
void |
setMarkup(Markup markup) |
void |
setReadonly(boolean readonly) |
void |
setTabIndex(Integer tabIndex) |
void |
setTip(String tip) |
getFieldId, isLabelLayoutSkip, isSelected, validateValue
getValue, getValueBinding, getValueExpression, setSelected, setValueBinding, setValueExpression
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, initialStateMarked, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType, isPlain
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
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 getFamily()
getFamily
in class javax.faces.component.UISelectBoolean
public Markup getMarkup()
public void setMarkup(Markup markup)
public LabelLayout getLabelLayout()
public void setLabelLayout(LabelLayout labelLayout)
public boolean isFocus()
false
isFocus
in class AbstractUISelectBoolean
public void setFocus(boolean focus)
public Integer getTabIndex()
getTabIndex
in class AbstractUISelectBoolean
public void setTabIndex(Integer tabIndex)
public String getLabel()
getLabel
in interface SupportsAccessKey
getLabel
in class AbstractUISelectBoolean
public void setLabel(String label)
public String getItemLabel()
getItemLabel
in class AbstractUISelectBoolean
public void setItemLabel(String itemLabel)
setItemLabel
in class AbstractUISelectBoolean
public boolean isReadonly()
false
isReadonly
in class AbstractUISelectBoolean
public void setReadonly(boolean readonly)
public Character getAccessKey()
public void setAccessKey(Character accessKey)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
public void setCustomClass(CustomClass customClass)
public boolean isDisabled()
false
isDisabled
in class AbstractUISelectBoolean
public void setDisabled(boolean disabled)
public String getTip()
public void setTip(String tip)
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.