@Generated(value="component.stg") public class UIPage extends AbstractUIPage
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() |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setApplicationIcon(String applicationIcon) |
void |
setCustomClass(CustomClass customClass) |
void |
setFocusId(String focusId) |
void |
setLabel(String label) |
void |
setMarkup(Markup markup) |
getFormId, getRendersChildren, markSubmittedForm, processDecodes
processUpdates, processValidators, setSubmitted
createUniqueId, getContainerClientId, isPrependId, isSubmitted, saveState, setPrependId, visitTree
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, 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, 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
addClientBehavior, getClientBehaviors
getRendererType, isPlain
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 Markup getMarkup()
public void setMarkup(Markup markup)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
public void setCustomClass(CustomClass customClass)
public String getApplicationIcon()
public void setApplicationIcon(String applicationIcon)
public String getLabel()
public void setLabel(String label)
public String getFocusId()
public void setFocusId(String focusId)
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.