Package org.loboevolution.html.style
Class HtmlInsets
java.lang.Object
org.loboevolution.html.style.HtmlInsets
HtmlInsets class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant TYPE_AUTO=2static final intConstant TYPE_PERCENT=3static final intConstant TYPE_PIXELS=1static final intConstant TYPE_UNDEFINED=0 -
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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 HtmlInsetsgetInsets(String topText, String leftText, String bottomText, String rightText, HTMLElementImpl element, RenderState renderState) booleanhtmlInsetsIsVoid.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
Booleanobject.
-
getInsets
protected static HtmlInsets getInsets(String topText, String leftText, String bottomText, String rightText, HTMLElementImpl element, RenderState renderState) -
toString
-