|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
inetsoft.report.PreviewPane
inetsoft.report.j2d.JPreviewPane
inetsoft.report.j2d.PreviewPane2D
inetsoft.report.PagedPreviewPane
public class PagedPreviewPane
PreviewPane that has an interface to page through a report using navigation buttons.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.report.j2d.JPreviewPane |
|---|
inetsoft.report.j2d.JPreviewPane.StatusScrollBar, inetsoft.report.j2d.JPreviewPane.StatusScrollPane |
| Nested classes/interfaces inherited from class inetsoft.report.PreviewPane |
|---|
PreviewPane.Constraints |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.j2d.JPreviewPane |
|---|
scroller |
| Fields inherited from class inetsoft.report.PreviewPane |
|---|
catalog, PAGE_WIDTH, scrollpane, sheet, TWO_PAGES, WHOLE_PAGE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PagedPreviewPane()
Create a previewer with specified title. |
|
| Method Summary | |
|---|---|
protected PreviewPage |
addPage(StylePage stylepage,
double w,
double h)
Add a page to the container. |
protected void |
addStylePage(StylePage stylepage)
Add a page to the cache. |
PreviewPage |
getPage(int index)
Get the page with the index number. |
int |
getPageCount()
Get the number of pages in the preview pane. |
int |
getPageNumber()
Get the current page number. |
StylePage |
getStylePage(int n)
Get the specified page number. |
Enumeration |
getStylePages()
Get the style pages in the preview frame. |
Component |
getToolbar()
Get the toolbar for the pane. |
void |
gotoPage(int pn)
Jump to the specified page. |
boolean |
isCompleted()
Check if previewing has completed. |
protected void |
pagingAction(AdjustmentEvent e)
Called when scrollbar used to page up and down. |
void |
paint(Graphics g)
|
void |
print(ReportSheet sheet,
boolean reset)
Print a report to the preview pane. |
void |
removeAll()
Clean up preview pane. |
protected void |
removeAllPages()
There is always one page component to display all pages. |
protected void |
removeAllStylePages()
Remove all stylepage objects from cache. |
void |
setCompleted(boolean complete)
If printing is not done in the preview pane, the caller should call this after the report is fully processed. |
protected void |
setPageCount(int cnt)
Add the number of blank pages to the preview pane. |
void |
setStylePage(int pn,
StylePage page)
Set the stylepage in the pane. |
void |
showPageNumber(int pn)
Set the current page number shown on the status bar. |
void |
update(Graphics g)
|
protected int |
validatePageNum(String txt)
validates if the page number is a positive interger. |
| Methods inherited from class inetsoft.report.j2d.PreviewPane2D |
|---|
createPage |
| Methods inherited from class inetsoft.report.j2d.JPreviewPane |
|---|
addToScrollPane, createScrollPane, getBlockIncrement, getHAdjustable, getVAdjustable, getViewport, getViewportSize, gotoPage, showPageSize, showStatus, syncScrollPane |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PagedPreviewPane()
| Method Detail |
|---|
public Component getToolbar()
public void print(ReportSheet sheet,
boolean reset)
print in class PreviewPanesheet - report.reset - true to reset the report before printing.protected void removeAllStylePages()
public int getPageCount()
getPageCount in class PreviewPaneprotected void setPageCount(int cnt)
setPageCount in class PreviewPanecnt - number of pages.
public void setStylePage(int pn,
StylePage page)
protected int validatePageNum(String txt)
validatePageNum in class inetsoft.report.j2d.JPreviewPanepublic void gotoPage(int pn)
gotoPage in class PreviewPanepublic Enumeration getStylePages()
getStylePages in class PreviewPanepublic StylePage getStylePage(int n)
public int getPageNumber()
getPageNumber in class PreviewPanepublic void showPageNumber(int pn)
showPageNumber in class inetsoft.report.j2d.JPreviewPaneprotected void pagingAction(AdjustmentEvent e)
pagingAction in class PreviewPanepublic void removeAll()
removeAll in class PreviewPanepublic void setCompleted(boolean complete)
public boolean isCompleted()
protected void addStylePage(StylePage stylepage)
protected PreviewPage addPage(StylePage stylepage,
double w,
double h)
addPage in class PreviewPaneprotected void removeAllPages()
removeAllPages in class PreviewPanepublic PreviewPage getPage(int index)
getPage in class PreviewPaneindex - the page number to return.
public void paint(Graphics g)
paint in class Containerpublic void update(Graphics g)
update in class Container
|
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 | ||||||||