public class UIOut extends AbstractUIOut implements Visual
component.stg with class
OutTagDeclaration.| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIOut() |
| Modifier and Type | Method and Description |
|---|---|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
String |
getLabel()
A localized user presentable label for this component.
|
LabelLayout |
getLabelLayout()
Defines the position of the label relative to the field.
|
Markup |
getMarkup() |
SanitizeMode |
getSanitize()
Should HTML content sanitized?
|
Style |
getStyle()
For internal use.
|
String |
getTip()
Text value to display as tooltip.
|
boolean |
isCreateSpan()
Indicates that the renderer should create an element in the output language
(e. g. an span or div tag around the output text).
|
boolean |
isEscape()
Flag indicating that characters that are
sensitive in HTML and XML markup must be escaped.
|
boolean |
isKeepLineBreaks()
Flag indicating that new-line characters will be converted to HTML <br>.
|
void |
setCreateSpan(boolean createSpan) |
void |
setCustomClass(CustomClass customClass) |
void |
setEscape(boolean escape) |
void |
setKeepLineBreaks(boolean keepLineBreaks) |
void |
setLabel(String label) |
void |
setLabelLayout(LabelLayout labelLayout) |
void |
setMarkup(Markup markup) |
void |
setSanitize(SanitizeMode sanitize) |
void |
setStyle(Style style) |
void |
setTip(String tip) |
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValueaddClientBehavior, addFacesListener, broadcast, decode, 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, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTreegetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRendererTypepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIOutputpublic LabelLayout getLabelLayout()
getLabelLayout in interface SupportsLabelLayoutpublic void setLabelLayout(LabelLayout labelLayout)
setLabelLayout in interface SupportsLabelLayoutpublic CustomClass getCustomClass()
<tc:in>
<tc:style customClass="my-emphasized"/>
</tc:in>
One capability is, to used external CSS libs.
getCustomClass in interface Visualpublic void setCustomClass(CustomClass customClass)
setCustomClass in interface Visualpublic boolean isKeepLineBreaks()
trueisKeepLineBreaks in class AbstractUIOutpublic void setKeepLineBreaks(boolean keepLineBreaks)
public String getTip()
public void setTip(String tip)
public Style getStyle()
public boolean isCreateSpan()
trueisCreateSpan in class AbstractUIOutpublic void setCreateSpan(boolean createSpan)
public String getLabel()
public void setLabel(String label)
public boolean isEscape()
trueisEscape in class AbstractUIOutpublic void setEscape(boolean escape)
public SanitizeMode getSanitize()
autoauto,nevergetSanitize in class AbstractUIOutpublic void setSanitize(SanitizeMode sanitize)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.