|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
ice.ri.common.print.awt.PrintPreviewDialog
Utility class to display print preview in awt. This class has been updated to take advantage of the new StromPrinter API and corisponding StormPageFormat.
| Nested Class Summary |
| Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
| 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 |
| 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 | |
PrintPreviewDialog(Frame parent,
Viewport viewport,
StormPageFormat storm_Page_Format)
Create a PrintPreviewDialog object. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
ActionListeners for processing GUI commands |
void |
dispose()
|
void |
itemStateChanged(ItemEvent e)
ItemStateChanged listener for combo box |
void |
propertyChange(PropertyChangeEvent e)
Listen for an property changes from Stormbase |
void |
run()
Do the Java 1.1 printing from this thread |
void |
setVisible(boolean visible)
Sets the visibility of the dialog. |
StormPageFormat |
showDialog()
Display the dialog by making it visible. |
void |
windowActivated(WindowEvent ev)
|
void |
windowClosed(WindowEvent ev)
|
void |
windowClosing(WindowEvent e)
Window Closing Event listener |
void |
windowDeactivated(WindowEvent ev)
|
void |
windowDeiconified(WindowEvent ev)
|
void |
windowIconified(WindowEvent ev)
|
void |
windowOpened(WindowEvent ev)
|
| Methods inherited from class java.awt.Dialog |
addNotify, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PrintPreviewDialog(Frame parent,
Viewport viewport,
StormPageFormat storm_Page_Format)
PrintPreviewDialog object.
parent - parent parentFrame used for centering dialogviewport - StormBase reference for finding viewports| Method Detail |
public StormPageFormat showDialog()
public void dispose()
public void setVisible(boolean visible)
visible - true to make the dialog visible, false otherwisepublic void run()
run in interface Runnablepublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - public void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenere - public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenere - public void windowClosing(WindowEvent e)
windowClosing in interface WindowListenere - public void windowClosed(WindowEvent ev)
windowClosed in interface WindowListenerpublic void windowOpened(WindowEvent ev)
windowOpened in interface WindowListenerpublic void windowIconified(WindowEvent ev)
windowIconified in interface WindowListenerpublic void windowDeiconified(WindowEvent ev)
windowDeiconified in interface WindowListenerpublic void windowActivated(WindowEvent ev)
windowActivated in interface WindowListenerpublic void windowDeactivated(WindowEvent ev)
windowDeactivated in interface WindowListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||