|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.print.layout.Page
public class Page
Layout Page
| Field Summary | |
|---|---|
static String |
CONTEXT_COPY
Copy Info (set here) |
static String |
CONTEXT_DATE
Current Date (set in Layout Engine) |
static String |
CONTEXT_HEADER
Report Header (set in Layout Engine) |
static String |
CONTEXT_MULTIPAGE
Multi Page Info (set here) |
static String |
CONTEXT_PAGE
Current Page No (set here) |
static String |
CONTEXT_PAGECOUNT
Page Count (set in Layout Engine |
static String |
CONTEXT_REPORTNAME
Report Name (set in Layout Engine) |
static String |
CONTEXT_TIME
Current Time (set in Layout Engine) |
| Constructor Summary | |
|---|---|
Page(Ctx ctx,
int pageNo)
Layout for Page |
|
| Method Summary | |
|---|---|
void |
addElement(PrintElement element)
Add Print Element to Page |
Query |
getDrillAcross(Point relativePoint)
Get DrillAcross value |
Query |
getDrillDown(Point relativePoint)
Get DrillDown value |
String |
getPageInfo()
Get Page Info |
int |
getPageNo()
Get Page No |
void |
paint(Graphics2D g2D,
Rectangle bounds,
boolean isView,
boolean isCopy)
Paint Page on Graphics in Bounds |
void |
setPageCount(int pageCount)
Set Page Info |
void |
setPageInfo(String pageInfo)
Set Page Info. |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CONTEXT_PAGE
public static final String CONTEXT_PAGECOUNT
public static final String CONTEXT_MULTIPAGE
public static final String CONTEXT_COPY
public static final String CONTEXT_REPORTNAME
public static final String CONTEXT_HEADER
public static final String CONTEXT_DATE
public static final String CONTEXT_TIME
| Constructor Detail |
|---|
public Page(Ctx ctx,
int pageNo)
pageNo - pagectx - context| Method Detail |
|---|
public int getPageNo()
public String getPageInfo()
public void setPageInfo(String pageInfo)
pageInfo - page infopublic void setPageCount(int pageCount)
pageCount - page countpublic void addElement(PrintElement element)
element - print element
public void paint(Graphics2D g2D,
Rectangle bounds,
boolean isView,
boolean isCopy)
g2D - graphicsbounds - page boundsisView - true if online view (IDs are links)isCopy - this print is a copypublic Query getDrillDown(Point relativePoint)
relativePoint - relative Point
public Query getDrillAcross(Point relativePoint)
relativePoint - relative Point
public String toString()
toString in class Object
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||