Package org.lobobrowser.html.style
Class HtmlInsets
java.lang.Object
org.lobobrowser.html.style.HtmlInsets
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
int
int
int
int
int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAWTInsets
(int defaultTop, int defaultLeft, int defaultBottom, int defaultRight, int availWidth, int availHeight, int autoX, int autoY) int
int
int
getLeft()
int
int
getRight()
int
getSimpleAWTInsets
(int availWidth, int availHeight) int
getTop()
int
void
setBottom
(int bottom) void
setBottomType
(int bottomType) void
setLeft
(int left) void
setLeftType
(int leftType) void
setRight
(int right) void
setRightType
(int rightType) void
setTop
(int top) void
setTopType
(int topType) toString()
-
Field Details
-
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED- See Also:
-
TYPE_PIXELS
public static final int TYPE_PIXELS- See Also:
-
TYPE_AUTO
public static final int TYPE_AUTO- See Also:
-
TYPE_PERCENT
public static final int TYPE_PERCENT- See Also:
-
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
-
-
Constructor Details
-
HtmlInsets
public HtmlInsets()
-
-
Method Details
-
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 Insets getAWTInsets(int defaultTop, int defaultLeft, int defaultBottom, int defaultRight, int availWidth, int availHeight, int autoX, int autoY) -
getSimpleAWTInsets
-
toString
-