net.sf.jasperreports.engine.export
public class CutsInfo extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
USAGE_BREAK |
static int |
USAGE_NOT_EMPTY |
static int |
USAGE_SPANNED |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addCut(int cut) |
void |
addUsage(int index,
int usage) |
void |
addXCuts(JRPrintElement element,
int offset) |
void |
addYCuts(JRPrintElement element,
int offset) |
int |
getCut(int index) |
java.util.List |
getCuts() |
int |
getFirstCut() |
int |
getLastCut() |
int |
getTotalLength() |
boolean |
hasCuts() |
int |
indexOfCut(int cut) |
boolean |
isBreak(int index) |
boolean |
isCutNotEmpty(int index)
Decides whether a cut is empty or not.
|
boolean |
isCutSpanned(int index)
Decides whether a cut is occupied by spanning cells or not.
|
int |
size() |
void |
use() |
public static final int USAGE_NOT_EMPTY
public static final int USAGE_SPANNED
public static final int USAGE_BREAK
public java.util.List getCuts()
public int size()
public void use()
public int getCut(int index)
public void addXCuts(JRPrintElement element, int offset)
public void addYCuts(JRPrintElement element, int offset)
protected boolean addCut(int cut)
public void addUsage(int index, int usage)
public int indexOfCut(int cut)
public boolean isCutNotEmpty(int index)
index
- the cut indextrue
if and only if the cut is not emptypublic boolean isCutSpanned(int index)
index
- the cut indextrue
if and only if the cut is not emptypublic boolean isBreak(int index)
public boolean hasCuts()
public int getFirstCut()
public int getLastCut()
public int getTotalLength()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com