SupportFieldId
, SupportsAccessKey
, SupportsLabelLayout
, Visual
@Generated("component.stg") public class UIIn extends AbstractUIIn implements Visual
component.stg
with class
InTagDeclaration
.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
COMPONENT_FAMILY |
|
static java.lang.String |
COMPONENT_TYPE |
Constructor | Description |
---|---|
UIIn() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Character |
getAccessKey() |
The access key of this control.
|
CustomClass |
getCustomClass() |
Sets a CSS class in its parent, if the parent supports it.
|
java.lang.String |
getDefaultEventName() |
|
java.util.Collection<java.lang.String> |
getEventNames() |
|
java.lang.String |
getFamily() |
|
java.lang.String |
getLabel() |
A localized user presentable label for this component.
|
LabelLayout |
getLabelLayout() |
Defines the position of the label relative to the field.
|
Markup |
getMarkup() |
|
java.lang.String |
getPlaceholder() |
Displays a short text in the input field, that describes the meaning of this field.
|
java.lang.Integer |
getTabIndex() |
Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
|
java.lang.String |
getTip() |
Text value to display as tooltip.
|
boolean |
isAutocomplete() |
|
boolean |
isDisabled() |
Flag indicating that this element is disabled.
|
boolean |
isFocus() |
Flag indicating this component should receive the focus.
|
boolean |
isPassword() |
Flag indicating whether or not this component should be rendered as
password field , so you will not see the typed charakters.
|
boolean |
isReadonly() |
Flag indicating that this component will prohibit changes by the user.
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
|
void |
setAccessKey(java.lang.Character accessKey) |
|
void |
setAutocomplete(boolean autocomplete) |
|
void |
setCustomClass(CustomClass customClass) |
|
void |
setDisabled(boolean disabled) |
|
void |
setFocus(boolean focus) |
|
void |
setLabel(java.lang.String label) |
|
void |
setLabelLayout(LabelLayout labelLayout) |
|
void |
setMarkup(Markup markup) |
|
void |
setPassword(boolean password) |
|
void |
setPlaceholder(java.lang.String placeholder) |
|
void |
setReadonly(boolean readonly) |
|
void |
setTabIndex(java.lang.Integer tabIndex) |
|
void |
setTip(java.lang.String tip) |
getFieldId, isLabelLayoutSkip
addClientBehavior, getClientBehaviors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
addClientBehavior, addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, 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
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, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
getConverter, getLocalValue, setConverter
getConverter, getLocalValue, setConverter
getRendererType
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultEventName()
getDefaultEventName
in class javax.faces.component.UIComponentBase
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIInput
public boolean isAutocomplete()
public void setAutocomplete(boolean autocomplete)
public LabelLayout getLabelLayout()
getLabelLayout
in interface SupportsLabelLayout
public void setLabelLayout(LabelLayout labelLayout)
setLabelLayout
in interface SupportsLabelLayout
public boolean isFocus()
false
isFocus
in class AbstractUIInput
public void setFocus(boolean focus)
public java.lang.Integer getTabIndex()
getTabIndex
in class AbstractUIInput
public void setTabIndex(java.lang.Integer tabIndex)
public java.lang.String getLabel()
getLabel
in interface SupportsAccessKey
public void setLabel(java.lang.String label)
public boolean isPassword()
false
public void setPassword(boolean password)
public boolean isReadonly()
false
isReadonly
in class AbstractUIInput
public void setReadonly(boolean readonly)
public java.lang.Character getAccessKey()
getAccessKey
in interface SupportsAccessKey
public void setAccessKey(java.lang.Character accessKey)
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 boolean isDisabled()
false
isDisabled
in class AbstractUIInput
public void setDisabled(boolean disabled)
public java.lang.String getTip()
public void setTip(java.lang.String tip)
public java.lang.String getPlaceholder()
Displays a short text in the input field, that describes the meaning of this field. This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.
The text will not be displayed, when the input field is readonly or disabled.
getPlaceholder
in class AbstractUIInput
public void setPlaceholder(java.lang.String placeholder)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in class javax.faces.component.UIInput
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.