Class BorderPropertySet
java.lang.Object
org.xhtmlrenderer.css.style.derived.RectPropertySet
org.xhtmlrenderer.css.style.derived.BorderPropertySet
User: patrick
Date: Oct 21, 2005
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBorderPropertySet(float top, float right, float bottom, float left) BorderPropertySet(float top, float right, float bottom, float left, BorderRadiusCorner topLeftCorner, BorderRadiusCorner topRightCorner, BorderRadiusCorner bottomRightCorner, BorderRadiusCorner bottomLeftCorner) 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 stylebooleanbooleanlighten(IdentValue style) Returns the colors for brighter parts of each side for a particular decoration stylestatic BorderPropertySetnewInstance(CalculatedStyle style, CssContext ctx) booleannoBottom()booleannoLeft()booleannoRight()normalizedInstance(Rectangle bounds) booleannoTop()voidsetBottomLeft(BorderRadiusCorner bottomLeft) voidsetBottomRight(BorderRadiusCorner bottomRight) voidsetTopLeft(BorderRadiusCorner topLeft) voidsetTopRight(BorderRadiusCorner topRight) 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, BorderRadiusCorner topLeftCorner, BorderRadiusCorner topRightCorner, BorderRadiusCorner bottomRightCorner, BorderRadiusCorner bottomLeftCorner) -
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 -
darken
Returns the colors for brighter parts of each side for a particular decoration style -
newInstance
-
toString
- Overrides:
toStringin 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() -
hasBorderRadius
public boolean hasBorderRadius() -
getBottomRight
-
setBottomRight
-
getBottomLeft
-
setBottomLeft
-
getTopRight
-
setTopRight
-
getTopLeft
-
setTopLeft
-
normalizedInstance
-