Class Cut
java.lang.Object
net.sf.jasperreports.engine.export.Cut
Utility class used by grid exporters to create a grid for page layout.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) intgetUsage()booleanhasProperty(String name) booleanisBreak()booleanDecides whether this cut is empty or not.booleanDecides whether this cut is occupied by spanning cells or not.voidsetProperty(String name, Object value) voidsetUsage(int usage)
-
Field Details
-
USAGE_NOT_EMPTY
public static final int USAGE_NOT_EMPTY- See Also:
-
USAGE_SPANNED
public static final int USAGE_SPANNED- See Also:
-
USAGE_BREAK
public static final int USAGE_BREAK- See Also:
-
-
Constructor Details
-
Cut
public Cut()
-
-
Method Details
-
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
-
getProperty
-
setProperty
-