public class UIBox extends AbstractUIBox implements Visual
component.stg
with class
BoxTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
MARKER
Constructor and Description |
---|
UIBox() |
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.
|
Markup |
getMarkup() |
Style |
getStyle()
For internal use.
|
String |
getTip()
Text value to display as tooltip.
|
boolean |
isCollapsed()
Flag indicating whether or not this component is collapsed.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCollapsed(boolean collapsed) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCustomClass(CustomClass customClass) |
void |
setLabel(String label) |
void |
setMarkup(Markup markup) |
void |
setStyle(Style style) |
void |
setTip(String tip) |
processDecodes, processUpdates, processValidators
encodeBegin, encodeChildren, encodeEnd, onComponentPopulated
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, 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.UIPanel
public Style getStyle()
public Markup getCurrentMarkup()
getCurrentMarkup
in interface Visual
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface Visual
public String getLabel()
public void setLabel(String label)
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 String getTip()
public void setTip(String tip)
public boolean isCollapsed()
false
isCollapsed
in class AbstractUIBox
public void setCollapsed(boolean collapsed)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.