Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.css.style.derived
Class BorderPropertySet

java.lang.Object
  extended by org.xhtmlrenderer.css.style.derived.RectPropertySet
      extended by org.xhtmlrenderer.css.style.derived.BorderPropertySet

public class BorderPropertySet
extends RectPropertySet

Created by IntelliJ IDEA. User: patrick Date: Oct 21, 2005 Time: 3:24:04 PM To change this template use File | Settings | File Templates.


Field Summary
static BorderPropertySet EMPTY_BORDER
           
 
Fields inherited from class org.xhtmlrenderer.css.style.derived.RectPropertySet
ALL_ZEROS
 
Constructor Summary
BorderPropertySet(BorderPropertySet border)
           
BorderPropertySet(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left)
           
BorderPropertySet(float top, float right, float bottom, float left)
           
 
Method Summary
 FSColor bottomColor()
           
 IdentValue bottomStyle()
           
 BorderPropertySet darken(IdentValue style)
          Returns the colors for brighter parts of each side for a particular decoration style
 boolean hasHidden()
           
 FSColor leftColor()
           
 IdentValue leftStyle()
           
 BorderPropertySet lighten(IdentValue style)
          Returns the colors for brighter parts of each side for a particular decoration style
static BorderPropertySet newInstance(CalculatedStyle style, CssContext ctx)
           
 boolean noBottom()
           
 boolean noLeft()
           
 boolean noRight()
           
 boolean noTop()
           
 FSColor rightColor()
           
 IdentValue rightStyle()
           
 FSColor topColor()
           
 IdentValue topStyle()
           
 java.lang.String toString()
           
 
Methods inherited from class org.xhtmlrenderer.css.style.derived.RectPropertySet
bottom, copyOf, getLeftRightDiff, hasNegativeValues, height, isAllZeros, left, newInstance, resetNegativeValues, right, setBottom, setLeft, setRight, setTop, top, width
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_BORDER

public static final BorderPropertySet EMPTY_BORDER
Constructor Detail

BorderPropertySet

public BorderPropertySet(BorderPropertySet border)

BorderPropertySet

public BorderPropertySet(float top,
                         float right,
                         float bottom,
                         float left)

BorderPropertySet

public BorderPropertySet(CollapsedBorderValue top,
                         CollapsedBorderValue right,
                         CollapsedBorderValue bottom,
                         CollapsedBorderValue left)
Method Detail

lighten

public BorderPropertySet lighten(IdentValue style)
Returns the colors for brighter parts of each side for a particular decoration style

Parameters:
style -
Returns:
Returns

darken

public BorderPropertySet darken(IdentValue style)
Returns the colors for brighter parts of each side for a particular decoration style

Parameters:
style -
Returns:
Returns

newInstance

public static BorderPropertySet newInstance(CalculatedStyle style,
                                            CssContext ctx)

toString

public java.lang.String toString()
Overrides:
toString in class RectPropertySet

noTop

public boolean noTop()

noRight

public boolean noRight()

noBottom

public boolean noBottom()

noLeft

public boolean noLeft()

topStyle

public IdentValue topStyle()

rightStyle

public IdentValue rightStyle()

bottomStyle

public IdentValue bottomStyle()

leftStyle

public IdentValue leftStyle()

topColor

public FSColor topColor()

rightColor

public FSColor rightColor()

bottomColor

public FSColor bottomColor()

leftColor

public FSColor leftColor()

hasHidden

public boolean hasHidden()

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home