|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.PageLocation
public class PageLocation
This class describes the location on a report, including page index, the paintable on the page, and the row/column on the paintable if applicable.
| Field Summary | |
|---|---|
static int |
BODY
Element is in report body. |
static int |
FOOTER
Element is in report footer. |
static int |
HEADER
Element is in report header. |
| Constructor Summary | |
|---|---|
PageLocation()
New location at top of first page. |
|
PageLocation(int page)
Page location at the top of the page. |
|
PageLocation(int page,
int paintable)
Page location at the specified element item. |
|
PageLocation(int page,
int paintable,
int row,
int region,
int y)
Page location at the specified element item. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
String |
getDescription()
Get the description of the PageLocation. |
int |
getPageIndex()
Get the page index, starts from 0. |
int |
getPageRegion()
Return the region of the page this PageLocation exists. |
int |
getPaintableIndex()
Get the element paintable index. |
int |
getRow()
Get the row number in table. |
String |
getURLString()
Get the url String represents the PageLocation. |
int |
getY()
Get the Y position on the page. |
boolean |
isInSection()
Determines if this page location is in a section. |
boolean |
isInTable()
Determines if this page location is in a table. |
static PageLocation |
parseURLString(String str)
Parse the url String represents a PageLocation to the represented PageLocation. |
void |
setDescription(String description)
Set the description of the PageLocation. |
void |
setInSection(boolean inSection)
Sets whether this page location is in a section. |
void |
setInTable(boolean inTable)
Sets whether this page location is in a table. |
void |
setPageIndex(int page)
Set the page index. |
void |
setPageRegion(int region)
Set the region of the page this PageLocation exists. |
void |
setPaintableIndex(int paintable)
Set the element paintable index. |
void |
setRow(int row)
Set the table row number. |
void |
setY(int y)
Set the Y position on the page. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BODY
public static final int HEADER
public static final int FOOTER
| Constructor Detail |
|---|
public PageLocation()
public PageLocation(int page)
page - page number.
public PageLocation(int page,
int paintable)
page - page number.paintable - the index of the element.
public PageLocation(int page,
int paintable,
int row,
int region,
int y)
page - page number.paintable - the index of the element.row - table row number.region - page region - BODY, HEADER, FOOTER.| Method Detail |
|---|
public int getPageIndex()
public void setPageIndex(int page)
page - page number.public int getPaintableIndex()
public void setPaintableIndex(int paintable)
paintable - paintable index.public int getRow()
public void setRow(int row)
row - table row number.public int getY()
public void setY(int y)
public String getDescription()
public void setDescription(String description)
description - the descriptionpublic boolean isInSection()
true if this location is in a section.public void setInSection(boolean inSection)
inSection - true if this location is in a section.public boolean isInTable()
true if this location is in a table.public void setInTable(boolean inTable)
inTable - true if this location is in a table.public int getPageRegion()
public void setPageRegion(int region)
region - page region.public String getURLString()
public static PageLocation parseURLString(String str)
throws NumberFormatException
str - the url String represents a PageLocation
NumberFormatExceptionpublic String toString()
toString in class Objectpublic Object clone()
clone in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||