org.jfree.report.modules.gui.swing.pdf
public class PdfExportDialog extends AbstractExportDialog
javax.swing.JDialog.AccessibleJDialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
PdfExportDialog()
Creates a non-modal dialog without a title and without a specified
Frame owner. |
PdfExportDialog(java.awt.Dialog owner)
Creates a non-modal dialog without a title with the specified
Dialog as its owner. |
PdfExportDialog(java.awt.Frame owner)
Creates a non-modal dialog without a title with the specified
Frame as its owner. |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected java.lang.String |
getConfigurationPrefix() |
protected java.lang.String |
getConfigurationSuffix() |
java.lang.String |
getEncryptionValue()
Queries the currently selected encryption.
|
java.lang.String |
getPrintLevel() |
protected java.lang.String |
getResourceBaseName() |
JStatusBar |
getStatusBar() |
protected org.pentaho.reporting.libraries.base.config.Configuration |
grabDialogContents(boolean full)
Returns a new (and not connected to the default config from the job)
configuration containing all properties from the dialog.
|
protected void |
initializeFromJob(ReportJob job,
GuiContext guiContext) |
protected boolean |
performConfirm() |
protected void |
performSelectFile()
selects a file to use as target for the report processing.
|
protected boolean |
performValidate() |
protected void |
setDialogContents(org.pentaho.reporting.libraries.base.config.Configuration config) |
void |
setEncryptionValue(java.lang.String b)
Defines the currently selected encryption.
|
void |
setPrintLevel(java.lang.String printLevel)
Defines whether the user is allowed to print the file.
|
protected void |
updateSecurityPanelEnabled()
Updates the security panel state.
|
getCancelAction, getConfirmAction, getFormValidator, getGuiContext, getReportJob, getResources, isConfirmed, isFullInputStorageEnabled, isInputStorageEnabled, performQueryForExport, resolvePath, setCancelAction, setConfirmAction, setConfirmed
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public PdfExportDialog()
Frame
owner. A shared, hidden frame will be set as the owner
of the dialog.public PdfExportDialog(java.awt.Frame owner)
Frame
as its owner. If owner
is
null
, a shared, hidden frame will be set as the owner of the
dialog.owner
- the Frame
from which the dialog is displayedpublic PdfExportDialog(java.awt.Dialog owner)
Dialog
as its owner.owner
- the non-null Dialog
from which the dialog is
displayedpublic JStatusBar getStatusBar()
getStatusBar
in class AbstractExportDialog
protected boolean performConfirm()
performConfirm
in class AbstractExportDialog
protected boolean performValidate()
performValidate
in class AbstractExportDialog
protected void initializeFromJob(ReportJob job, GuiContext guiContext)
initializeFromJob
in class AbstractExportDialog
protected java.lang.String getConfigurationPrefix()
getConfigurationPrefix
in class AbstractExportDialog
protected org.pentaho.reporting.libraries.base.config.Configuration grabDialogContents(boolean full)
grabDialogContents
in class AbstractExportDialog
full
- protected void setDialogContents(org.pentaho.reporting.libraries.base.config.Configuration config)
setDialogContents
in class AbstractExportDialog
protected java.lang.String getConfigurationSuffix()
getConfigurationSuffix
in class AbstractExportDialog
public void clear()
clear
in class AbstractExportDialog
protected java.lang.String getResourceBaseName()
getResourceBaseName
in class AbstractExportDialog
protected void updateSecurityPanelEnabled()
protected void performSelectFile()
public void setPrintLevel(java.lang.String printLevel)
allowDegradedPrinting
public java.lang.String getPrintLevel()
public java.lang.String getEncryptionValue()
null
is returned. If no encryption is set,
the security properties have no defined state.public void setEncryptionValue(java.lang.String b)
b
- the new encryption state, one of null, Boolean.TRUE or
Boolean.FALSE