public interface StyleTagDeclaration extends HasIdBindingAndRendered
Add a style tag with the given file name to the header (using file attribute) or add some CSS styles to the parent component.
Modifier and Type | Method and Description |
---|---|
void |
setBottom(String bottom) |
void |
setCustomClass(String customClass) |
void |
setDisplay(String display) |
void |
setFile(String file)
Name of the stylesheet file to add to page.
|
void |
setHeight(String height) |
void |
setLeft(String left) |
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 |
setRight(String right) |
void |
setTextAlign(String textAlign)
The alignment of the elements inside of the container, possible values are:
TextAlign.left ,
TextAlign.right ,
TextAlign.center and
TextAlign.justify . |
void |
setTop(String top) |
void |
setWidth(String width) |
setBinding
setRendered
void setFile(String file)
void setCustomClass(String customClass)
customClass
- A custom CSS class for this component.void setWidth(String width)
width
- The width for this component.void setHeight(String height)
height
- The height for this component.void setMinWidth(String minWidth)
minWidth
- The minimum width for this component.void setMinHeight(String minHeight)
minHeight
- The minimum height for this component.void setMaxWidth(String maxWidth)
maxWidth
- The maximum width for this component.void setMaxHeight(String maxHeight)
maxHeight
- The maximum height for this component.void setLeft(String left)
left
- The left position value for this component.void setRight(String right)
right
- The left position value for this component.void setTop(String top)
top
- The top position value for this component.void setBottom(String bottom)
bottom
- The top position value for this component.void setPaddingLeft(String paddingLeft)
paddingLeft
- The left padding.void setPaddingRight(String paddingRight)
paddingRight
- The right padding.void setPaddingTop(String paddingTop)
paddingTop
- The top padding.void setPaddingBottom(String paddingBottom)
paddingBottom
- The bottom padding.void setMarginLeft(String marginLeft)
marginLeft
- The margin at the left of this component.void setMarginRight(String marginRight)
marginRight
- The margin at the right of this component.void setMarginTop(String marginTop)
marginTop
- The margin at the top of this component.void setMarginBottom(String marginBottom)
marginBottom
- The margin at the bottom of this component.void setOverflowX(String overflowX)
overflowX
- Does the component need a horizontal scollbar.void setOverflowY(String overflowY)
overflowY
- Does the component need a vertical scollbar.void setDisplay(String display)
display
- Indicates the renderer to render the element as
Display.block
, Display.inline
or Display.none
.void setPosition(String position)
position
- Values for the position used with CSS.void setTextAlign(String textAlign)
TextAlign.left
,
TextAlign.right
,
TextAlign.center
and
TextAlign.justify
.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.