|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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.csv.CSVDataExportDialog
public class CSVDataExportDialog
A dialog for exporting a report to CSV format.
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 | |
---|---|
static String |
CSV_OUTPUT_ENCODING_DEFAULT
A default value of the 'CSV encoding' property key. |
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 | |
---|---|
CSVDataExportDialog()
Creates a new CSV export dialog. |
|
CSVDataExportDialog(Dialog owner)
Creates a new CSV export dialog. |
|
CSVDataExportDialog(Frame owner)
Creates a new CSV export dialog. |
Method Summary | |
---|---|
void |
clear()
Clears all selections, input fields and sets the selected encryption level to none. |
String |
getEncoding()
Returns the encoding. |
String |
getFilename()
Returns the export file name. |
String |
getSeparatorString()
Returns the separator string, which is controlled by the selection of radio buttons. |
JStatusBar |
getStatusBar()
|
boolean |
isColumnNamesAsFirstRow()
|
boolean |
isEnableGroupFooter()
|
boolean |
isEnableGroupHeader()
|
boolean |
isEnableItembands()
|
boolean |
isEnableReportFooter()
|
boolean |
isEnableReportHeader()
|
boolean |
isWriteStateColumns()
|
void |
setColumnNamesAsFirstRow(boolean colsAsFirstRow)
|
void |
setEnableGroupFooter(boolean enableGroupFooter)
|
void |
setEnableGroupHeader(boolean enableGroupHeader)
|
void |
setEnableItembands(boolean enableItembands)
|
void |
setEnableReportFooter(boolean enableReportFooter)
|
void |
setEnableReportHeader(boolean enableReportHeader)
|
void |
setEncoding(String encoding)
Sets the encoding. |
void |
setFilename(String filename)
Sets the export file name. |
void |
setSeparatorString(String s)
Sets the separator string. |
void |
setWriteStateColumns(boolean writeStateColumns)
|
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 |
Field Detail |
---|
public static final String CSV_OUTPUT_ENCODING_DEFAULT
Constructor Detail |
---|
public CSVDataExportDialog(Frame owner)
owner
- the dialog owner.public CSVDataExportDialog(Dialog owner)
owner
- the dialog owner.public CSVDataExportDialog()
Method Detail |
---|
public JStatusBar getStatusBar()
getStatusBar
in class AbstractExportDialog
public String getFilename()
public void setFilename(String filename)
filename
- the file name.public void clear()
clear
in class AbstractExportDialog
public String getSeparatorString()
public void setSeparatorString(String s)
s
- the separator.public String getEncoding()
public void setEncoding(String encoding)
encoding
- the encoding.public boolean isColumnNamesAsFirstRow()
public void setColumnNamesAsFirstRow(boolean colsAsFirstRow)
public boolean isWriteStateColumns()
public void setWriteStateColumns(boolean writeStateColumns)
public boolean isEnableGroupFooter()
public void setEnableGroupFooter(boolean enableGroupFooter)
public boolean isEnableGroupHeader()
public void setEnableGroupHeader(boolean enableGroupHeader)
public boolean isEnableItembands()
public void setEnableItembands(boolean enableItembands)
public boolean isEnableReportFooter()
public void setEnableReportFooter(boolean enableReportFooter)
public boolean isEnableReportHeader()
public void setEnableReportHeader(boolean enableReportHeader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |