示例#1
0
 /**
  * Sets a black border with the specified line widths.
  *
  * @param top the top border line width.
  * @param left the left border line width.
  * @param bottom the bottom border line width.
  * @param right the right border line width.
  */
 public void setBorder(double top, double left, double bottom, double right) {
   setFrame(new BlockBorder(top, left, bottom, right));
 }
示例#2
0
 /**
  * Sets the border for the block (use {@link BlockBorder#NONE} for no border).
  *
  * @param border the border (<code>null</code> not permitted).
  * @see #getBorder()
  * @deprecated Use {@link #setFrame(BlockFrame)} instead.
  */
 public void setBorder(BlockBorder border) {
   setFrame(border);
 }