public class UISelectOneListbox extends AbstractUISelectOneListbox implements Visual
component.stg
with class
SelectOneListboxTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
MESSAGE_VALUE_REQUIRED
Constructor and Description |
---|
UISelectOneListbox() |
Modifier and Type | Method and Description |
---|---|
Markup |
getCurrentMarkup() |
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
String |
getLabel()
Text value to display as label.
|
LabelLayout |
getLabelLayout()
Defines the position of the label relative to the field.
|
Markup |
getMarkup() |
Style |
getStyle()
For internal use.
|
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.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCustomClass(CustomClass customClass) |
void |
setDisabled(boolean disabled) |
void |
setFocus(boolean focus) |
void |
setLabel(String label) |
void |
setLabelLayout(LabelLayout labelLayout) |
void |
setMarkup(Markup markup) |
void |
setReadonly(boolean readonly) |
void |
setStyle(Style style) |
void |
setTabIndex(Integer tabIndex) |
void |
setTip(String tip) |
validate
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UISelectOne
public Integer getTabIndex()
public void setTabIndex(Integer tabIndex)
public String getLabel()
public void setLabel(String label)
public LabelLayout getLabelLayout()
getLabelLayout
in interface SupportsLabelLayout
public void setLabelLayout(LabelLayout labelLayout)
setLabelLayout
in interface SupportsLabelLayout
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public String getTip()
public void setTip(String tip)
public Style getStyle()
public Markup getCurrentMarkup()
getCurrentMarkup
in interface Visual
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface Visual
public boolean isFocus()
false
public void setFocus(boolean focus)
public boolean isReadonly()
false
isReadonly
in class AbstractUISelectOneBase
public void setReadonly(boolean readonly)
public boolean isDisabled()
false
public void setDisabled(boolean disabled)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.