Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » xls » [javadoc | source]
org.jfree.report.modules.gui.xls
public class: ExcelExportDialog [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Window
            java.awt.Dialog
               javax.swing.JDialog
                  org.jfree.report.modules.gui.commonswing.AbstractExportDialog
                     org.jfree.report.modules.gui.xls.ExcelExportDialog

All Implemented Interfaces:
    ExportDialog, Accessible, TransferHandler$HasGetTransferHandler, RootPaneContainer, WindowConstants, MenuContainer, ImageObserver, Serializable

A dialog that is used to prepare the printing of a report into an Excel file.

The main method to call the dialog is ExcelExportDialog#performQueryForExport(org.jfree.report.JFreeReport, org.jfree.report.modules.gui.commonswing.SwingGuiContext) . Given a report, the dialog is shown and if the user approved the dialog, the excel file is saved using the settings made in the dialog.

Fields inherited from java.awt.Dialog:
DEFAULT_MODALITY_TYPE
Fields inherited from java.awt.Component:
TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT
Constructor:
 public ExcelExportDialog() 
 public ExcelExportDialog(Frame owner) 
    Creates a new Excel save dialog.
    Parameters:
    owner - the dialog owner.
 public ExcelExportDialog(Dialog owner) 
    Creates a new Excel dialog.
    Parameters:
    owner - the dialog owner.
Method from org.jfree.report.modules.gui.xls.ExcelExportDialog Summary:
clear,   getConfigurationPrefix,   getConfigurationSuffix,   getFilename,   getResourceBaseName,   getStatusBar,   grabDialogContents,   isStrictLayout,   performConfirm,   performSelectFile,   performValidate,   setDialogContents,   setFilename,   setStrictLayout
Methods from org.jfree.report.modules.gui.commonswing.AbstractExportDialog:
clear,   createButtonPanel,   createContentPane,   getCancelAction,   getConfigurationPrefix,   getConfigurationSuffix,   getConfirmAction,   getFormValidator,   getGuiContext,   getReportJob,   getResourceBaseName,   getResources,   getStatusBar,   grabDialogContents,   initializeFromJob,   isConfirmed,   isFullInputStorageEnabled,   isInputStorageEnabled,   performConfirm,   performQueryForExport,   performValidate,   resolvePath,   setCancelAction,   setConfirmAction,   setConfirmed,   setDialogContents
Methods from javax.swing.JDialog:
getAccessibleContext,   getContentPane,   getDefaultCloseOperation,   getGlassPane,   getGraphics,   getJMenuBar,   getLayeredPane,   getRootPane,   getTransferHandler,   isDefaultLookAndFeelDecorated,   remove,   repaint,   setContentPane,   setDefaultCloseOperation,   setDefaultLookAndFeelDecorated,   setGlassPane,   setJMenuBar,   setLayeredPane,   setLayout,   setTransferHandler,   update
Methods from java.awt.Dialog:
addNotify,   getAccessibleContext,   getModalityType,   getTitle,   hide,   isModal,   isResizable,   isUndecorated,   setModal,   setModalityType,   setResizable,   setTitle,   setUndecorated,   setVisible,   show,   toBack
Methods from java.awt.Window:
addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   addWindowFocusListener,   addWindowListener,   addWindowStateListener,   applyResourceBundle,   applyResourceBundle,   createBufferStrategy,   createBufferStrategy,   dispose,   getAccessibleContext,   getBufferStrategy,   getFocusCycleRootAncestor,   getFocusOwner,   getFocusTraversalKeys,   getFocusableWindowState,   getGraphicsConfiguration,   getIconImages,   getInputContext,   getListeners,   getLocale,   getModalExclusionType,   getMostRecentFocusOwner,   getOwnedWindows,   getOwner,   getOwnerlessWindows,   getToolkit,   getWarningString,   getWindowFocusListeners,   getWindowListeners,   getWindowStateListeners,   getWindows,   hide,   isActive,   isAlwaysOnTop,   isAlwaysOnTopSupported,   isFocusCycleRoot,   isFocusableWindow,   isFocused,   isLocationByPlatform,   isShowing,   pack,   postEvent,   removeNotify,   removeWindowFocusListener,   removeWindowListener,   removeWindowStateListener,   reshape,   setAlwaysOnTop,   setBounds,   setBounds,   setCursor,   setFocusCycleRoot,   setFocusableWindowState,   setIconImage,   setIconImages,   setLocationByPlatform,   setLocationRelativeTo,   setMinimumSize,   setModalExclusionType,   setSize,   setSize,   setVisible,   show,   toBack,   toFront
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   countComponents,   deliverEvent,   doLayout,   findComponentAt,   findComponentAt,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getContainerListeners,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMousePosition,   getPreferredSize,   insets,   invalidate,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   layout,   list,   list,   locate,   minimumSize,   paint,   paintComponents,   preferredSize,   print,   printComponents,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusBackward,   transferFocusDownCycle,   update,   validate
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   bounds,   checkImage,   checkImage,   contains,   contains,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   dispatchEvent,   doLayout,   enable,   enable,   enableInputMethods,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getAlignmentX,   getAlignmentY,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getCursor,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFont,   getFontMetrics,   getForeground,   getGraphics,   getGraphicsConfiguration,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getParent,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSize,   getSize,   getToolkit,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   inside,   invalidate,   isBackgroundSet,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusable,   isFontSet,   isForegroundSet,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isOpaque,   isPreferredSizeSet,   isShowing,   isValid,   isVisible,   keyDown,   keyUp,   layout,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   paint,   paintAll,   postEvent,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocusInWindow,   reshape,   resize,   resize,   setBackground,   setBounds,   setBounds,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusable,   setFont,   setForeground,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setSize,   setSize,   setVisible,   show,   show,   size,   toString,   transferFocus,   transferFocusBackward,   transferFocusUpCycle,   update,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.xls.ExcelExportDialog Detail:
 public  void clear() 
    Clears all selections and input fields.
 protected String getConfigurationPrefix() 
 protected String getConfigurationSuffix() 
 public String getFilename() 
    Returns the filename of the excel file.
 protected String getResourceBaseName() 
 public JStatusBar getStatusBar() 
 protected Configuration grabDialogContents(boolean full) 
    Returns a new (and not connected to the default config from the job) configuration containing all properties from the dialog.
 public boolean isStrictLayout() 
    Returns the setting of the 'strict layout' check-box.
 protected boolean performConfirm() 
 protected  void performSelectFile() 
    Selects a file to use as target for the report processing.
 public boolean performValidate() 
    Validates the contents of the dialog's input fields. If the selected file exists, it is also checked for validity.
 protected  void setDialogContents(Configuration config) 
    Initialises the Excel export dialog from the settings in the report configuration.
 public  void setFilename(String filename) 
    Defines the filename of the excel file.
 public  void setStrictLayout(boolean strictLayout) 
    Sets the 'strict-layout' check-box.