|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--com.klg.jclass.page.awt.JCPrintPage
PrintPage
displays a print page.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected Color |
bgColor
|
protected com.klg.jclass.page.JCDocument |
document
|
protected Image |
image
|
protected int |
page
|
protected Dimension |
preferredDimension
|
protected com.klg.jclass.page.awt.JCAWTScreenPrinter |
printer
|
protected boolean |
requiresRepaint
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
JCPrintPage(com.klg.jclass.page.awt.JCAWTScreenPrinter printer)
Constructor. |
|
JCPrintPage(com.klg.jclass.page.awt.JCAWTScreenPrinter printer,
Dimension preferredDimension)
Constructs a Dimension and initializes it to the specified preferred dimension. |
Method Summary | |
void |
dispose()
Makes sure the graphics are disposed, and cleans up the rest. |
Dimension |
getPreferredSize()
Gets the preferred size of the page. |
void |
paintComponent(Graphics gc)
Paints the table image centered on the screen. |
void |
setBackground(Color bgColor)
Sets the background color of the page; default is white. |
void |
setDocument(com.klg.jclass.page.JCDocument document)
Sets the document to be printed. |
void |
setPage(int page)
Sets the page to be printed. |
void |
setPreferredSize(Dimension preferredDimension)
Sets the preferred size of the page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.page.JCDocument document
protected int page
protected Dimension preferredDimension
protected Color bgColor
protected boolean requiresRepaint
protected Image image
protected com.klg.jclass.page.awt.JCAWTScreenPrinter printer
Constructor Detail |
public JCPrintPage(com.klg.jclass.page.awt.JCAWTScreenPrinter printer)
printer
- public JCPrintPage(com.klg.jclass.page.awt.JCAWTScreenPrinter printer, Dimension preferredDimension)
printer
- preferredDimension
- Method Detail |
public void setBackground(Color bgColor)
setBackground
in class JComponent
bgColor
- public void setDocument(com.klg.jclass.page.JCDocument document)
document
- public void setPage(int page)
page
- public Dimension getPreferredSize()
getPreferredSize
in class JComponent
public void setPreferredSize(Dimension preferredDimension)
setPreferredSize
in class JComponent
preferredDimension
- public void paintComponent(Graphics gc)
paintComponent
in class JComponent
gc
- public void dispose()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |