net.sf.jasperreports.engine.export
Class Cut
java.lang.Object
net.sf.jasperreports.engine.export.Cut
public class Cut
- extends java.lang.Object
Utility class used by grid exporters to create a grid for page layout.
- Version:
- $Id: CutsInfo.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Constructor Summary |
Cut()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Cut
public Cut()
getPosition
public int getPosition()
setPosition
public void setPosition(int position)
getUsage
public int getUsage()
setUsage
public void setUsage(int usage)
isCutNotEmpty
public boolean isCutNotEmpty()
- Decides whether a cut is empty or not.
- Parameters:
index
- the cut index
- Returns:
true
if and only if the cut is not empty
isCutSpanned
public boolean isCutSpanned()
- Decides whether a cut is occupied by spanning cells or not.
- Parameters:
index
- the cut index
- Returns:
true
if and only if the cut is not empty
isAutoFit
public boolean isAutoFit()
setAutoFit
public void setAutoFit(boolean autoFit)
getCustomWidth
public java.lang.Integer getCustomWidth()
setCustomWidth
public void setCustomWidth(java.lang.Integer customWidth)
getRowLevelMap
public java.util.SortedMap<java.lang.String,java.lang.Boolean> getRowLevelMap()
setRowLevelMap
public void setRowLevelMap(java.util.SortedMap<java.lang.String,java.lang.Boolean> rowLevelMap)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com