Package org.lobobrowser.html.style
Class HtmlInsets
- java.lang.Object
-
- org.lobobrowser.html.style.HtmlInsets
-
public class HtmlInsets extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description intbottomintbottomTypeintleftintleftTypeintrightintrightTypeinttopinttopTypestatic intTYPE_AUTOstatic intTYPE_PERCENTstatic intTYPE_PIXELSstatic intTYPE_UNDEFINED
-
Constructor Summary
Constructors Constructor Description HtmlInsets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.InsetsgetAWTInsets(int defaultTop, int defaultLeft, int defaultBottom, int defaultRight, int availWidth, int availHeight, int autoX, int autoY)intgetBottom()intgetBottomType()intgetLeft()intgetLeftType()intgetRight()intgetRightType()java.awt.InsetsgetSimpleAWTInsets(int availWidth, int availHeight)intgetTop()intgetTopType()voidsetBottom(int bottom)voidsetBottomType(int bottomType)voidsetLeft(int left)voidsetLeftType(int leftType)voidsetRight(int right)voidsetRightType(int rightType)voidsetTop(int top)voidsetTopType(int topType)java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
-
TYPE_PIXELS
public static final int TYPE_PIXELS
- See Also:
- Constant Field Values
-
TYPE_AUTO
public static final int TYPE_AUTO
- See Also:
- Constant Field Values
-
TYPE_PERCENT
public static final int TYPE_PERCENT
- See Also:
- Constant Field Values
-
top
public int top
-
bottom
public int bottom
-
left
public int left
-
right
public int right
-
topType
public int topType
-
bottomType
public int bottomType
-
leftType
public int leftType
-
rightType
public int rightType
-
-
Method Detail
-
getTop
public int getTop()
-
setTop
public void setTop(int top)
-
getBottom
public int getBottom()
-
setBottom
public void setBottom(int bottom)
-
getLeft
public int getLeft()
-
setLeft
public void setLeft(int left)
-
getRight
public int getRight()
-
setRight
public void setRight(int right)
-
getTopType
public int getTopType()
-
setTopType
public void setTopType(int topType)
-
getBottomType
public int getBottomType()
-
setBottomType
public void setBottomType(int bottomType)
-
getLeftType
public int getLeftType()
-
setLeftType
public void setLeftType(int leftType)
-
getRightType
public int getRightType()
-
setRightType
public void setRightType(int rightType)
-
getAWTInsets
public java.awt.Insets getAWTInsets(int defaultTop, int defaultLeft, int defaultBottom, int defaultRight, int availWidth, int availHeight, int autoX, int autoY)
-
getSimpleAWTInsets
public java.awt.Insets getSimpleAWTInsets(int availWidth, int availHeight)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-