com.lowagie.text.rtf.table
public class RtfBorderGroup extends RtfElement
Version: $Id: RtfBorderGroup.java 3427 2008-05-24 18:32:31Z xlv $
Field Summary | |
---|---|
Hashtable | borders
The borders in this RtfBorderGroup |
int | borderType
The type of borders this RtfBorderGroup contains.
|
Constructor Summary | |
---|---|
RtfBorderGroup()
Constructs an empty RtfBorderGroup. | |
RtfBorderGroup(int bordersToAdd, int borderStyle, float borderWidth, Color borderColor)
Constructs a RtfBorderGroup with on border style for multiple borders.
| |
protected | RtfBorderGroup(RtfDocument doc, int borderType, RtfBorderGroup borderGroup)
Constructs a RtfBorderGroup based on another RtfBorderGroup.
|
protected | RtfBorderGroup(RtfDocument doc, int borderType, int bordersToUse, float borderWidth, Color borderColor)
Constructs a RtfBorderGroup with certain borders
|
Method Summary | |
---|---|
void | addBorder(int bordersToAdd, int borderStyle, float borderWidth, Color borderColor)
Adds borders to the RtfBorderGroup
|
protected Hashtable | getBorders()
Gets the RtfBorders of this RtfBorderGroup
|
void | removeBorder(int bordersToRemove)
Removes borders from the list of borders
|
void | setBorder(int borderPosition, int borderStyle, float borderWidth, Color borderColor)
Sets a border in the Hashtable of borders
|
void | writeContent(OutputStream result)
Writes the borders of this RtfBorderGroup |
Parameters: bordersToAdd The borders to add (Rectangle.LEFT, Rectangle.RIGHT, Rectangle.TOP, Rectangle.BOTTOM, Rectangle.BOX) borderStyle The style of border to add (from RtfBorder) borderWidth The border width to use borderColor The border color to use
Parameters: doc The RtfDocument this RtfBorderGroup belongs to borderType The type of borders this RtfBorderGroup contains borderGroup The RtfBorderGroup to use as a base
Parameters: doc The RtfDocument this RtfBorderGroup belongs to borderType The type of borders this RtfBorderGroup contains bordersToUse The borders to add (Rectangle.LEFT, Rectangle.RIGHT, Rectangle.TOP, Rectangle.BOTTOM, Rectangle.BOX) borderWidth The border width to use borderColor The border color to use
Parameters: bordersToAdd The borders to add (Rectangle.LEFT, Rectangle.RIGHT, Rectangle.TOP, Rectangle.BOTTOM, Rectangle.BOX) borderStyle The style of border to add (from RtfBorder) borderWidth The border width to use borderColor The border color to use
Returns: The RtfBorders of this RtfBorderGroup
Parameters: bordersToRemove The borders to remove (from Rectangle)
Parameters: borderPosition The position of this RtfBorder borderStyle The type of borders this RtfBorderGroup contains borderWidth The border width to use borderColor The border color to use