|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--com.java4less.rreport.RReport
|
+--com.java4less.rreport.RReportImp
|
+--com.java4less.rreport.RReportJ2
Subclass of RReportImp that uses Java 2 printing API.
| Fields inherited from class com.java4less.rreport.RReport |
actionCursor, activateActions, activateTips, bufferedImageType, exportDirectory, exportImagesFormat, imagesHTMLPrefix, javaVersion, marginBottom, marginLeft, marginRight, marginTop, mPageHeightCM, mPageWidthCM, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, POSITION_NEXT, POSITION_RIGHT, POSITION_UNDER, printingCancelled, scaleAlgorithm, selectedObject, showPageDialog, showPrintDialog, showProgressWindow, tipBack, tipBorder, tipColor, tipDelay, tipFont |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
| Fields inherited from interface java.awt.print.Pageable |
UNKNOWN_NUMBER_OF_PAGES |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
RReportJ2(java.awt.Frame Owner)
Creates a report. |
|
| Method Summary | |
void |
endReport()
finish report |
java.sql.Connection |
getDBCon()
get current connection to database. |
int |
getNumberOfPages()
method of PAGEABLE interface |
java.awt.print.PageFormat |
getPageFormat(int pageIndex)
method of PAGEABLE interface |
java.awt.print.Printable |
getPrintable(int pageIndex)
method of PAGEABLE interface |
boolean |
prepare()
start report |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
method of PRINTABLE interface |
boolean |
printPreview(int[] PagesToPrint,
int Count)
Call this method if you want to print the preview. |
void |
setDBCon(java.sql.Connection c)
sets current connection to database. |
| Methods inherited from class com.java4less.rreport.RReportImp |
importReport, importReport, importReport |
| Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RReportJ2(java.awt.Frame Owner)
| Method Detail |
public java.sql.Connection getDBCon()
getDBCon in class RReportpublic void setDBCon(java.sql.Connection c)
setDBCon in class RReport
public int print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
print in interface java.awt.print.Printablepublic int getNumberOfPages()
getNumberOfPages in interface java.awt.print.Pageablepublic java.awt.print.PageFormat getPageFormat(int pageIndex)
getPageFormat in interface java.awt.print.Pageablepublic java.awt.print.Printable getPrintable(int pageIndex)
getPrintable in interface java.awt.print.Pageablepublic boolean prepare()
prepare in class RReportpublic void endReport()
endReport in class RReport
public boolean printPreview(int[] PagesToPrint,
int Count)
printPreview in class RReport
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||