net.sf.jasperreports.engine.export
Class Cut

java.lang.Object
  extended by 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: Cut.java 5359 2012-05-09 16:07:51Z shertage $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static int USAGE_BREAK
           
static int USAGE_NOT_EMPTY
           
static int USAGE_SPANNED
           
 
Constructor Summary
Cut()
           
 
Method Summary
 int getPosition()
           
 java.util.Map<java.lang.String,java.lang.Object> getPropertiesMap()
           
 int getUsage()
           
 boolean isCutNotEmpty()
          Decides whether this cut is empty or not.
 boolean isCutSpanned()
          Decides whether this cut is occupied by spanning cells or not.
 void setPosition(int position)
           
 void setUsage(int usage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Cut

public Cut()
Method Detail

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 this cut is empty or not.

Returns:
true if and only if the cut is not empty

isCutSpanned

public boolean isCutSpanned()
Decides whether this cut is occupied by spanning cells or not.

Returns:
true if and only if the cut is not empty

getPropertiesMap

public java.util.Map<java.lang.String,java.lang.Object> getPropertiesMap()


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com