Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataView.gui
Class PrintDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--oracle.dss.dataView.gui.DefaultDialog
                                      |
                                      +--oracle.dss.dataView.gui.PrintDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, HelpContext, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class PrintDialog
extends DefaultDialog
implements HelpContext

A Printer dialog box that sets properties of a ViewPrinter from user input. This PrintDialog presents the options available in a ViewPrinter to a user and specifies the user's choices in the ViewPrinter. It also prints the view, through the ViewPrinter object.

See Also:
ViewPrinter, CrosstabPrinter, GraphPrinter, TablePrinter, Serialized Form

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
PrintDialog(java.awt.Frame dialogFrame, ViewPrinter printer)
          Constructor.
PrintDialog(java.awt.Frame dialogFrame, ViewPrinter printer, java.awt.print.PrinterJob job)
          Constructor.

 

Method Summary
 java.lang.String getHelpContextID()
          Retrieves the Help context ID for this panel.
 oracle.bali.ewt.help.HelpProvider getHelpProvider()
          Gets the Help provider for this panel.
 boolean isHelpEnabled()
          Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed.
 boolean isSystemPrintDialogDisplayed()
          Indicates if SystemPrintDialog should be displayed when OK button is pressed in Print dialog or print button is pressed in Preview dialog.
 void setHelpContextID(java.lang.String strHelpContextID)
          Sets the Help context ID for this panel.
 void setHelpEnabled(boolean bValue)
          Specifies whether a Help button in a dialog box that is displayed by this panel, is displayed.
 void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
          Sets the Help provider for this panel.
 void setLocale(java.util.Locale loc)
          set locale of the font
 void setSystemPrintDialogDisplayed(boolean display)
          Specifies if SystemPrintDialog should be displayed when OK button is pressed in Print dialog or print button is pressed in Preview dialog.

 

Methods inherited from class javax.swing.JDialog
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, update

 

Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show

 

Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, removeWindowListener, setCursor, toBack, toFront

 

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, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setFont, 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, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, 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, setDropTarget, setEnabled, setForeground, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.awt.event.ActionListener
actionPerformed

 

Constructor Detail

PrintDialog

public PrintDialog(java.awt.Frame dialogFrame,
ViewPrinter printer)
Constructor.
Parameters:
dialogFrame - The Frame from which this dialog will appear.
printer - The ViewPrinter through which to print a view.

PrintDialog

public PrintDialog(java.awt.Frame dialogFrame,
ViewPrinter printer,
                   java.awt.print.PrinterJob job)
Constructor.
Parameters:
dialogFrame - The Frame from which this dialog will appear.
printer - The ViewPrinter through which to print a view.
job - The PrinterJob object to use.
Method Detail

setLocale

public void setLocale(java.util.Locale loc)
set locale of the font
Overrides:
setLocale in class DefaultDialog

getHelpContextID

public java.lang.String getHelpContextID()
Retrieves the Help context ID for this panel. The Help context ID is the full class path for this panel. This Help context ID is used when listening for the user event to display Help for this panel.
Specified by:
getHelpContextID in interface HelpContext
Returns:
The Help context ID for this panel.

setHelpContextID

public void setHelpContextID(java.lang.String strHelpContextID)
Sets the Help context ID for this panel.
Specified by:
setHelpContextID in interface HelpContext
Following copied from interface: oracle.dss.util.help.HelpContext
Parameters:
strHelpContextID - a String value that represents the Help context ID.

setHelpEnabled

public void setHelpEnabled(boolean bValue)
Specifies whether a Help button in a dialog box that is displayed by this panel, is displayed.

For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would specify whether that Help button is displayed.

Parameters:
bValue - true to display the Help button, false to hide it.

isHelpEnabled

public boolean isHelpEnabled()
Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed.

For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would tell you whether that Help button is displayed.

Returns:
true if the Help button is hidden, false if it is displayed.

setHelpProvider

public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
Sets the Help provider for this panel.

getHelpProvider

public oracle.bali.ewt.help.HelpProvider getHelpProvider()
Gets the Help provider for this panel.

setSystemPrintDialogDisplayed

public void setSystemPrintDialogDisplayed(boolean display)
Specifies if SystemPrintDialog should be displayed when OK button is pressed in Print dialog or print button is pressed in Preview dialog. By default, the System Print Dialog will be displayed. Showing System Print Dialog will allow the end user to change the Printer.
Parameters:
display - true if SystemPrintDialog should be displayed, false otherwise.

isSystemPrintDialogDisplayed

public boolean isSystemPrintDialogDisplayed()
Indicates if SystemPrintDialog should be displayed when OK button is pressed in Print dialog or print button is pressed in Preview dialog.
Returns:
true if SystemPrintDialog should be displayed, false otherwise.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.