|
||||||||||
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.XSSFExcelExportDialog
public class XSSFExcelExportDialog
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(org.pentaho.reporting.engine.classic.core.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 | |
---|---|
XSSFExcelExportDialog()
Creates a new Excel save dialog. |
|
XSSFExcelExportDialog(Dialog owner)
Creates a new Excel dialog. |
|
XSSFExcelExportDialog(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 XSSFExcelExportDialog(Frame owner)
owner
- the dialog owner.public XSSFExcelExportDialog(Dialog owner)
owner
- the dialog owner.public XSSFExcelExportDialog()
Method Detail |
---|
public JStatusBar getStatusBar()
getStatusBar
in class AbstractExportDialog
public 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 AbstractExportDialog
public boolean performValidate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |