Class UIStyle
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.internal.component.AbstractUIStyle
org.apache.myfaces.tobago.component.UIStyle
- All Implemented Interfaces:
- EventListener,- javax.faces.component.PartialStateHolder,- javax.faces.component.StateHolder,- javax.faces.component.TransientStateHolder,- javax.faces.event.ComponentSystemEventListener,- javax.faces.event.FacesListener,- javax.faces.event.SystemEventListenerHolder
Add a style tag with the given file name to the header (using file attribute) or add some CSS styles to the parent component.
UIComponent class, generated from templatecomponent.stg with class
 StyleTagDeclaration.- 
Field SummaryFieldsFields inherited from class javax.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe background image of the element.getFile()Name of the stylesheet file to add to page.Flex basis value of the element.Flex grow value of the element.Flex shrink value of the element.Grid column value of the element.Grid row value of the element.Grid template columns value of the element.Grid template rows value of the element.getLeft()getRight()The alignment of the elements inside of the container, possible values are: {
 Allowed Values:left,right,center,justifygetTop()getWidth()voidrestoreState(javax.faces.context.FacesContext context, Object state) voidsetBackgroundImage(String backgroundImage) voidvoidsetCustomClass(CustomClass customClass) voidsetDisplay(Display display) voidvoidsetFlexBasis(Measure flexBasis) voidsetFlexGrow(Number flexGrow) voidsetFlexShrink(Number flexShrink) voidsetGridColumn(GridSpan gridColumn) voidsetGridRow(GridSpan gridRow) voidsetGridTemplateColumns(String gridTemplateColumns) voidsetGridTemplateRows(String gridTemplateRows) voidvoidvoidsetMarginBottom(Measure marginBottom) voidsetMarginLeft(Measure marginLeft) voidsetMarginRight(Measure marginRight) voidsetMarginTop(Measure marginTop) voidsetMaxHeight(Measure maxHeight) voidsetMaxWidth(Measure maxWidth) voidsetMinHeight(Measure minHeight) voidsetMinWidth(Measure minWidth) voidsetOverflowX(Overflow overflowX) voidsetOverflowY(Overflow overflowY) voidsetPaddingBottom(Measure paddingBottom) voidsetPaddingLeft(Measure paddingLeft) voidsetPaddingRight(Measure paddingRight) voidsetPaddingTop(Measure paddingTop) voidsetPosition(Position position) voidvoidsetSelector(String selector) voidsetTextAlign(TextAlign textAlign) voidvoidMethods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIStyleprocessEventMethods inherited from class javax.faces.component.UIComponentBaseaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTreeMethods inherited from class javax.faces.component.UIComponentgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
- 
Field Details- 
COMPONENT_TYPE
- 
COMPONENT_FAMILY- See Also:
 
 
- 
- 
Constructor Details- 
UIStylepublic UIStyle()
 
- 
- 
Method Details- 
getFamily- Specified by:
- getFamilyin class- javax.faces.component.UIComponent
 
- 
getFlexGrowFlex grow value of the element.- Specified by:
- getFlexGrowin class- AbstractUIStyle
 
- 
setFlexGrow- Specified by:
- setFlexGrowin class- AbstractUIStyle
 
- 
getBackgroundImageThe background image of the element.- Specified by:
- getBackgroundImagein class- AbstractUIStyle
 
- 
setBackgroundImage- Specified by:
- setBackgroundImagein class- AbstractUIStyle
 
- 
getPaddingRight- Specified by:
- getPaddingRightin class- AbstractUIStyle
 
- 
setPaddingRight
- 
getGridColumnGrid column value of the element.- Specified by:
- getGridColumnin class- AbstractUIStyle
 
- 
setGridColumn- Specified by:
- setGridColumnin class- AbstractUIStyle
 
- 
getMinHeight- Specified by:
- getMinHeightin class- AbstractUIStyle
 
- 
setMinHeight
- 
getMarginRight- Specified by:
- getMarginRightin class- AbstractUIStyle
 
- 
setMarginRight
- 
getFileName of the stylesheet file to add to page. The name must be full qualified, or relative. If using a complete path from root, you'll need to add the contextPath from the web application. This can be done with the EL #{request.contextPath}.- Specified by:
- getFilein class- AbstractUIStyle
 
- 
setFile- Specified by:
- setFilein class- AbstractUIStyle
 
- 
getPaddingBottom- Specified by:
- getPaddingBottomin class- AbstractUIStyle
 
- 
setPaddingBottom
- 
getTop- Specified by:
- getTopin class- AbstractUIStyle
 
- 
setTop
- 
getGridRowGrid row value of the element.- Specified by:
- getGridRowin class- AbstractUIStyle
 
- 
setGridRow- Specified by:
- setGridRowin class- AbstractUIStyle
 
- 
getMaxHeight- Specified by:
- getMaxHeightin class- AbstractUIStyle
 
- 
setMaxHeight
- 
getFlexShrinkFlex shrink value of the element.- Specified by:
- getFlexShrinkin class- AbstractUIStyle
 
- 
setFlexShrink- Specified by:
- setFlexShrinkin class- AbstractUIStyle
 
- 
getSelector- Specified by:
- getSelectorin class- AbstractUIStyle
 
- 
setSelector- Specified by:
- setSelectorin class- AbstractUIStyle
 
- 
getPaddingTop- Specified by:
- getPaddingTopin class- AbstractUIStyle
 
- 
setPaddingTop
- 
getHeight- Specified by:
- getHeightin class- AbstractUIStyle
 
- 
setHeight- Specified by:
- setHeightin class- AbstractUIStyle
 
- 
getMaxWidth- Specified by:
- getMaxWidthin class- AbstractUIStyle
 
- 
setMaxWidth
- 
getTextAlignThe alignment of the elements inside of the container, possible values are: {
 Allowed Values:left,right,center,justify- Specified by:
- getTextAlignin class- AbstractUIStyle
 
- 
setTextAlign
- 
getBottom- Specified by:
- getBottomin class- AbstractUIStyle
 
- 
setBottom
- 
getDisplay- Specified by:
- getDisplayin class- AbstractUIStyle
 
- 
setDisplay
- 
getFlexBasisFlex basis value of the element.- Specified by:
- getFlexBasisin class- AbstractUIStyle
 
- 
setFlexBasis- Specified by:
- setFlexBasisin class- AbstractUIStyle
 
- 
getMinWidth- Specified by:
- getMinWidthin class- AbstractUIStyle
 
- 
setMinWidth
- 
getRight- Specified by:
- getRightin class- AbstractUIStyle
 
- 
setRight
- 
getMarginLeft- Specified by:
- getMarginLeftin class- AbstractUIStyle
 
- 
setMarginLeft
- 
getOverflowX- Specified by:
- getOverflowXin class- AbstractUIStyle
 
- 
setOverflowX
- 
getOverflowY- Specified by:
- getOverflowYin class- AbstractUIStyle
 
- 
setOverflowY
- 
getGridTemplateRowsGrid template rows value of the element.- Specified by:
- getGridTemplateRowsin class- AbstractUIStyle
 
- 
setGridTemplateRows- Specified by:
- setGridTemplateRowsin class- AbstractUIStyle
 
- 
getLeft- Specified by:
- getLeftin class- AbstractUIStyle
 
- 
setLeft
- 
getGridTemplateColumnsGrid template columns value of the element.- Specified by:
- getGridTemplateColumnsin class- AbstractUIStyle
 
- 
setGridTemplateColumns- Specified by:
- setGridTemplateColumnsin class- AbstractUIStyle
 
- 
getWidth- Specified by:
- getWidthin class- AbstractUIStyle
 
- 
setWidth- Specified by:
- setWidthin class- AbstractUIStyle
 
- 
getCustomClass- Specified by:
- getCustomClassin class- AbstractUIStyle
 
- 
setCustomClass
- 
getMarginBottom- Specified by:
- getMarginBottomin class- AbstractUIStyle
 
- 
setMarginBottom
- 
getPosition- Specified by:
- getPositionin class- AbstractUIStyle
 
- 
setPosition
- 
getPaddingLeft- Specified by:
- getPaddingLeftin class- AbstractUIStyle
 
- 
setPaddingLeft
- 
getMarginTop- Specified by:
- getMarginTopin class- AbstractUIStyle
 
- 
setMarginTop
- 
restoreState- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.UIComponentBase
 
 
-