Package net.sf.jasperreports.engine
Class PrintElementId
- java.lang.Object
-
- net.sf.jasperreports.engine.PrintElementId
-
- All Implemented Interfaces:
Serializable
public class PrintElementId extends Object implements Serializable
An Id for a print element.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRPrintElement.getSourceElementId()
,JRPrintElement.getPrintElementId()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrintElementId(int sourceElementId, int printId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static PrintElementId
forElement(JRPrintElement element)
int
getPrintId()
int
getSourceElementId()
int
hashCode()
protected static boolean
matches(int sourceElementId1, int printId1, int sourceElementId2, int printId2)
boolean
matches(JRPrintElement element)
static boolean
matches(JRPrintElement element1, JRPrintElement element2)
boolean
matches(PrintElementId id)
String
toString()
-
-
-
Method Detail
-
forElement
public static PrintElementId forElement(JRPrintElement element)
-
matches
public static boolean matches(JRPrintElement element1, JRPrintElement element2)
-
matches
protected static boolean matches(int sourceElementId1, int printId1, int sourceElementId2, int printId2)
-
getSourceElementId
public int getSourceElementId()
-
getPrintId
public int getPrintId()
-
matches
public boolean matches(PrintElementId id)
-
matches
public boolean matches(JRPrintElement element)
-
-