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 |
---|---|
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() |
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.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCreateSpan(boolean createSpan) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCustomClass(CustomClass customClass) |
void |
setEscape(boolean escape) |
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, setConverter, setValue
addClientBehavior, 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, 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.UIOutput
public boolean isCreateSpan()
true
public void setCreateSpan(boolean createSpan)
public Style getStyle()
public Markup getCurrentMarkup()
getCurrentMarkup
in interface Visual
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface Visual
public SanitizeMode getSanitize()
auto
auto,never
public void setSanitize(SanitizeMode sanitize)
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 boolean isEscape()
true
public void setEscape(boolean escape)
public String getTip()
public void setTip(String tip)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIOutput
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.