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, processDecodesprocessUpdates, processValidators, setSubmittedcreateUniqueId, getContainerClientId, isPrependId, isSubmitted, saveState, setPrependId, visitTreeaddClientBehavior, 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, setValueBindinggetClientId, getCompositeComponentParent, 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 Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getFamily()
getFamily in class javax.faces.component.UIFormpublic 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 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–2018 The Apache Software Foundation. All rights reserved.