public class UIPage extends AbstractUIPage implements Visual
Renders a page element.
The markup {
UIComponent class, generated from template component.stg
with class
PageTagDeclaration
.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
FORM_ACCEPT_CHARSET
Constructor and Description |
---|
UIPage() |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationIcon()
Absolute URL to an image or image name to lookup in tobago resource path
representing the application.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getFocusId()
Contains the id of the component which should have the focus after
loading the page.
|
String |
getLabel()
A localized user presentable label for this component.
|
Markup |
getMarkup() |
Style |
getStyle()
For internal use.
|
void |
setApplicationIcon(String applicationIcon) |
void |
setCustomClass(CustomClass customClass) |
void |
setFocusId(String focusId) |
void |
setLabel(String label) |
void |
setMarkup(Markup markup) |
void |
setStyle(Style style) |
encodeBegin, encodeChildren, encodeEnd, getFormId, getRendersChildren, markSubmittedForm, processDecodes
processUpdates, processValidators, setSubmitted
createUniqueId, getContainerClientId, isPrependId, isSubmitted, saveState, setPrependId, visitTree
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, 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 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.UIForm
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 Style getStyle()
public String getApplicationIcon()
public void setApplicationIcon(String applicationIcon)
public String getLabel()
public void setLabel(String label)
public String getFocusId()
public void setFocusId(String focusId)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.