Package org.loboevolution.html.style
Class BorderInsets
java.lang.Object
org.loboevolution.html.style.BorderInsets
BorderInsets class.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant BORDER_STYLE_DASHED=3static final int
Constant BORDER_STYLE_DOTTED=2static final int
Constant BORDER_STYLE_DOUBLE=5static final int
Constant BORDER_STYLE_GROOVE=6static final int
Constant BORDER_STYLE_HIDDEN=1static final int
Constant BORDER_STYLE_INSET=8static final int
Constant BORDER_STYLE_NONE=0static final int
Constant BORDER_STYLE_OUTSET=9static final int
Constant BORDER_STYLE_RIDGE=7static final int
Constant BORDER_STYLE_SOLID=4static final int
Constant DEFAULT_BORDER_WIDTH=2 -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BorderInfo
getBorderInfo
(CSSStyleDeclaration properties, HTMLElementImpl element, RenderState renderState) getBorderInfo.
-
Field Details
-
BORDER_STYLE_NONE
public static final int BORDER_STYLE_NONEConstant BORDER_STYLE_NONE=0- See Also:
-
BORDER_STYLE_HIDDEN
public static final int BORDER_STYLE_HIDDENConstant BORDER_STYLE_HIDDEN=1- See Also:
-
BORDER_STYLE_DOTTED
public static final int BORDER_STYLE_DOTTEDConstant BORDER_STYLE_DOTTED=2- See Also:
-
BORDER_STYLE_DASHED
public static final int BORDER_STYLE_DASHEDConstant BORDER_STYLE_DASHED=3- See Also:
-
BORDER_STYLE_SOLID
public static final int BORDER_STYLE_SOLIDConstant BORDER_STYLE_SOLID=4- See Also:
-
BORDER_STYLE_DOUBLE
public static final int BORDER_STYLE_DOUBLEConstant BORDER_STYLE_DOUBLE=5- See Also:
-
BORDER_STYLE_GROOVE
public static final int BORDER_STYLE_GROOVEConstant BORDER_STYLE_GROOVE=6- See Also:
-
BORDER_STYLE_RIDGE
public static final int BORDER_STYLE_RIDGEConstant BORDER_STYLE_RIDGE=7- See Also:
-
BORDER_STYLE_INSET
public static final int BORDER_STYLE_INSETConstant BORDER_STYLE_INSET=8- See Also:
-
BORDER_STYLE_OUTSET
public static final int BORDER_STYLE_OUTSETConstant BORDER_STYLE_OUTSET=9- See Also:
-
DEFAULT_BORDER_WIDTH
public static final int DEFAULT_BORDER_WIDTHConstant DEFAULT_BORDER_WIDTH=2- See Also:
-
-
Constructor Details
-
BorderInsets
public BorderInsets()
-
-
Method Details
-
getBorderInfo
public static BorderInfo getBorderInfo(CSSStyleDeclaration properties, HTMLElementImpl element, RenderState renderState) getBorderInfo.
- Parameters:
properties
- aCSSStyleDeclaration
object.element
- aHTMLElementImpl
object.renderState
- aRenderState
object.- Returns:
- a
BorderInfo
object.
-