Class UIStyle

All Implemented Interfaces:
EventListener

@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 template component.stg with class StyleTagDeclaration.
  • Field Details

  • Constructor Details

    • UIStyle

      public UIStyle()
  • Method Details

    • getFamily

      public String getFamily()
    • getFlexGrow

      public Float getFlexGrow()
      Flex grow value of the element.
      Specified by:
      getFlexGrow in class AbstractUIStyle
    • setFlexGrow

      public void setFlexGrow(Float flexGrow)
      Specified by:
      setFlexGrow in class AbstractUIStyle
    • getBackgroundImage

      public String getBackgroundImage()
      The background image of the element.
      Specified by:
      getBackgroundImage in class AbstractUIStyle
    • setBackgroundImage

      public void setBackgroundImage(String backgroundImage)
      Specified by:
      setBackgroundImage in class AbstractUIStyle
    • getPaddingRight

      public Measure getPaddingRight()
      Specified by:
      getPaddingRight in class AbstractUIStyle
    • setPaddingRight

      public void setPaddingRight(Measure paddingRight)
    • getGridColumn

      public GridSpan getGridColumn()
      Grid column value of the element.
      Specified by:
      getGridColumn in class AbstractUIStyle
    • setGridColumn

      public void setGridColumn(GridSpan gridColumn)
      Specified by:
      setGridColumn in class AbstractUIStyle
    • getMinHeight

      public Measure getMinHeight()
      Specified by:
      getMinHeight in class AbstractUIStyle
    • setMinHeight

      public void setMinHeight(Measure minHeight)
    • getMarginRight

      public Measure getMarginRight()
      Specified by:
      getMarginRight in class AbstractUIStyle
    • setMarginRight

      public void setMarginRight(Measure marginRight)
    • getFile

      public String 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:
      getFile in class AbstractUIStyle
    • setFile

      public void setFile(String file)
      Specified by:
      setFile in class AbstractUIStyle
    • getPaddingBottom

      public Measure getPaddingBottom()
      Specified by:
      getPaddingBottom in class AbstractUIStyle
    • setPaddingBottom

      public void setPaddingBottom(Measure paddingBottom)
    • getTop

      public Measure getTop()
      Specified by:
      getTop in class AbstractUIStyle
    • setTop

      public void setTop(Measure top)
    • getGridRow

      public GridSpan getGridRow()
      Grid row value of the element.
      Specified by:
      getGridRow in class AbstractUIStyle
    • setGridRow

      public void setGridRow(GridSpan gridRow)
      Specified by:
      setGridRow in class AbstractUIStyle
    • getMaxHeight

      public Measure getMaxHeight()
      Specified by:
      getMaxHeight in class AbstractUIStyle
    • setMaxHeight

      public void setMaxHeight(Measure maxHeight)
    • getFlexShrink

      public Float getFlexShrink()
      Flex shrink value of the element.
      Specified by:
      getFlexShrink in class AbstractUIStyle
    • setFlexShrink

      public void setFlexShrink(Float flexShrink)
      Specified by:
      setFlexShrink in class AbstractUIStyle
    • getSelector

      public String getSelector()
      Specified by:
      getSelector in class AbstractUIStyle
    • setSelector

      public void setSelector(String selector)
      Specified by:
      setSelector in class AbstractUIStyle
    • getPaddingTop

      public Measure getPaddingTop()
      Specified by:
      getPaddingTop in class AbstractUIStyle
    • setPaddingTop

      public void setPaddingTop(Measure paddingTop)
    • getHeight

      public Measure getHeight()
      Specified by:
      getHeight in class AbstractUIStyle
    • setHeight

      public void setHeight(Measure height)
      Specified by:
      setHeight in class AbstractUIStyle
    • getMaxWidth

      public Measure getMaxWidth()
      Specified by:
      getMaxWidth in class AbstractUIStyle
    • setMaxWidth

      public void setMaxWidth(Measure maxWidth)
    • getTextAlign

      public TextAlign getTextAlign()
      The alignment of the elements inside of the container, possible values are: {
      Allowed Values: left,right,center,justify
      Specified by:
      getTextAlign in class AbstractUIStyle
    • setTextAlign

      public void setTextAlign(TextAlign textAlign)
    • getBottom

      public Measure getBottom()
      Specified by:
      getBottom in class AbstractUIStyle
    • setBottom

      public void setBottom(Measure bottom)
    • getDisplay

      public Display getDisplay()
      Specified by:
      getDisplay in class AbstractUIStyle
    • setDisplay

      public void setDisplay(Display display)
    • getFlexBasis

      public Measure getFlexBasis()
      Flex basis value of the element.
      Specified by:
      getFlexBasis in class AbstractUIStyle
    • setFlexBasis

      public void setFlexBasis(Measure flexBasis)
      Specified by:
      setFlexBasis in class AbstractUIStyle
    • getMinWidth

      public Measure getMinWidth()
      Specified by:
      getMinWidth in class AbstractUIStyle
    • setMinWidth

      public void setMinWidth(Measure minWidth)
    • getRight

      public Measure getRight()
      Specified by:
      getRight in class AbstractUIStyle
    • setRight

      public void setRight(Measure right)
    • getMarginLeft

      public Measure getMarginLeft()
      Specified by:
      getMarginLeft in class AbstractUIStyle
    • setMarginLeft

      public void setMarginLeft(Measure marginLeft)
    • getOverflowX

      public Overflow getOverflowX()
      Specified by:
      getOverflowX in class AbstractUIStyle
    • setOverflowX

      public void setOverflowX(Overflow overflowX)
    • getOverflowY

      public Overflow getOverflowY()
      Specified by:
      getOverflowY in class AbstractUIStyle
    • setOverflowY

      public void setOverflowY(Overflow overflowY)
    • getGridTemplateRows

      public String getGridTemplateRows()
      Grid template rows value of the element.
      Specified by:
      getGridTemplateRows in class AbstractUIStyle
    • setGridTemplateRows

      public void setGridTemplateRows(String gridTemplateRows)
      Specified by:
      setGridTemplateRows in class AbstractUIStyle
    • getLeft

      public Measure getLeft()
      Specified by:
      getLeft in class AbstractUIStyle
    • setLeft

      public void setLeft(Measure left)
    • getGridTemplateColumns

      public String getGridTemplateColumns()
      Grid template columns value of the element.
      Specified by:
      getGridTemplateColumns in class AbstractUIStyle
    • setGridTemplateColumns

      public void setGridTemplateColumns(String gridTemplateColumns)
      Specified by:
      setGridTemplateColumns in class AbstractUIStyle
    • getWidth

      public Measure getWidth()
      Specified by:
      getWidth in class AbstractUIStyle
    • setWidth

      public void setWidth(Measure width)
      Specified by:
      setWidth in class AbstractUIStyle
    • getCustomClass

      public CustomClass getCustomClass()
      Specified by:
      getCustomClass in class AbstractUIStyle
    • setCustomClass

      public void setCustomClass(CustomClass customClass)
    • getMarginBottom

      public Measure getMarginBottom()
      Specified by:
      getMarginBottom in class AbstractUIStyle
    • setMarginBottom

      public void setMarginBottom(Measure marginBottom)
    • getPosition

      public Position getPosition()
      Specified by:
      getPosition in class AbstractUIStyle
    • setPosition

      public void setPosition(Position position)
    • getPaddingLeft

      public Measure getPaddingLeft()
      Specified by:
      getPaddingLeft in class AbstractUIStyle
    • setPaddingLeft

      public void setPaddingLeft(Measure paddingLeft)
    • getMarginTop

      public Measure getMarginTop()
      Specified by:
      getMarginTop in class AbstractUIStyle
    • setMarginTop

      public void setMarginTop(Measure marginTop)
    • restoreState

      public void restoreState(jakarta.faces.context.FacesContext context, Object state)
    • setId

      public void setId(String arg0)
    • setParent

      public void setParent(jakarta.faces.component.UIComponent arg0)
    • addClientBehavior

      public void addClientBehavior(String arg0, jakarta.faces.component.behavior.ClientBehavior arg1)
    • broadcast

      public void broadcast(jakarta.faces.event.FacesEvent arg0) throws jakarta.faces.event.AbortProcessingException
      Throws:
      jakarta.faces.event.AbortProcessingException
    • clearInitialState

      public void clearInitialState()
    • decode

      public void decode(jakarta.faces.context.FacesContext arg0)
    • encodeAll

      public void encodeAll(jakarta.faces.context.FacesContext arg0) throws IOException
      Throws:
      IOException
    • encodeBegin

      public void encodeBegin(jakarta.faces.context.FacesContext arg0) throws IOException
      Throws:
      IOException
    • encodeChildren

      public void encodeChildren(jakarta.faces.context.FacesContext arg0) throws IOException
      Throws:
      IOException
    • encodeEnd

      public void encodeEnd(jakarta.faces.context.FacesContext arg0) throws IOException
      Throws:
      IOException
    • findComponent

      public jakarta.faces.component.UIComponent findComponent(String arg0)
    • getAttributes

      public Map<String,Object> getAttributes()
    • getPassThroughAttributes

      public Map<String,Object> getPassThroughAttributes(boolean arg0)
    • getChildCount

      public int getChildCount()
    • getChildren

      public List<jakarta.faces.component.UIComponent> getChildren()
    • getClientBehaviors

      public Map<String, List<jakarta.faces.component.behavior.ClientBehavior>> getClientBehaviors()
    • getClientId

      public String getClientId(jakarta.faces.context.FacesContext arg0)
    • getDefaultEventName

      public String getDefaultEventName()
    • getEventNames

      public Collection<String> getEventNames()
    • getFacet

      public jakarta.faces.component.UIComponent getFacet(String arg0)
    • getFacetCount

      public int getFacetCount()
    • getFacets

      public Map<String, jakarta.faces.component.UIComponent> getFacets()
    • getFacetsAndChildren

      public Iterator<jakarta.faces.component.UIComponent> getFacetsAndChildren()
    • getId

      public String getId()
    • getParent

      public jakarta.faces.component.UIComponent getParent()
    • getRendererType

      public String getRendererType()
    • getRendersChildren

      public boolean getRendersChildren()
    • invokeOnComponent

      public boolean invokeOnComponent(jakarta.faces.context.FacesContext arg0, String arg1, jakarta.faces.component.ContextCallback arg2) throws jakarta.faces.FacesException
      Throws:
      jakarta.faces.FacesException
    • visitTree

      public boolean visitTree(jakarta.faces.component.visit.VisitContext arg0, jakarta.faces.component.visit.VisitCallback arg1)
    • isRendered

      public boolean isRendered()
    • isTransient

      public boolean isTransient()
    • markInitialState

      public void markInitialState()
    • addFacesListener

      protected void addFacesListener(jakarta.faces.event.FacesListener arg0)
    • getFacesContext

      protected jakarta.faces.context.FacesContext getFacesContext()
    • getFacesListeners

      protected jakarta.faces.event.FacesListener[] getFacesListeners(Class arg0)
    • getRenderer

      protected jakarta.faces.render.Renderer getRenderer(jakarta.faces.context.FacesContext arg0)
    • removeFacesListener

      protected void removeFacesListener(jakarta.faces.event.FacesListener arg0)
    • queueEvent

      public void queueEvent(jakarta.faces.event.FacesEvent arg0)
    • processDecodes

      public void processDecodes(jakarta.faces.context.FacesContext arg0)
    • processValidators

      public void processValidators(jakarta.faces.context.FacesContext arg0)
    • processUpdates

      public void processUpdates(jakarta.faces.context.FacesContext arg0)
    • processSaveState

      public Object processSaveState(jakarta.faces.context.FacesContext arg0)
    • processRestoreState

      public void processRestoreState(jakarta.faces.context.FacesContext arg0, Object arg1)
    • setTransient

      public void setTransient(boolean arg0)
    • saveAttachedState

      public static Object saveAttachedState(jakarta.faces.context.FacesContext arg0, Object arg1)
    • restoreAttachedState

      public static Object restoreAttachedState(jakarta.faces.context.FacesContext arg0, Object arg1) throws IllegalStateException
      Throws:
      IllegalStateException
    • saveState

      public Object saveState(jakarta.faces.context.FacesContext arg0)
    • setRendered

      public void setRendered(boolean arg0)
    • setRendererType

      public void setRendererType(String arg0)
    • getPassThroughAttributes

      public Map<String,Object> getPassThroughAttributes()
    • initialStateMarked

      public boolean initialStateMarked()
    • isCompositeComponent

      public static boolean isCompositeComponent(jakarta.faces.component.UIComponent arg0)
    • isInView

      public boolean isInView()
    • isVisitable

      protected boolean isVisitable(jakarta.faces.component.visit.VisitContext arg0)
    • setValueExpression

      public void setValueExpression(String arg0, jakarta.el.ValueExpression arg1)
    • getClientId

      public String getClientId()
    • getCompositeComponentParent

      public static jakarta.faces.component.UIComponent getCompositeComponentParent(jakarta.faces.component.UIComponent arg0)
    • getContainerClientId

      public String getContainerClientId(jakarta.faces.context.FacesContext arg0)
    • getCurrentComponent

      public static jakarta.faces.component.UIComponent getCurrentComponent(jakarta.faces.context.FacesContext arg0)
    • getCurrentCompositeComponent

      public static jakarta.faces.component.UIComponent getCurrentCompositeComponent(jakarta.faces.context.FacesContext arg0)
    • getListenersForEventClass

      public List<jakarta.faces.event.SystemEventListener> getListenersForEventClass(Class<? extends jakarta.faces.event.SystemEvent> arg0)
    • getNamingContainer

      public jakarta.faces.component.UIComponent getNamingContainer()
    • setInView

      public void setInView(boolean arg0)
    • getResourceBundleMap

      public Map<String,String> getResourceBundleMap()
    • getValueExpression

      public jakarta.el.ValueExpression getValueExpression(String arg0)
    • subscribeToEvent

      public void subscribeToEvent(Class<? extends jakarta.faces.event.SystemEvent> arg0, jakarta.faces.event.ComponentSystemEventListener arg1)
    • unsubscribeFromEvent

      public void unsubscribeFromEvent(Class<? extends jakarta.faces.event.SystemEvent> arg0, jakarta.faces.event.ComponentSystemEventListener arg1)
    • getStateHelper

      protected jakarta.faces.component.StateHelper getStateHelper()
    • getStateHelper

      protected jakarta.faces.component.StateHelper getStateHelper(boolean arg0)
    • getTransientStateHelper

      public jakarta.faces.component.TransientStateHelper getTransientStateHelper()
    • getTransientStateHelper

      public jakarta.faces.component.TransientStateHelper getTransientStateHelper(boolean arg0)
    • restoreTransientState

      public void restoreTransientState(jakarta.faces.context.FacesContext arg0, Object arg1)
    • saveTransientState

      public Object saveTransientState(jakarta.faces.context.FacesContext arg0)
    • popComponentFromEL

      public void popComponentFromEL(jakarta.faces.context.FacesContext arg0)
    • pushComponentToEL

      public void pushComponentToEL(jakarta.faces.context.FacesContext arg0, jakarta.faces.component.UIComponent arg1)