Package org.loboevolution.html.style
Class HtmlInsets
java.lang.Object
org.loboevolution.html.style.HtmlInsets
HtmlInsets class.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant TYPE_AUTO=2static final int
Constant TYPE_PERCENT=3static final int
Constant TYPE_PIXELS=1static final int
Constant TYPE_UNDEFINED=0 -
Constructor Summary
ConstructorDescriptionConstructor for HtmlInsets.HtmlInsets
(int value, int valueType) Constructor for HtmlInsets. -
Method Summary
Modifier and TypeMethodDescriptiongetAWTInsets
(int availWidth, int availHeight, int autoX, int autoY) getAWTInsets.protected static HtmlInsets
getInsets
(String topText, String leftText, String bottomText, String rightText, HTMLElementImpl element, RenderState renderState) boolean
htmlInsetsIsVoid.toString()
-
Field Details
-
TYPE_UNDEFINED
public static final int TYPE_UNDEFINEDConstant TYPE_UNDEFINED=0- See Also:
-
TYPE_PIXELS
public static final int TYPE_PIXELSConstant TYPE_PIXELS=1- See Also:
-
TYPE_AUTO
public static final int TYPE_AUTOConstant TYPE_AUTO=2- See Also:
-
TYPE_PERCENT
public static final int TYPE_PERCENTConstant TYPE_PERCENT=3- See Also:
-
-
Constructor Details
-
HtmlInsets
public HtmlInsets()Constructor for HtmlInsets.
-
HtmlInsets
public HtmlInsets(int value, int valueType) Constructor for HtmlInsets.
-
-
Method Details
-
getAWTInsets
getAWTInsets.
-
htmlInsetsIsVoid
public boolean htmlInsetsIsVoid()htmlInsetsIsVoid.
- Returns:
- a
Boolean
object.
-
getInsets
protected static HtmlInsets getInsets(String topText, String leftText, String bottomText, String rightText, HTMLElementImpl element, RenderState renderState) -
toString
-