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
RIGHT
public static final int RIGHT
BOTTOM
public static final int BOTTOM
LEFT
public static final int LEFT
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.
- Overrides:
clone
in class java.lang.Object
- Returns:
- The copy.
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-2002 Apache Software Foundation. All Rights Reserved.