org.lobobrowser.html.style
public class HtmlInsets extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
bottom |
int |
bottomType |
int |
left |
int |
leftType |
int |
right |
int |
rightType |
int |
top |
int |
topType |
static int |
TYPE_AUTO |
static int |
TYPE_PERCENT |
static int |
TYPE_PIXELS |
static int |
TYPE_UNDEFINED |
Constructor and Description |
---|
HtmlInsets() |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getAWTInsets(int defaultTop,
int defaultLeft,
int defaultBottom,
int defaultRight,
int availWidth,
int availHeight,
int autoX,
int autoY) |
int |
getBottom() |
int |
getBottomType() |
int |
getLeft() |
int |
getLeftType() |
int |
getRight() |
int |
getRightType() |
java.awt.Insets |
getSimpleAWTInsets(int availWidth,
int availHeight) |
int |
getTop() |
int |
getTopType() |
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) |
java.lang.String |
toString() |
public static final int TYPE_UNDEFINED
public static final int TYPE_PIXELS
public static final int TYPE_AUTO
public static final int TYPE_PERCENT
public int top
public int bottom
public int left
public int right
public int topType
public int bottomType
public int leftType
public int rightType
public int getTop()
public void setTop(int top)
public int getBottom()
public void setBottom(int bottom)
public int getLeft()
public void setLeft(int left)
public int getRight()
public void setRight(int right)
public int getTopType()
public void setTopType(int topType)
public int getBottomType()
public void setBottomType(int bottomType)
public int getLeftType()
public void setLeftType(int leftType)
public int getRightType()
public void setRightType(int rightType)
public java.awt.Insets getAWTInsets(int defaultTop, int defaultLeft, int defaultBottom, int defaultRight, int availWidth, int availHeight, int autoX, int autoY)
public java.awt.Insets getSimpleAWTInsets(int availWidth, int availHeight)
public java.lang.String toString()
toString
in class java.lang.Object