com.java4less.rreport
Class RPage

java.lang.Object
  |
  +--com.java4less.rreport.RPage

public class RPage
extends java.lang.Object

This class represents a page of the report. It contains a reference to all object instances printed in that page.


Method Summary
 RObjectInstance findObjectAt(double x, double y)
          find object on page by position in CM (x,y).
 java.util.Vector getRObjectInstances()
          return all RObjectInstances in the page
 java.util.Vector getRObjectInstancesByArea(long areaRepetitionId)
          return all RObjectInstances of an area
 RObjectInstance getRObjectInstancesByName(long areaRepetitionId, java.lang.String name)
          return RObjectInstance of an area by name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findObjectAt

public RObjectInstance findObjectAt(double x,
                                    double y)
find object on page by position in CM (x,y). Used by the preview in order to locate the object the cursor in on.

getRObjectInstances

public java.util.Vector getRObjectInstances()
return all RObjectInstances in the page

getRObjectInstancesByArea

public java.util.Vector getRObjectInstancesByArea(long areaRepetitionId)
return all RObjectInstances of an area

getRObjectInstancesByName

public RObjectInstance getRObjectInstancesByName(long areaRepetitionId,
                                                 java.lang.String name)
return RObjectInstance of an area by name