org.apache.myfaces.tobago.renderkit.css
Class Style

java.lang.Object
  extended by org.apache.myfaces.tobago.renderkit.css.Style
All Implemented Interfaces:
Serializable

public class Style
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Style()
           
Style(javax.faces.context.FacesContext facesContext, LayoutBase layout)
           
Style(Style map)
           
 
Method Summary
 String encode()
           
 String getBackgroundImage()
           
 Display getDisplay()
           
 Measure getHeight()
           
 Measure getLeft()
           
 Measure getMargin()
           
 Measure getMarginBottom()
           
 Measure getMarginLeft()
           
 Measure getMarginRight()
           
 Measure getMarginTop()
           
 Overflow getOverflowX()
           
 Overflow getOverflowY()
           
 Measure getPadding()
           
 Measure getPaddingBottom()
           
 Measure getPaddingLeft()
           
 Measure getPaddingRight()
           
 Measure getPaddingTop()
           
 Position getPosition()
           
 TextAlign getTextAlign()
           
 Measure getTop()
           
 Measure getWidth()
           
 Integer getZIndex()
           
 boolean needsToBeEscaped()
          Checks if the encode string holds free text, which must be escaped.
 void setBackgroundImage(String backgroundImage)
           
 void setDisplay(Display display)
           
 void setHeight(Measure height)
           
 void setLeft(Measure left)
           
 void setMargin(Measure margin)
           
 void setMarginBottom(Measure marginBottom)
           
 void setMarginLeft(Measure marginLeft)
           
 void setMarginRight(Measure marginRight)
           
 void setMarginTop(Measure marginTop)
           
 void setOverflowX(Overflow overflowX)
           
 void setOverflowY(Overflow overflowY)
           
 void setPadding(Measure padding)
           
 void setPaddingBottom(Measure paddingBottom)
           
 void setPaddingLeft(Measure paddingLeft)
           
 void setPaddingRight(Measure paddingRight)
           
 void setPaddingTop(Measure paddingTop)
           
 void setPosition(Position position)
           
 void setTextAlign(TextAlign textAlign)
           
 void setTop(Measure top)
           
 void setWidth(Measure width)
           
 void setZIndex(Integer zIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Style

public Style()

Style

public Style(Style map)

Style

public Style(javax.faces.context.FacesContext facesContext,
             LayoutBase layout)
Method Detail

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-2014 The Apache Software Foundation. All Rights Reserved.