|
||||||||||
| 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
javax.swing.JDialog
org.pentaho.reporting.engine.classic.core.modules.gui.base.AbstractExportDialog
org.pentaho.reporting.engine.classic.core.modules.gui.xls.ExcelExportDialog
public class ExcelExportDialog
A dialog that is used to prepare the printing of a report into an Excel file.
The main method to call the dialog isAbstractExportDialog.performQueryForExport(MasterReport ,
org.pentaho.reporting.engine.classic.core.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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| 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, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ExcelExportDialog()
Creates a new Excel save dialog. |
|
ExcelExportDialog(Dialog owner)
Creates a new Excel dialog. |
|
ExcelExportDialog(Frame owner)
Creates a new Excel save dialog. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears all selections and input fields. |
String |
getFilename()
Returns the filename of the excel file. |
JStatusBar |
getStatusBar()
|
boolean |
isStrictLayout()
Returns the setting of the 'strict layout' check-box. |
boolean |
performValidate()
Validates the contents of the dialog's input fields. |
void |
setFilename(String filename)
Defines the filename of the excel file. |
void |
setStrictLayout(boolean strictLayout)
Sets the 'strict-layout' check-box. |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.base.AbstractExportDialog |
|---|
isConfirmed, performQueryForExport |
| Methods inherited from class 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 inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExcelExportDialog(Frame owner)
owner - the dialog owner.public ExcelExportDialog(Dialog owner)
owner - the dialog owner.public ExcelExportDialog()
| Method Detail |
|---|
public JStatusBar getStatusBar()
getStatusBar in class AbstractExportDialogpublic String getFilename()
public void setFilename(String filename)
filename - the filename of the excel filepublic boolean isStrictLayout()
public void setStrictLayout(boolean strictLayout)
strictLayout - the new setting.public void clear()
clear in class AbstractExportDialogpublic boolean performValidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||