org.apache.myfaces.tobago.renderkit.css
Class Style
java.lang.Object
org.apache.myfaces.tobago.renderkit.css.Style
- All Implemented Interfaces:
- Serializable
public class Style
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Style
public Style()
Style
public Style(Style map)
Style
public Style(javax.faces.context.FacesContext facesContext,
LayoutBase layout)
needsToBeEscaped
public boolean needsToBeEscaped()
- Checks if the encode string holds free text, which must be escaped.
This is the case for image URLs.
For
Measure
, and enum types like Display
no escaping is needed.
encode
public String encode()
getWidth
public Measure getWidth()
setWidth
public void setWidth(Measure width)
getHeight
public Measure getHeight()
setHeight
public void setHeight(Measure height)
getLeft
public Measure getLeft()
setLeft
public void setLeft(Measure left)
getTop
public Measure getTop()
setTop
public void setTop(Measure top)
getDisplay
public Display getDisplay()
setDisplay
public void setDisplay(Display display)
getPosition
public Position getPosition()
setPosition
public void setPosition(Position position)
getOverflowX
public Overflow getOverflowX()
setOverflowX
public void setOverflowX(Overflow overflowX)
getOverflowY
public Overflow getOverflowY()
setOverflowY
public void setOverflowY(Overflow overflowY)
getMarginLeft
public Measure getMarginLeft()
setMarginLeft
public void setMarginLeft(Measure marginLeft)
getMarginRight
public Measure getMarginRight()
setMarginRight
public void setMarginRight(Measure marginRight)
getMarginTop
public Measure getMarginTop()
setMarginTop
public void setMarginTop(Measure marginTop)
getMarginBottom
public Measure getMarginBottom()
setMarginBottom
public void setMarginBottom(Measure marginBottom)
getMargin
public Measure getMargin()
setMargin
public void setMargin(Measure margin)
getPaddingLeft
public Measure getPaddingLeft()
setPaddingLeft
public void setPaddingLeft(Measure paddingLeft)
getPaddingRight
public Measure getPaddingRight()
setPaddingRight
public void setPaddingRight(Measure paddingRight)
getPaddingTop
public Measure getPaddingTop()
setPaddingTop
public void setPaddingTop(Measure paddingTop)
getPaddingBottom
public Measure getPaddingBottom()
setPaddingBottom
public void setPaddingBottom(Measure paddingBottom)
getPadding
public Measure getPadding()
setPadding
public void setPadding(Measure padding)
getBackgroundImage
public String getBackgroundImage()
setBackgroundImage
public void setBackgroundImage(String backgroundImage)
getZIndex
public Integer getZIndex()
setZIndex
public void setZIndex(Integer zIndex)
getTextAlign
public TextAlign getTextAlign()
setTextAlign
public void setTextAlign(TextAlign textAlign)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.