Schnittstelle StyleTagDeclaration
- Alle Superschnittstellen:
HasBinding
,HasId
,HasIdBindingAndRendered
,IsRendered
Add a style tag with the given file name to the header (using file attribute) or add some CSS styles to the parent component.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setBackgroundImage
(String backgroundImage) The background image of the element.void
void
setCustomClass
(String customClass) void
setDisplay
(String display) void
Name of the stylesheet file to add to page.void
setFlexBasis
(String flexBasis) Flex basis value of the element.void
setFlexGrow
(String flexGrow) Flex grow value of the element.void
setFlexShrink
(String flexShrink) Flex shrink value of the element.void
setGridColumn
(String gridColumn) Grid column value of the element.void
setGridRow
(String gridRow) Grid row value of the element.void
setGridTemplateColumns
(String gridTemplateColumns) Grid template columns value of the element.void
setGridTemplateRows
(String gridTemplateRows) Grid template rows value of the element.void
void
void
setMarginBottom
(String marginBottom) void
setMarginLeft
(String marginLeft) void
setMarginRight
(String marginRight) void
setMarginTop
(String marginTop) void
setMaxHeight
(String maxHeight) void
setMaxWidth
(String maxWidth) void
setMinHeight
(String minHeight) void
setMinWidth
(String minWidth) void
setOverflowX
(String overflowX) void
setOverflowY
(String overflowY) void
setPaddingBottom
(String paddingBottom) void
setPaddingLeft
(String paddingLeft) void
setPaddingRight
(String paddingRight) void
setPaddingTop
(String paddingTop) void
setPosition
(String position) void
setRendered
(String rendered) Note: The rendered attribute has no effect to the use of the customClass attribute.void
void
setSelector
(String selector) void
setTextAlign
(String textAlign) The alignment of the elements inside of the container, possible values are:TextAlign.left
,TextAlign.right
,TextAlign.center
andTextAlign.justify
.void
void
Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
-
Methodendetails
-
setFile
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}. -
setCustomClass
- Parameter:
customClass
- A custom CSS class for the parent component. Note: The rendered attribute has no effect to the use of this customClass. To switch the customClass, you may use an EL expression like e.g. customClass="#{isError ? 'red' : null}".- Seit:
- 3.0.0
-
setSelector
- Parameter:
selector
- A selector to define the element for this style rules. Defaults to the ID of the parent component.- Seit:
- 4.0.0
-
setWidth
- Parameter:
width
- The width for the parent component.- Seit:
- 3.0.0
-
setHeight
- Parameter:
height
- The height for the parent component.- Seit:
- 3.0.0
-
setMinWidth
- Parameter:
minWidth
- The minimum width for the parent component.- Seit:
- 3.0.0
-
setMinHeight
- Parameter:
minHeight
- The minimum height for the parent component.- Seit:
- 3.0.0
-
setMaxWidth
- Parameter:
maxWidth
- The maximum width for the parent component.- Seit:
- 3.0.0
-
setMaxHeight
- Parameter:
maxHeight
- The maximum height for the parent component.- Seit:
- 3.0.0
-
setLeft
- Parameter:
left
- The left position value for the parent component.- Seit:
- 3.0.0
-
setRight
- Parameter:
right
- The left position value for the parent component.- Seit:
- 3.0.0
-
setTop
- Parameter:
top
- The top position value for the parent component.- Seit:
- 3.0.0
-
setBottom
- Parameter:
bottom
- The top position value for the parent component.- Seit:
- 3.0.0
-
setPaddingLeft
- Parameter:
paddingLeft
- The left padding.- Seit:
- 3.0.0
-
setPaddingRight
- Parameter:
paddingRight
- The right padding.- Seit:
- 3.0.0
-
setPaddingTop
- Parameter:
paddingTop
- The top padding.- Seit:
- 3.0.0
-
setPaddingBottom
- Parameter:
paddingBottom
- The bottom padding.- Seit:
- 3.0.0
-
setMarginLeft
- Parameter:
marginLeft
- The margin at the left of the parent component.- Seit:
- 3.0.0
-
setMarginRight
- Parameter:
marginRight
- The margin at the right of the parent component.- Seit:
- 3.0.0
-
setMarginTop
- Parameter:
marginTop
- The margin at the top of the parent component.- Seit:
- 3.0.0
-
setMarginBottom
- Parameter:
marginBottom
- The margin at the bottom of the parent component.- Seit:
- 3.0.0
-
setOverflowX
- Parameter:
overflowX
- Does the component need a horizontal scrollbar.- Seit:
- 3.0.0
-
setOverflowY
- Parameter:
overflowY
- Does the component need a vertical scrollbar.- Seit:
- 3.0.0
-
setDisplay
- Parameter:
display
- Indicates the renderer to render the element asDisplay.block
,Display.inline
orDisplay.none
.- Seit:
- 3.0.0
-
setPosition
- Parameter:
position
- Values for the position used with CSS.- Seit:
- 3.0.0
-
setTextAlign
The alignment of the elements inside of the container, possible values are:TextAlign.left
,TextAlign.right
,TextAlign.center
andTextAlign.justify
.- Seit:
- 3.0.0
-
setBackgroundImage
The background image of the element.- Seit:
- 4.0.0
-
setFlexGrow
Flex grow value of the element.- Seit:
- 4.0.0
-
setFlexShrink
Flex shrink value of the element.- Seit:
- 4.0.0
-
setFlexBasis
Flex basis value of the element.- Seit:
- 4.0.0
-
setGridTemplateColumns
Grid template columns value of the element.- Seit:
- 4.0.0
-
setGridTemplateRows
Grid template rows value of the element.- Seit:
- 4.0.0
-
setGridColumn
Grid column value of the element.- Seit:
- 4.0.0
-
setGridRow
Grid row value of the element.- Seit:
- 4.0.0
-
setRendered
Note: The rendered attribute has no effect to the use of the customClass attribute.- Angegeben von:
setRendered
in SchnittstelleIsRendered
-