public final class StyleUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
appendBox(JRLineBox destBox,
JRLineBox srcBox)
Merges two boxes, by appending the properties of the source box to the ones of the destination box.
|
static void |
appendParagraph(JRParagraph destParagraph,
JRParagraph srcParagraph)
Merges two paragraphs, by appending the properties of the source paragraph to the ones of the destination paragraph.
|
static void |
appendPen(JRPen destPen,
JRPen srcPen)
Merges two pens, by appending the properties of the source pen to the ones of the destination pen.
|
static void |
appendStyle(JRStyle destStyle,
JRStyle srcStyle)
Merges two styles, by appending the properties of the source style to the ones of the destination style.
|
protected boolean |
hasBorder(JRBoxContainer boxContainer,
net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector selector) |
boolean |
hasBox(JRBoxContainer boxContainer) |
protected boolean |
hasPadding(JRBoxContainer boxContainer,
net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector penSelector) |
static StyleUtil |
instance() |
ModeEnum |
resolveElementMode(JRElement element) |
ModeEnum |
resolveMode(JRStyleContainer styleContainer) |
public static StyleUtil instance()
public ModeEnum resolveMode(JRStyleContainer styleContainer)
public boolean hasBox(JRBoxContainer boxContainer)
protected boolean hasBorder(JRBoxContainer boxContainer, net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector selector)
protected boolean hasPadding(JRBoxContainer boxContainer, net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector penSelector)
public static void appendStyle(JRStyle destStyle, JRStyle srcStyle)
public static void appendPen(JRPen destPen, JRPen srcPen)
public static void appendBox(JRLineBox destBox, JRLineBox srcBox)
public static void appendParagraph(JRParagraph destParagraph, JRParagraph srcParagraph)
Copyright © 2016. All rights reserved.