Class Cut
- java.lang.Object
-
- net.sf.jasperreports.engine.export.Cut
-
public class Cut extends java.lang.ObjectUtility class used by grid exporters to create a grid for page layout.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static intUSAGE_BREAKstatic intUSAGE_NOT_EMPTYstatic intUSAGE_SPANNED
-
Constructor Summary
Constructors Constructor Description Cut()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetProperty(java.lang.String name)intgetUsage()booleanhasProperty(java.lang.String name)booleanisBreak()booleanisCutNotEmpty()Decides whether this cut is empty or not.booleanisCutSpanned()Decides whether this cut is occupied by spanning cells or not.voidsetProperty(java.lang.String name, java.lang.Object value)voidsetUsage(int usage)
-
-
-
Field Detail
-
USAGE_NOT_EMPTY
public static final int USAGE_NOT_EMPTY
- See Also:
- Constant Field Values
-
USAGE_SPANNED
public static final int USAGE_SPANNED
- See Also:
- Constant Field Values
-
USAGE_BREAK
public static final int USAGE_BREAK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUsage
public int getUsage()
-
setUsage
public void setUsage(int usage)
-
isCutNotEmpty
public boolean isCutNotEmpty()
Decides whether this cut is empty or not.- Returns:
trueif and only if the cut is not empty
-
isCutSpanned
public boolean isCutSpanned()
Decides whether this cut is occupied by spanning cells or not.- Returns:
trueif and only if the cut is not empty
-
isBreak
public boolean isBreak()
-
hasProperty
public boolean hasProperty(java.lang.String name)
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value)
-
-