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 Summary
FieldsFields inherited from class javax.faces.component.UIComponent
ATTRS_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 Summary
Constructors -
Method Summary
Modifier 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(Float flexGrow) voidsetFlexShrink(Float 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.AbstractUIStyle
processEventMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, 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.UIComponent
getClientId, 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
-
UIStyle
public UIStyle()
-
-
Method Details
-
getFamily
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getFlexGrow
Flex grow value of the element.- Specified by:
getFlexGrowin classAbstractUIStyle
-
setFlexGrow
- Specified by:
setFlexGrowin classAbstractUIStyle
-
getBackgroundImage
The background image of the element.- Specified by:
getBackgroundImagein classAbstractUIStyle
-
setBackgroundImage
- Specified by:
setBackgroundImagein classAbstractUIStyle
-
getPaddingRight
- Specified by:
getPaddingRightin classAbstractUIStyle
-
setPaddingRight
-
getGridColumn
Grid column value of the element.- Specified by:
getGridColumnin classAbstractUIStyle
-
setGridColumn
- Specified by:
setGridColumnin classAbstractUIStyle
-
getMinHeight
- Specified by:
getMinHeightin classAbstractUIStyle
-
setMinHeight
-
getMarginRight
- Specified by:
getMarginRightin classAbstractUIStyle
-
setMarginRight
-
getFile
Name 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 classAbstractUIStyle
-
setFile
- Specified by:
setFilein classAbstractUIStyle
-
getPaddingBottom
- Specified by:
getPaddingBottomin classAbstractUIStyle
-
setPaddingBottom
-
getTop
- Specified by:
getTopin classAbstractUIStyle
-
setTop
-
getGridRow
Grid row value of the element.- Specified by:
getGridRowin classAbstractUIStyle
-
setGridRow
- Specified by:
setGridRowin classAbstractUIStyle
-
getMaxHeight
- Specified by:
getMaxHeightin classAbstractUIStyle
-
setMaxHeight
-
getFlexShrink
Flex shrink value of the element.- Specified by:
getFlexShrinkin classAbstractUIStyle
-
setFlexShrink
- Specified by:
setFlexShrinkin classAbstractUIStyle
-
getSelector
- Specified by:
getSelectorin classAbstractUIStyle
-
setSelector
- Specified by:
setSelectorin classAbstractUIStyle
-
getPaddingTop
- Specified by:
getPaddingTopin classAbstractUIStyle
-
setPaddingTop
-
getHeight
- Specified by:
getHeightin classAbstractUIStyle
-
setHeight
- Specified by:
setHeightin classAbstractUIStyle
-
getMaxWidth
- Specified by:
getMaxWidthin classAbstractUIStyle
-
setMaxWidth
-
getTextAlign
The alignment of the elements inside of the container, possible values are: {
Allowed Values:left,right,center,justify- Specified by:
getTextAlignin classAbstractUIStyle
-
setTextAlign
-
getBottom
- Specified by:
getBottomin classAbstractUIStyle
-
setBottom
-
getDisplay
- Specified by:
getDisplayin classAbstractUIStyle
-
setDisplay
-
getFlexBasis
Flex basis value of the element.- Specified by:
getFlexBasisin classAbstractUIStyle
-
setFlexBasis
- Specified by:
setFlexBasisin classAbstractUIStyle
-
getMinWidth
- Specified by:
getMinWidthin classAbstractUIStyle
-
setMinWidth
-
getRight
- Specified by:
getRightin classAbstractUIStyle
-
setRight
-
getMarginLeft
- Specified by:
getMarginLeftin classAbstractUIStyle
-
setMarginLeft
-
getOverflowX
- Specified by:
getOverflowXin classAbstractUIStyle
-
setOverflowX
-
getOverflowY
- Specified by:
getOverflowYin classAbstractUIStyle
-
setOverflowY
-
getGridTemplateRows
Grid template rows value of the element.- Specified by:
getGridTemplateRowsin classAbstractUIStyle
-
setGridTemplateRows
- Specified by:
setGridTemplateRowsin classAbstractUIStyle
-
getLeft
- Specified by:
getLeftin classAbstractUIStyle
-
setLeft
-
getGridTemplateColumns
Grid template columns value of the element.- Specified by:
getGridTemplateColumnsin classAbstractUIStyle
-
setGridTemplateColumns
- Specified by:
setGridTemplateColumnsin classAbstractUIStyle
-
getWidth
- Specified by:
getWidthin classAbstractUIStyle
-
setWidth
- Specified by:
setWidthin classAbstractUIStyle
-
getCustomClass
- Specified by:
getCustomClassin classAbstractUIStyle
-
setCustomClass
-
getMarginBottom
- Specified by:
getMarginBottomin classAbstractUIStyle
-
setMarginBottom
-
getPosition
- Specified by:
getPositionin classAbstractUIStyle
-
setPosition
-
getPaddingLeft
- Specified by:
getPaddingLeftin classAbstractUIStyle
-
setPaddingLeft
-
getMarginTop
- Specified by:
getMarginTopin classAbstractUIStyle
-
setMarginTop
-
restoreState
- Specified by:
restoreStatein interfacejavax.faces.component.StateHolder- Overrides:
restoreStatein classjavax.faces.component.UIComponentBase
-