org.apache.fop.layout
Class BorderAndPadding
java.lang.Object
org.apache.fop.layout.BorderAndPadding
- All Implemented Interfaces:
- java.lang.Cloneable
- public class BorderAndPadding
- extends java.lang.Object
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOP
public static final int TOP
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
BorderAndPadding
public BorderAndPadding()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Return a full copy of the BorderAndPadding information. This clones all
padding and border information.
- Returns:
- The copy.
- Throws:
java.lang.CloneNotSupportedException
setBorder
public void setBorder(int side,
int style,
CondLength width,
ColorType color)
setPadding
public void setPadding(int side,
CondLength width)
setPaddingLength
public void setPaddingLength(int side,
int iLength)
setBorderLength
public void setBorderLength(int side,
int iLength)
getBorderLeftWidth
public int getBorderLeftWidth(boolean bDiscard)
getBorderRightWidth
public int getBorderRightWidth(boolean bDiscard)
getBorderTopWidth
public int getBorderTopWidth(boolean bDiscard)
getBorderBottomWidth
public int getBorderBottomWidth(boolean bDiscard)
getPaddingLeft
public int getPaddingLeft(boolean bDiscard)
getPaddingRight
public int getPaddingRight(boolean bDiscard)
getPaddingBottom
public int getPaddingBottom(boolean bDiscard)
getPaddingTop
public int getPaddingTop(boolean bDiscard)
getBorderColor
public ColorType getBorderColor(int side)
getBorderStyle
public int getBorderStyle(int side)
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.