| java.lang.Object org.apache.fop.traits.BorderProps
BorderProps | public class BorderProps implements Serializable(Code) | | Border properties.
Class to store border trait propties for the area tree.
|
Constructor Summary | |
public | BorderProps(int style, int width, Color color, int mode) Constructs a new BorderProps instance. | public | BorderProps(String style, int width, Color color, int mode) Constructs a new BorderProps instance. |
COLLAPSE_INNER | final public static int COLLAPSE_INNER(Code) | | Collapsing border model, for borders inside a table
|
COLLAPSE_OUTER | final public static int COLLAPSE_OUTER(Code) | | Collapsing border model, for borders at the table's outer border
|
SEPARATE | final public static int SEPARATE(Code) | | Separate border model
|
mode | public int mode(Code) | | Border mode (one of SEPARATE, COLLAPSE_INNER and COLLAPSE_OUTER)
|
style | public int style(Code) | | Border style (one of EN_*)
|
width | public int width(Code) | | Border width
|
BorderProps | public BorderProps(int style, int width, Color color, int mode)(Code) | | Constructs a new BorderProps instance.
Parameters: style - border style (one of EN_*) Parameters: width - border width Parameters: color - border color Parameters: mode - border mode ((one of SEPARATE, COLLAPSE_INNER and COLLAPSE_OUTER) |
BorderProps | public BorderProps(String style, int width, Color color, int mode)(Code) | | Constructs a new BorderProps instance.
Parameters: style - border style (one of the XSL enum values for border style) Parameters: width - border width Parameters: color - border color Parameters: mode - border mode ((one of SEPARATE, COLLAPSE_INNER and COLLAPSE_OUTER) |
getClippedWidth | public static int getClippedWidth(BorderProps bp)(Code) | | Parameters: bp - the border properties or null the effective width of the clipped part of the border |
valueOf | public static BorderProps valueOf(FOUserAgent foUserAgent, String s)(Code) | | Returns a BorderProps represtation of a string of the format as written by
BorderProps.toString().
Parameters: foUserAgent - FOP user agent caching ICC profiles Parameters: s - the string a BorderProps instance |
|
|