net.sf.jasperreports.engine.util
Class JRBoxUtil
java.lang.Object
net.sf.jasperreports.engine.util.JRBoxUtil
public final class JRBoxUtil
- extends java.lang.Object
- Version:
- $Id: JRBoxUtil.java 4109 2010-12-26 12:04:29Z teodord $
- Author:
- Teodor Danciu ([email protected])
Method Summary |
static JRLineBox |
clone(JRLineBox box,
boolean keepLeft,
boolean keepRight,
boolean keepTop,
boolean keepBottom,
JRLineBox complementaryBox)
Deprecated. Replaced by copyBordersNoPadding(JRLineBox, boolean, boolean, boolean, boolean, JRLineBox) . |
static JRLineBox |
copyBordersNoPadding(JRLineBox box,
boolean keepLeft,
boolean keepRight,
boolean keepTop,
boolean keepBottom,
JRLineBox complementaryBox)
|
static void |
reset(JRLineBox box,
boolean resetLeft,
boolean resetRight,
boolean resetTop,
boolean resetBottom)
|
static void |
setBoxToLineBox(JRBox box,
JRLineBox lineBox)
|
static void |
setToBox(java.lang.Byte border,
java.lang.Byte topBorder,
java.lang.Byte leftBorder,
java.lang.Byte bottomBorder,
java.lang.Byte rightBorder,
java.awt.Color borderColor,
java.awt.Color topBorderColor,
java.awt.Color leftBorderColor,
java.awt.Color bottomBorderColor,
java.awt.Color rightBorderColor,
java.lang.Integer padding,
java.lang.Integer topPadding,
java.lang.Integer leftPadding,
java.lang.Integer bottomPadding,
java.lang.Integer rightPadding,
JRLineBox box)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clone
public static JRLineBox clone(JRLineBox box,
boolean keepLeft,
boolean keepRight,
boolean keepTop,
boolean keepBottom,
JRLineBox complementaryBox)
- Deprecated. Replaced by
copyBordersNoPadding(JRLineBox, boolean, boolean, boolean, boolean, JRLineBox)
.
copyBordersNoPadding
public static JRLineBox copyBordersNoPadding(JRLineBox box,
boolean keepLeft,
boolean keepRight,
boolean keepTop,
boolean keepBottom,
JRLineBox complementaryBox)
reset
public static void reset(JRLineBox box,
boolean resetLeft,
boolean resetRight,
boolean resetTop,
boolean resetBottom)
setToBox
public static void setToBox(java.lang.Byte border,
java.lang.Byte topBorder,
java.lang.Byte leftBorder,
java.lang.Byte bottomBorder,
java.lang.Byte rightBorder,
java.awt.Color borderColor,
java.awt.Color topBorderColor,
java.awt.Color leftBorderColor,
java.awt.Color bottomBorderColor,
java.awt.Color rightBorderColor,
java.lang.Integer padding,
java.lang.Integer topPadding,
java.lang.Integer leftPadding,
java.lang.Integer bottomPadding,
java.lang.Integer rightPadding,
JRLineBox box)
setBoxToLineBox
public static void setBoxToLineBox(JRBox box,
JRLineBox lineBox)
Copyright © 2011. All Rights Reserved.