Class BorderPropertySet
java.lang.Object
org.xhtmlrenderer.css.style.derived.RectPropertySet
org.xhtmlrenderer.css.style.derived.BorderPropertySet
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
FieldsFields inherited from class org.xhtmlrenderer.css.style.derived.RectPropertySet
ALL_ZEROS
-
Constructor Summary
ConstructorsConstructorDescriptionBorderPropertySet
(float top, float right, float bottom, float left) BorderPropertySet
(BorderPropertySet border) BorderPropertySet
(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left) -
Method Summary
Modifier and TypeMethodDescriptiondarken
(IdentValue style) Returns the colors for brighter parts of each side for a particular decoration styleboolean
lighten
(IdentValue style) Returns the colors for brighter parts of each side for a particular decoration stylestatic BorderPropertySet
newInstance
(CalculatedStyle style, CssContext ctx) boolean
noBottom()
boolean
noLeft()
boolean
noRight()
boolean
noTop()
topColor()
topStyle()
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
-
Field Details
-
EMPTY_BORDER
-
-
Constructor Details
-
BorderPropertySet
-
BorderPropertySet
public BorderPropertySet(float top, float right, float bottom, float left) -
BorderPropertySet
public BorderPropertySet(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left)
-
-
Method Details
-
lighten
Returns the colors for brighter parts of each side for a particular decoration style- Parameters:
style
-- Returns:
- Returns
-
darken
Returns the colors for brighter parts of each side for a particular decoration style- Parameters:
style
-- Returns:
- Returns
-
newInstance
-
toString
- Overrides:
toString
in classRectPropertySet
-
noTop
public boolean noTop() -
noRight
public boolean noRight() -
noBottom
public boolean noBottom() -
noLeft
public boolean noLeft() -
topStyle
-
rightStyle
-
bottomStyle
-
leftStyle
-
topColor
-
rightColor
-
bottomColor
-
leftColor
-
hasHidden
public boolean hasHidden()
-