com.stimulsoft.webviewer
Class StiWebViewerOptions.ToolbarOptions

java.lang.Object
  extended by com.stimulsoft.webviewer.StiWebViewerOptions.ToolbarOptions
Enclosing class:
StiWebViewerOptions

public class StiWebViewerOptions.ToolbarOptions
extends java.lang.Object


Constructor Summary
StiWebViewerOptions.ToolbarOptions()
           
 
Method Summary
 StiContentAlignment getAlignment()
          The alignment of the viewer toolbar.
 StiColor getBackgroundColor()
          A color of the toolbar background.
 StiColor getBorderColor()
          A color of the toolbar border.
 StiToolbarDisplayMode getDisplayMode()
          the display mode of the toolbar - simple or separated into upper and lower parts.
 StiColor getFontColor()
          A color of the toolbar texts.
 java.lang.String getFontFamily()
          A value which indicates which font family will be used for drawing texts in the viewer.
 StiPrintDestination getPrintDestination()
          The default mode of the report print destination.
 StiShowMenuMode getShowMenuMode()
          The mode that shows menu of the viewer.
 StiColor getToolbarBackgroundColor()
          a color of the toolbar background.
 StiColor getToolbarBorderColor()
          a color of the toolbar border.
 StiWebViewMode getViewMode()
          The mode of showing a report in the viewer - one page or the whole report.
 int getZoom()
          The report showing zoom.
 boolean isAutoHide()
          a value which allows automatically hide the viewer toolbar in mobile mode.
 boolean isMenuAnimation()
          A value which indicates that menu animation is enabled.
 boolean isShowAboutButton()
          A visibility of the About button in the toolbar of the viewer.
 boolean isShowBookmarksButton()
          A visibility of the Bookmarks button in the toolbar of the viewer.
 boolean isShowButtonCaptions()
          A value which allows displaying or hiding toolbar buttons captions.
 boolean isShowCurrentPageControl()
          A visibility of the current page control in the toolbar of the viewer.
 boolean isShowDesignButton()
          A visibility of the Design button in the toolbar of the viewer.
 boolean isShowEditorButton()
          A visibility of the Editor button in the toolbar of the viewer.
 boolean isShowFindButton()
          a visibility of the Find button in the toolbar of the viewer.
 boolean isShowFirstPageButton()
          A visibility of the First Page button in the toolbar of the viewer.
 boolean isShowFullScreenButton()
          A visibility of the Full Screen button in the toolbar of the viewer.
 boolean isShowLastPageButton()
          A visibility of the Last Page button in the toolbar of the viewer.
 boolean isShowNextPageButton()
          A visibility of the Next Page button in the toolbar of the viewer.
 boolean isShowOpenButton()
          a visibility of the Open button in the toolbar of the viewer.
 boolean isShowParametersButton()
          A visibility of the Parameters button in the toolbar of the viewer.
 boolean isShowPinToolbarButton()
          a visibility of the Pin button in the toolbar of the viewer in mobile mode.
 boolean isShowPreviousPageButton()
          A visibility of the Prev Page button in the toolbar of the viewer.
 boolean isShowPrintButton()
          A visibility of the Print button in the toolbar of the viewer.
 boolean isShowResourcesButton()
          a visibility of the Resources button in the toolbar of the viewer.
 boolean isShowSaveButton()
          A visibility of the Save button in the toolbar of the viewer.
 boolean isShowSendEmailButton()
          A visibility of the Send Email button in the toolbar of the viewer.
 boolean isShowToolbar()
          a value which indicates that toolbar will be shown in the viewer.
 boolean isShowViewModeButton()
          A visibility of the View Mode button in the toolbar of the viewer.
 boolean isShowZoomButton()
          A visibility of the Zoom control in the toolbar of the viewer.
 boolean isVisible()
          A value which indicates that toolbar will be shown in the viewer.
 void setAlignment(StiContentAlignment alignment)
          The alignment of the viewer toolbar.
 void setAutoHide(boolean autoHide)
          a value which allows automatically hide the viewer toolbar in mobile mode.
 void setBackgroundColor(StiColor backgroundColor)
          A color of the toolbar background.
 void setBorderColor(StiColor borderColor)
          A color of the toolbar border.
 void setDisplayMode(StiToolbarDisplayMode displayMode)
          the display mode of the toolbar - simple or separated into upper and lower parts.
 void setFontColor(StiColor fontColor)
          A color of the toolbar texts.
 void setFontFamily(java.lang.String fontFamily)
          A value which indicates which font family will be used for drawing texts in the viewer.
 void setMenuAnimation(boolean menuAnimation)
          A value which indicates that menu animation is enabled.
 void setPrintDestination(StiPrintDestination printDestination)
          The default mode of the report print destination.
 void setShowAboutButton(boolean showAboutButton)
          A visibility of the About button in the toolbar of the viewer.
 void setShowBookmarksButton(boolean showBookmarksButton)
          A visibility of the Bookmarks button in the toolbar of the viewer.
 void setShowButtonCaptions(boolean showButtonCaptions)
          A value which allows displaying or hiding toolbar buttons captions.
 void setShowCurrentPageControl(boolean showCurrentPageControl)
          A visibility of the current page control in the toolbar of the viewer.
 void setShowDesignButton(boolean showDesignButton)
          A visibility of the Design button in the toolbar of the viewer.
 void setShowEditorButton(boolean showEditorButton)
          A visibility of the Editor button in the toolbar of the viewer.
 void setShowFindButton(boolean showFindButton)
          a visibility of the Find button in the toolbar of the viewer.
 void setShowFirstPageButton(boolean showFirstPageButton)
          A visibility of the First Page button in the toolbar of the viewer.
 void setShowFullScreenButton(boolean showFullScreenButton)
          A visibility of the Full Screen button in the toolbar of the viewer.
 void setShowLastPageButton(boolean showLastPageButton)
          A visibility of the Last Page button in the toolbar of the viewer.
 void setShowMenuMode(StiShowMenuMode showMenuMode)
          The mode that shows menu of the viewer.
 void setShowNextPageButton(boolean showNextPageButton)
          A visibility of the Next Page button in the toolbar of the viewer.
 void setShowOpenButton(boolean showOpenButton)
          a visibility of the Open button in the toolbar of the viewer.
 void setShowParametersButton(boolean showParametersButton)
          A visibility of the Parameters button in the toolbar of the viewer.
 void setShowPinToolbarButton(boolean showPinToolbarButton)
          a visibility of the Pin button in the toolbar of the viewer in mobile mode.
 void setShowPreviousPageButton(boolean showPreviousPageButton)
          A visibility of the Prev Page button in the toolbar of the viewer.
 void setShowPrintButton(boolean showPrintButton)
          A visibility of the Print button in the toolbar of the viewer.
 void setShowResourcesButton(boolean showResourcesButton)
          a visibility of the Resources button in the toolbar of the viewer.
 void setShowSaveButton(boolean showSaveButton)
          A visibility of the Save button in the toolbar of the viewer.
 void setShowSendEmailButton(boolean showSendEmailButton)
          A visibility of the Send Email button in the toolbar of the viewer.
 void setShowToolbar(boolean showToolbar)
          a value which indicates that toolbar will be shown in the viewer.
 void setShowViewModeButton(boolean showViewModeButton)
          A visibility of the View Mode button in the toolbar of the viewer.
 void setShowZoomButton(boolean showZoomButton)
          A visibility of the Zoom control in the toolbar of the viewer.
 void setToolbarBackgroundColor(StiColor toolbarBackgroundColor)
          a color of the toolbar background.
 void setToolbarBorderColor(StiColor toolbarBorderColor)
          a color of the toolbar border.
 void setViewMode(StiWebViewMode viewMode)
          The mode of showing a report in the viewer - one page or the whole report.
 void setVisible(boolean visible)
          A value which indicates that toolbar will be shown in the viewer.
 void setZoom(int zoom)
          The report showing zoom.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiWebViewerOptions.ToolbarOptions

public StiWebViewerOptions.ToolbarOptions()
Method Detail

isShowResourcesButton

public boolean isShowResourcesButton()
a visibility of the Resources button in the toolbar of the viewer.

Returns:
the showResourcesButton

setShowResourcesButton

public void setShowResourcesButton(boolean showResourcesButton)
a visibility of the Resources button in the toolbar of the viewer.

Parameters:
showResourcesButton - the showResourcesButton to set

isAutoHide

public boolean isAutoHide()
a value which allows automatically hide the viewer toolbar in mobile mode.

Returns:
the autoHide

setAutoHide

public void setAutoHide(boolean autoHide)
a value which allows automatically hide the viewer toolbar in mobile mode.

Parameters:
autoHide - the autoHide to set

isShowPinToolbarButton

public boolean isShowPinToolbarButton()
a visibility of the Pin button in the toolbar of the viewer in mobile mode.

Returns:
the showPinToolbarButton

setShowPinToolbarButton

public void setShowPinToolbarButton(boolean showPinToolbarButton)
a visibility of the Pin button in the toolbar of the viewer in mobile mode.

Parameters:
showPinToolbarButton - the showPinToolbarButton to set

getDisplayMode

public StiToolbarDisplayMode getDisplayMode()
the display mode of the toolbar - simple or separated into upper and lower parts.

Returns:
the displayMode

setDisplayMode

public void setDisplayMode(StiToolbarDisplayMode displayMode)
the display mode of the toolbar - simple or separated into upper and lower parts.

Parameters:
displayMode - the displayMode to set

isShowOpenButton

public boolean isShowOpenButton()
a visibility of the Open button in the toolbar of the viewer.

Returns:
the showOpenButton

setShowOpenButton

public void setShowOpenButton(boolean showOpenButton)
a visibility of the Open button in the toolbar of the viewer.

Parameters:
showOpenButton - the showOpenButton to set

isShowFindButton

public boolean isShowFindButton()
a visibility of the Find button in the toolbar of the viewer.

Returns:
the showFindButton

setShowFindButton

public void setShowFindButton(boolean showFindButton)
a visibility of the Find button in the toolbar of the viewer.

Parameters:
showFindButton - the showFindButton to set

getToolbarBorderColor

public StiColor getToolbarBorderColor()
a color of the toolbar border. The default value is the theme color.

Returns:
the toolbarBorderColor

setToolbarBorderColor

public void setToolbarBorderColor(StiColor toolbarBorderColor)
a color of the toolbar border. The default value is the theme color.

Parameters:
toolbarBorderColor - the toolbarBorderColor to set

getToolbarBackgroundColor

public StiColor getToolbarBackgroundColor()
a color of the toolbar background. The default value is the theme color.

Returns:
the toolbarBackgroundColor

setToolbarBackgroundColor

public void setToolbarBackgroundColor(StiColor toolbarBackgroundColor)
a color of the toolbar background. The default value is the theme color.

Parameters:
toolbarBackgroundColor - the toolbarBackgroundColor to set

isShowToolbar

public boolean isShowToolbar()
a value which indicates that toolbar will be shown in the viewer.

Returns:
the showToolbar

setShowToolbar

public void setShowToolbar(boolean showToolbar)
a value which indicates that toolbar will be shown in the viewer.

Parameters:
showToolbar - the showToolbar to set

isVisible

public boolean isVisible()
A value which indicates that toolbar will be shown in the viewer.

Returns:
the visible

setVisible

public void setVisible(boolean visible)
A value which indicates that toolbar will be shown in the viewer.

Parameters:
visible - the visible to set

getBackgroundColor

public StiColor getBackgroundColor()
A color of the toolbar background. The default value is the theme color.

Returns:
the backgroundColor

setBackgroundColor

public void setBackgroundColor(StiColor backgroundColor)
A color of the toolbar background. The default value is the theme color.

Parameters:
backgroundColor - the backgroundColor to set

getBorderColor

public StiColor getBorderColor()
A color of the toolbar border. The default value is the theme color.

Returns:
the borderColor

setBorderColor

public void setBorderColor(StiColor borderColor)
A color of the toolbar border. The default value is the theme color.

Parameters:
borderColor - the borderColor to set

getFontColor

public StiColor getFontColor()
A color of the toolbar texts.

Returns:
the fontColor

setFontColor

public void setFontColor(StiColor fontColor)
A color of the toolbar texts.

Parameters:
fontColor - the fontColor to set

getFontFamily

public java.lang.String getFontFamily()
A value which indicates which font family will be used for drawing texts in the viewer.

Returns:
the fontFamily

setFontFamily

public void setFontFamily(java.lang.String fontFamily)
A value which indicates which font family will be used for drawing texts in the viewer.

Parameters:
fontFamily - the fontFamily to set

getAlignment

public StiContentAlignment getAlignment()
The alignment of the viewer toolbar.

Returns:
the alignment

setAlignment

public void setAlignment(StiContentAlignment alignment)
The alignment of the viewer toolbar.

Parameters:
alignment - the alignment to set

isShowButtonCaptions

public boolean isShowButtonCaptions()
A value which allows displaying or hiding toolbar buttons captions.

Returns:
the showButtonCaptions

setShowButtonCaptions

public void setShowButtonCaptions(boolean showButtonCaptions)
A value which allows displaying or hiding toolbar buttons captions.

Parameters:
showButtonCaptions - the showButtonCaptions to set

isShowPrintButton

public boolean isShowPrintButton()
A visibility of the Print button in the toolbar of the viewer.

Returns:
the showPrintButton

setShowPrintButton

public void setShowPrintButton(boolean showPrintButton)
A visibility of the Print button in the toolbar of the viewer.

Parameters:
showPrintButton - the showPrintButton to set

isShowSaveButton

public boolean isShowSaveButton()
A visibility of the Save button in the toolbar of the viewer.

Returns:
the showSaveButton

setShowSaveButton

public void setShowSaveButton(boolean showSaveButton)
A visibility of the Save button in the toolbar of the viewer.

Parameters:
showSaveButton - the showSaveButton to set

isShowSendEmailButton

public boolean isShowSendEmailButton()
A visibility of the Send Email button in the toolbar of the viewer.

Returns:
the showSendEmailButton

setShowSendEmailButton

public void setShowSendEmailButton(boolean showSendEmailButton)
A visibility of the Send Email button in the toolbar of the viewer.

Parameters:
showSendEmailButton - the showSendEmailButton to set

isShowBookmarksButton

public boolean isShowBookmarksButton()
A visibility of the Bookmarks button in the toolbar of the viewer.

Returns:
the showBookmarksButton

setShowBookmarksButton

public void setShowBookmarksButton(boolean showBookmarksButton)
A visibility of the Bookmarks button in the toolbar of the viewer.

Parameters:
showBookmarksButton - the showBookmarksButton to set

isShowParametersButton

public boolean isShowParametersButton()
A visibility of the Parameters button in the toolbar of the viewer.

Returns:
the showParametersButton

setShowParametersButton

public void setShowParametersButton(boolean showParametersButton)
A visibility of the Parameters button in the toolbar of the viewer.

Parameters:
showParametersButton - the showParametersButton to set

isShowEditorButton

public boolean isShowEditorButton()
A visibility of the Editor button in the toolbar of the viewer.

Returns:
the showEditorButton

setShowEditorButton

public void setShowEditorButton(boolean showEditorButton)
A visibility of the Editor button in the toolbar of the viewer.

Parameters:
showEditorButton - the showEditorButton to set

isShowFullScreenButton

public boolean isShowFullScreenButton()
A visibility of the Full Screen button in the toolbar of the viewer.

Returns:
the showFullScreenButton

setShowFullScreenButton

public void setShowFullScreenButton(boolean showFullScreenButton)
A visibility of the Full Screen button in the toolbar of the viewer.

Parameters:
showFullScreenButton - the showFullScreenButton to set

isShowFirstPageButton

public boolean isShowFirstPageButton()
A visibility of the First Page button in the toolbar of the viewer.

Returns:
the showFirstPageButton

setShowFirstPageButton

public void setShowFirstPageButton(boolean showFirstPageButton)
A visibility of the First Page button in the toolbar of the viewer.

Parameters:
showFirstPageButton - the showFirstPageButton to set

isShowPreviousPageButton

public boolean isShowPreviousPageButton()
A visibility of the Prev Page button in the toolbar of the viewer.

Returns:
the showPreviousPageButton

setShowPreviousPageButton

public void setShowPreviousPageButton(boolean showPreviousPageButton)
A visibility of the Prev Page button in the toolbar of the viewer.

Parameters:
showPreviousPageButton - the showPreviousPageButton to set

isShowCurrentPageControl

public boolean isShowCurrentPageControl()
A visibility of the current page control in the toolbar of the viewer.

Returns:
the showCurrentPageControl

setShowCurrentPageControl

public void setShowCurrentPageControl(boolean showCurrentPageControl)
A visibility of the current page control in the toolbar of the viewer.

Parameters:
showCurrentPageControl - the showCurrentPageControl to set

isShowNextPageButton

public boolean isShowNextPageButton()
A visibility of the Next Page button in the toolbar of the viewer.

Returns:
the showNextPageButton

setShowNextPageButton

public void setShowNextPageButton(boolean showNextPageButton)
A visibility of the Next Page button in the toolbar of the viewer.

Parameters:
showNextPageButton - the showNextPageButton to set

isShowLastPageButton

public boolean isShowLastPageButton()
A visibility of the Last Page button in the toolbar of the viewer.

Returns:
the showLastPageButton

setShowLastPageButton

public void setShowLastPageButton(boolean showLastPageButton)
A visibility of the Last Page button in the toolbar of the viewer.

Parameters:
showLastPageButton - the showLastPageButton to set

isShowZoomButton

public boolean isShowZoomButton()
A visibility of the Zoom control in the toolbar of the viewer.

Returns:
the showZoomButton

setShowZoomButton

public void setShowZoomButton(boolean showZoomButton)
A visibility of the Zoom control in the toolbar of the viewer.

Parameters:
showZoomButton - the showZoomButton to set

isShowViewModeButton

public boolean isShowViewModeButton()
A visibility of the View Mode button in the toolbar of the viewer.

Returns:
the showViewModeButton

setShowViewModeButton

public void setShowViewModeButton(boolean showViewModeButton)
A visibility of the View Mode button in the toolbar of the viewer.

Parameters:
showViewModeButton - the showViewModeButton to set

isShowDesignButton

public boolean isShowDesignButton()
A visibility of the Design button in the toolbar of the viewer.

Returns:
the showDesignButton

setShowDesignButton

public void setShowDesignButton(boolean showDesignButton)
A visibility of the Design button in the toolbar of the viewer.

Parameters:
showDesignButton - the showDesignButton to set

isShowAboutButton

public boolean isShowAboutButton()
A visibility of the About button in the toolbar of the viewer.

Returns:
the showAboutButton

setShowAboutButton

public void setShowAboutButton(boolean showAboutButton)
A visibility of the About button in the toolbar of the viewer.

Parameters:
showAboutButton - the showAboutButton to set

getPrintDestination

public StiPrintDestination getPrintDestination()
The default mode of the report print destination.

Returns:
the printDestination

setPrintDestination

public void setPrintDestination(StiPrintDestination printDestination)
The default mode of the report print destination.

Parameters:
printDestination - the printDestination to set

getViewMode

public StiWebViewMode getViewMode()
The mode of showing a report in the viewer - one page or the whole report.

Returns:
the viewMode

setViewMode

public void setViewMode(StiWebViewMode viewMode)
The mode of showing a report in the viewer - one page or the whole report.

Parameters:
viewMode - the viewMode to set

getZoom

public int getZoom()
The report showing zoom. The default value is 100. PageWidth = -1;PageHeight = -2;

Returns:
the zoom

setZoom

public void setZoom(int zoom)
The report showing zoom. The default value is 100. PageWidth = -1; PageHeight = -2;

Parameters:
zoom - the zoom to set

isMenuAnimation

public boolean isMenuAnimation()
A value which indicates that menu animation is enabled.

Returns:
the menuAnimation

setMenuAnimation

public void setMenuAnimation(boolean menuAnimation)
A value which indicates that menu animation is enabled.

Parameters:
menuAnimation - the menuAnimation to set

getShowMenuMode

public StiShowMenuMode getShowMenuMode()
The mode that shows menu of the viewer.

Returns:
the showMenuMode

setShowMenuMode

public void setShowMenuMode(StiShowMenuMode showMenuMode)
The mode that shows menu of the viewer.

Parameters:
showMenuMode - the showMenuMode to set