@Generated("component.stg") public class UIStyle extends AbstractUIStyle
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
.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
COMPONENT_FAMILY |
|
static java.lang.String |
COMPONENT_TYPE |
Constructor | Description |
---|---|
UIStyle() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getBackgroundImage() |
The background image of the element.
|
Measure |
getBottom() |
|
CustomClass |
getCustomClass() |
|
Display |
getDisplay() |
|
java.lang.String |
getFamily() |
|
java.lang.String |
getFile() |
Name of the stylesheet file to add to page.
|
Measure |
getFlexBasis() |
Flex basis value of the element.
|
java.lang.Number |
getFlexGrow() |
Flex grow value of the element.
|
java.lang.Number |
getFlexShrink() |
Flex shrink value of the element.
|
GridSpan |
getGridColumn() |
Grid column value of the element.
|
GridSpan |
getGridRow() |
Grid row value of the element.
|
java.lang.String |
getGridTemplateColumns() |
Grid template columns value of the element.
|
java.lang.String |
getGridTemplateRows() |
Grid template rows value of the element.
|
Measure |
getHeight() |
|
Measure |
getLeft() |
|
Measure |
getMarginBottom() |
|
Measure |
getMarginLeft() |
|
Measure |
getMarginRight() |
|
Measure |
getMarginTop() |
|
Measure |
getMaxHeight() |
|
Measure |
getMaxWidth() |
|
Measure |
getMinHeight() |
|
Measure |
getMinWidth() |
|
Overflow |
getOverflowX() |
|
Overflow |
getOverflowY() |
|
Measure |
getPaddingBottom() |
|
Measure |
getPaddingLeft() |
|
Measure |
getPaddingRight() |
|
Measure |
getPaddingTop() |
|
Position |
getPosition() |
|
Measure |
getRight() |
|
java.lang.String |
getSelector() |
|
TextAlign |
getTextAlign() |
The alignment of the elements inside of the container, possible values are:
{
Allowed Values: left,right,center,justify |
Measure |
getTop() |
|
Measure |
getWidth() |
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
|
void |
setBackgroundImage(java.lang.String backgroundImage) |
|
void |
setBottom(Measure bottom) |
|
void |
setCustomClass(CustomClass customClass) |
|
void |
setDisplay(Display display) |
|
void |
setFile(java.lang.String file) |
|
void |
setFlexBasis(Measure flexBasis) |
|
void |
setFlexGrow(java.lang.Number flexGrow) |
|
void |
setFlexShrink(java.lang.Number flexShrink) |
|
void |
setGridColumn(GridSpan gridColumn) |
|
void |
setGridRow(GridSpan gridRow) |
|
void |
setGridTemplateColumns(java.lang.String gridTemplateColumns) |
|
void |
setGridTemplateRows(java.lang.String gridTemplateRows) |
|
void |
setHeight(Measure height) |
|
void |
setLeft(Measure left) |
|
void |
setMarginBottom(Measure marginBottom) |
|
void |
setMarginLeft(Measure marginLeft) |
|
void |
setMarginRight(Measure marginRight) |
|
void |
setMarginTop(Measure marginTop) |
|
void |
setMaxHeight(Measure maxHeight) |
|
void |
setMaxWidth(Measure maxWidth) |
|
void |
setMinHeight(Measure minHeight) |
|
void |
setMinWidth(Measure minWidth) |
|
void |
setOverflowX(Overflow overflowX) |
|
void |
setOverflowY(Overflow overflowY) |
|
void |
setPaddingBottom(Measure paddingBottom) |
|
void |
setPaddingLeft(Measure paddingLeft) |
|
void |
setPaddingRight(Measure paddingRight) |
|
void |
setPaddingTop(Measure paddingTop) |
|
void |
setPosition(Position position) |
|
void |
setRight(Measure right) |
|
void |
setSelector(java.lang.String selector) |
|
void |
setTextAlign(TextAlign textAlign) |
|
void |
setTop(Measure top) |
|
void |
setWidth(Measure width) |
processEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
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, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
public java.lang.Number getFlexGrow()
getFlexGrow
in class AbstractUIStyle
public void setFlexGrow(java.lang.Number flexGrow)
setFlexGrow
in class AbstractUIStyle
public java.lang.String getBackgroundImage()
getBackgroundImage
in class AbstractUIStyle
public void setBackgroundImage(java.lang.String backgroundImage)
public Measure getPaddingRight()
getPaddingRight
in class AbstractUIStyle
public void setPaddingRight(Measure paddingRight)
public GridSpan getGridColumn()
getGridColumn
in class AbstractUIStyle
public void setGridColumn(GridSpan gridColumn)
public Measure getMinHeight()
getMinHeight
in class AbstractUIStyle
public void setMinHeight(Measure minHeight)
public Measure getMarginRight()
getMarginRight
in class AbstractUIStyle
public void setMarginRight(Measure marginRight)
public java.lang.String getFile()
getFile
in class AbstractUIStyle
public void setFile(java.lang.String file)
public Measure getPaddingBottom()
getPaddingBottom
in class AbstractUIStyle
public void setPaddingBottom(Measure paddingBottom)
public Measure getTop()
getTop
in class AbstractUIStyle
public void setTop(Measure top)
public GridSpan getGridRow()
getGridRow
in class AbstractUIStyle
public void setGridRow(GridSpan gridRow)
public Measure getMaxHeight()
getMaxHeight
in class AbstractUIStyle
public void setMaxHeight(Measure maxHeight)
public java.lang.Number getFlexShrink()
getFlexShrink
in class AbstractUIStyle
public void setFlexShrink(java.lang.Number flexShrink)
setFlexShrink
in class AbstractUIStyle
public java.lang.String getSelector()
getSelector
in class AbstractUIStyle
public void setSelector(java.lang.String selector)
public Measure getPaddingTop()
getPaddingTop
in class AbstractUIStyle
public void setPaddingTop(Measure paddingTop)
public Measure getHeight()
getHeight
in class AbstractUIStyle
public void setHeight(Measure height)
setHeight
in class AbstractUIStyle
public Measure getMaxWidth()
getMaxWidth
in class AbstractUIStyle
public void setMaxWidth(Measure maxWidth)
public TextAlign getTextAlign()
left,right,center,justify
getTextAlign
in class AbstractUIStyle
public void setTextAlign(TextAlign textAlign)
public Measure getBottom()
getBottom
in class AbstractUIStyle
public void setBottom(Measure bottom)
public Display getDisplay()
getDisplay
in class AbstractUIStyle
public void setDisplay(Display display)
public Measure getFlexBasis()
getFlexBasis
in class AbstractUIStyle
public void setFlexBasis(Measure flexBasis)
setFlexBasis
in class AbstractUIStyle
public Measure getMinWidth()
getMinWidth
in class AbstractUIStyle
public void setMinWidth(Measure minWidth)
public Measure getRight()
getRight
in class AbstractUIStyle
public void setRight(Measure right)
public Measure getMarginLeft()
getMarginLeft
in class AbstractUIStyle
public void setMarginLeft(Measure marginLeft)
public Overflow getOverflowX()
getOverflowX
in class AbstractUIStyle
public void setOverflowX(Overflow overflowX)
public Overflow getOverflowY()
getOverflowY
in class AbstractUIStyle
public void setOverflowY(Overflow overflowY)
public java.lang.String getGridTemplateRows()
getGridTemplateRows
in class AbstractUIStyle
public void setGridTemplateRows(java.lang.String gridTemplateRows)
public Measure getLeft()
getLeft
in class AbstractUIStyle
public void setLeft(Measure left)
public java.lang.String getGridTemplateColumns()
getGridTemplateColumns
in class AbstractUIStyle
public void setGridTemplateColumns(java.lang.String gridTemplateColumns)
public Measure getWidth()
getWidth
in class AbstractUIStyle
public void setWidth(Measure width)
setWidth
in class AbstractUIStyle
public CustomClass getCustomClass()
getCustomClass
in class AbstractUIStyle
public void setCustomClass(CustomClass customClass)
public Measure getMarginBottom()
getMarginBottom
in class AbstractUIStyle
public void setMarginBottom(Measure marginBottom)
public Position getPosition()
getPosition
in class AbstractUIStyle
public void setPosition(Position position)
public Measure getPaddingLeft()
getPaddingLeft
in class AbstractUIStyle
public void setPaddingLeft(Measure paddingLeft)
public Measure getMarginTop()
getMarginTop
in class AbstractUIStyle
public void setMarginTop(Measure marginTop)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.