org.lobobrowser.html.style
Class HtmlInsets

java.lang.Object
  extended by org.lobobrowser.html.style.HtmlInsets

public class HtmlInsets
extends java.lang.Object


Field Summary
 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 Summary
HtmlInsets()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

HtmlInsets

public HtmlInsets()
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:
toString in class java.lang.Object