Package com.stimulsoft.webdesigner
Class StiWebDesignerOptions.PreviewToolbarOptions
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.webdesigner.StiWebDesignerOptions.PreviewToolbarOptions
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef
- Enclosing class:
StiWebDesignerOptions
-
Field Summary
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets or sets the alignment of the preview toolbar.Gets or sets a color of the preview toolbar background.Gets or sets a color of the preview toolbar border.Gets or sets the display mode of the preview toolbar - simple or separated into upper and lower parts.Gets or sets a color of the preview toolbar texts.Gets or sets a value which indicates which font family will be used for drawing texts in the preview.Gets or sets the default mode of the report print destination.Gets or sets the mode of showing a report in the preview - Single Page, Continuous or Multiple Pages.booleanGets or sets a visibility of the Bookmarks button in the toolbar of the preview.booleanGets or sets a value which allows displaying or hiding preview toolbar buttons captions.booleanGets or sets a visibility of the current page control in the toolbar of the preview.booleanGets or sets a visibility of the Editor button in the toolbar of the preview.booleanGets or sets a visibility of the Find button in the toolbar of the preview.booleanGets or sets a visibility of the First Page button in the toolbar of the preview.booleanGets or sets a visibility of the Last Page button in the toolbar of the preview.booleanGets or sets a visibility of the Next Page button in the toolbar of the preview.booleanGets or sets a visibility of the Open button in the toolbar of the preview.booleanGets or sets a visibility of the Parameters button in the toolbar of the preview.booleanGets or sets a visibility of the Prev Page button in the toolbar of the preview.booleanGets or sets a visibility of the Print button in the toolbar of the preview.booleanGets or sets a visibility of the Save button in the toolbar of the preview.booleanGets or sets a visibility of the Send Email button in the toolbar of the preview.booleanGets or sets a visibility of the View Mode button in the toolbar of the preview.booleanGets or sets a visibility of the Zoom control in the toolbar of the preview.booleanGets or sets a value which indicates that toolbar will be shown in the preview.voidsetAlignment(StiContentAlignment alignment) Gets or sets the alignment of the preview toolbar.voidsetBackgroundColor(StiColor backgroundColor) Gets or sets a color of the preview toolbar background.voidsetBorderColor(StiColor borderColor) Gets or sets a color of the preview toolbar border.voidsetDisplayMode(StiToolbarDisplayMode displayMode) Gets or sets the display mode of the preview toolbar - simple or separated into upper and lower parts.voidsetFontColor(StiColor fontColor) Gets or sets a color of the preview toolbar texts.voidsetFontFamily(String fontFamily) Gets or sets a value which indicates which font family will be used for drawing texts in the preview.voidsetPrintDestination(StiPrintDestination printDestination) Gets or sets the default mode of the report print destination.voidsetShowBookmarksButton(boolean showBookmarksButton) Gets or sets a visibility of the Bookmarks button in the toolbar of the preview.voidsetShowButtonCaptions(boolean showButtonCaptions) Gets or sets a value which allows displaying or hiding preview toolbar buttons captions.voidsetShowCurrentPageControl(boolean showCurrentPageControl) Gets or sets a visibility of the current page control in the toolbar of the preview.voidsetShowEditorButton(boolean showEditorButton) Gets or sets a visibility of the Editor button in the toolbar of the preview.voidsetShowFindButton(boolean showFindButton) Gets or sets a visibility of the Find button in the toolbar of the preview.voidsetShowFirstPageButton(boolean showFirstPageButton) Gets or sets a visibility of the First Page button in the toolbar of the preview.voidsetShowLastPageButton(boolean showLastPageButton) Gets or sets a visibility of the Last Page button in the toolbar of the preview.voidsetShowNextPageButton(boolean showNextPageButton) Gets or sets a visibility of the Next Page button in the toolbar of the preview.voidsetShowOpenButton(boolean showOpenButton) Gets or sets a visibility of the Open button in the toolbar of the preview.voidsetShowParametersButton(boolean showParametersButton) Gets or sets a visibility of the Parameters button in the toolbar of the preview.voidsetShowPreviousPageButton(boolean showPreviousPageButton) Gets or sets a visibility of the Prev Page button in the toolbar of the preview.voidsetShowPrintButton(boolean showPrintButton) Gets or sets a visibility of the Print button in the toolbar of the preview.voidsetShowSaveButton(boolean showSaveButton) Gets or sets a visibility of the Save button in the toolbar of the preview.voidsetShowSendEmailButton(boolean showSendEmailButton) Gets or sets a visibility of the Send Email button in the toolbar of the preview.voidsetShowViewModeButton(boolean showViewModeButton) Gets or sets a visibility of the View Mode button in the toolbar of the preview.voidsetShowZoomButton(boolean showZoomButton) Gets or sets a visibility of the Zoom control in the toolbar of the preview.voidsetViewMode(StiWebViewMode viewMode) Gets or sets the mode of showing a report in the preview - Single Page, Continuous or Multiple Pages.voidsetVisible(boolean visible) Gets or sets a value which indicates that toolbar will be shown in the preview.Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
PreviewToolbarOptions
public PreviewToolbarOptions()
-
-
Method Details
-
isVisible
public boolean isVisible()Gets or sets a value which indicates that toolbar will be shown in the preview.- Returns:
- the visible
-
setVisible
public void setVisible(boolean visible) Gets or sets a value which indicates that toolbar will be shown in the preview.- Parameters:
visible- the visible to set
-
getDisplayMode
Gets or sets the display mode of the preview toolbar - simple or separated into upper and lower parts.- Returns:
- the displayMode
-
setDisplayMode
Gets or sets the display mode of the preview toolbar - simple or separated into upper and lower parts.- Parameters:
displayMode- the displayMode to set
-
getBackgroundColor
Gets or sets a color of the preview toolbar background. The default value is the theme color.- Returns:
- the backgroundColor
-
setBackgroundColor
Gets or sets a color of the preview toolbar background. The default value is the theme color.- Parameters:
backgroundColor- the backgroundColor to set
-
getBorderColor
Gets or sets a color of the preview toolbar border. The default value is the theme color.- Returns:
- the borderColor
-
setBorderColor
Gets or sets a color of the preview toolbar border. The default value is the theme color.- Parameters:
borderColor- the borderColor to set
-
getFontColor
Gets or sets a color of the preview toolbar texts.- Returns:
- the fontColor
-
setFontColor
Gets or sets a color of the preview toolbar texts.- Parameters:
fontColor- the fontColor to set
-
getFontFamily
Gets or sets a value which indicates which font family will be used for drawing texts in the preview.- Returns:
- the fontFamily
-
setFontFamily
Gets or sets a value which indicates which font family will be used for drawing texts in the preview.- Parameters:
fontFamily- the fontFamily to set
-
getAlignment
Gets or sets the alignment of the preview toolbar.- Returns:
- the alignment
-
setAlignment
Gets or sets the alignment of the preview toolbar.- Parameters:
alignment- the alignment to set
-
isShowButtonCaptions
public boolean isShowButtonCaptions()Gets or sets a value which allows displaying or hiding preview toolbar buttons captions.- Returns:
- the showButtonCaptions
-
setShowButtonCaptions
public void setShowButtonCaptions(boolean showButtonCaptions) Gets or sets a value which allows displaying or hiding preview toolbar buttons captions.- Parameters:
showButtonCaptions- the showButtonCaptions to set
-
isShowPrintButton
public boolean isShowPrintButton()Gets or sets a visibility of the Print button in the toolbar of the preview.- Returns:
- the showPrintButton
-
setShowPrintButton
public void setShowPrintButton(boolean showPrintButton) Gets or sets a visibility of the Print button in the toolbar of the preview.- Parameters:
showPrintButton- the showPrintButton to set
-
isShowOpenButton
public boolean isShowOpenButton()Gets or sets a visibility of the Open button in the toolbar of the preview.- Returns:
- the showOpenButton
-
setShowOpenButton
public void setShowOpenButton(boolean showOpenButton) Gets or sets a visibility of the Open button in the toolbar of the preview.- Parameters:
showOpenButton- the showOpenButton to set
-
isShowSaveButton
public boolean isShowSaveButton()Gets or sets a visibility of the Save button in the toolbar of the preview.- Returns:
- the showSaveButton
-
setShowSaveButton
public void setShowSaveButton(boolean showSaveButton) Gets or sets a visibility of the Save button in the toolbar of the preview.- Parameters:
showSaveButton- the showSaveButton to set
-
isShowSendEmailButton
public boolean isShowSendEmailButton()Gets or sets a visibility of the Send Email button in the toolbar of the preview.- Returns:
- the showSendEmailButton
-
setShowSendEmailButton
public void setShowSendEmailButton(boolean showSendEmailButton) Gets or sets a visibility of the Send Email button in the toolbar of the preview.- Parameters:
showSendEmailButton- the showSendEmailButton to set
-
isShowFindButton
public boolean isShowFindButton()Gets or sets a visibility of the Find button in the toolbar of the preview.- Returns:
- the showFindButton
-
setShowFindButton
public void setShowFindButton(boolean showFindButton) Gets or sets a visibility of the Find button in the toolbar of the preview.- Parameters:
showFindButton- the showFindButton to set
-
isShowBookmarksButton
public boolean isShowBookmarksButton()Gets or sets a visibility of the Bookmarks button in the toolbar of the preview.- Returns:
- the showBookmarksButton
-
setShowBookmarksButton
public void setShowBookmarksButton(boolean showBookmarksButton) Gets or sets a visibility of the Bookmarks button in the toolbar of the preview.- Parameters:
showBookmarksButton- the showBookmarksButton to set
-
isShowParametersButton
public boolean isShowParametersButton()Gets or sets a visibility of the Parameters button in the toolbar of the preview.- Returns:
- the showParametersButton
-
setShowParametersButton
public void setShowParametersButton(boolean showParametersButton) Gets or sets a visibility of the Parameters button in the toolbar of the preview.- Parameters:
showParametersButton- the showParametersButton to set
-
isShowEditorButton
public boolean isShowEditorButton()Gets or sets a visibility of the Editor button in the toolbar of the preview.- Returns:
- the showEditorButton
-
setShowEditorButton
public void setShowEditorButton(boolean showEditorButton) Gets or sets a visibility of the Editor button in the toolbar of the preview.- Parameters:
showEditorButton- the showEditorButton to set
-
isShowFirstPageButton
public boolean isShowFirstPageButton()Gets or sets a visibility of the First Page button in the toolbar of the preview.- Returns:
- the showFirstPageButton
-
setShowFirstPageButton
public void setShowFirstPageButton(boolean showFirstPageButton) Gets or sets a visibility of the First Page button in the toolbar of the preview.- Parameters:
showFirstPageButton- the showFirstPageButton to set
-
isShowPreviousPageButton
public boolean isShowPreviousPageButton()Gets or sets a visibility of the Prev Page button in the toolbar of the preview.- Returns:
- the showPreviousPageButton
-
setShowPreviousPageButton
public void setShowPreviousPageButton(boolean showPreviousPageButton) Gets or sets a visibility of the Prev Page button in the toolbar of the preview.- Parameters:
showPreviousPageButton- the showPreviousPageButton to set
-
isShowCurrentPageControl
public boolean isShowCurrentPageControl()Gets or sets a visibility of the current page control in the toolbar of the preview.- Returns:
- the showCurrentPageControl
-
setShowCurrentPageControl
public void setShowCurrentPageControl(boolean showCurrentPageControl) Gets or sets a visibility of the current page control in the toolbar of the preview.- Parameters:
showCurrentPageControl- the showCurrentPageControl to set
-
isShowNextPageButton
public boolean isShowNextPageButton()Gets or sets a visibility of the Next Page button in the toolbar of the preview.- Returns:
- the showNextPageButton
-
setShowNextPageButton
public void setShowNextPageButton(boolean showNextPageButton) Gets or sets a visibility of the Next Page button in the toolbar of the preview.- Parameters:
showNextPageButton- the showNextPageButton to set
-
isShowLastPageButton
public boolean isShowLastPageButton()Gets or sets a visibility of the Last Page button in the toolbar of the preview.- Returns:
- the showLastPageButton
-
setShowLastPageButton
public void setShowLastPageButton(boolean showLastPageButton) Gets or sets a visibility of the Last Page button in the toolbar of the preview.- Parameters:
showLastPageButton- the showLastPageButton to set
-
isShowZoomButton
public boolean isShowZoomButton()Gets or sets a visibility of the Zoom control in the toolbar of the preview.- Returns:
- the showZoomButton
-
setShowZoomButton
public void setShowZoomButton(boolean showZoomButton) Gets or sets a visibility of the Zoom control in the toolbar of the preview.- Parameters:
showZoomButton- the showZoomButton to set
-
isShowViewModeButton
public boolean isShowViewModeButton()Gets or sets a visibility of the View Mode button in the toolbar of the preview.- Returns:
- the showViewModeButton
-
setShowViewModeButton
public void setShowViewModeButton(boolean showViewModeButton) Gets or sets a visibility of the View Mode button in the toolbar of the preview.- Parameters:
showViewModeButton- the showViewModeButton to set
-
getPrintDestination
Gets or sets the default mode of the report print destination.- Returns:
- the printDestination
-
setPrintDestination
Gets or sets the default mode of the report print destination.- Parameters:
printDestination- the printDestination to set
-
getViewMode
Gets or sets the mode of showing a report in the preview - Single Page, Continuous or Multiple Pages.- Returns:
- the viewMode
-
setViewMode
Gets or sets the mode of showing a report in the preview - Single Page, Continuous or Multiple Pages.- Parameters:
viewMode- the viewMode to set
-