Class OptionsParamView

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class OptionsParamView
    extends AbstractParam
    • Field Detail

      • BRK_PANEL_VIEW_OPTION

        public static final java.lang.String BRK_PANEL_VIEW_OPTION
        See Also:
        Constant Field Values
      • SHOW_MAIN_TOOLBAR_OPTION

        public static final java.lang.String SHOW_MAIN_TOOLBAR_OPTION
        See Also:
        Constant Field Values
      • ADVANCEDUI_OPTION

        public static final java.lang.String ADVANCEDUI_OPTION
        See Also:
        Constant Field Values
      • WMUIHANDLING_OPTION

        public static final java.lang.String WMUIHANDLING_OPTION
        See Also:
        Constant Field Values
      • ASKONEXIT_OPTION

        public static final java.lang.String ASKONEXIT_OPTION
        See Also:
        Constant Field Values
      • WARN_ON_TAB_DOUBLE_CLICK_OPTION

        public static final java.lang.String WARN_ON_TAB_DOUBLE_CLICK_OPTION
        See Also:
        Constant Field Values
      • OUTPUT_TAB_TIMESTAMPING_OPTION

        public static final java.lang.String OUTPUT_TAB_TIMESTAMPING_OPTION
        See Also:
        Constant Field Values
      • OUTPUT_TAB_TIMESTAMP_FORMAT

        public static final java.lang.String OUTPUT_TAB_TIMESTAMP_FORMAT
        See Also:
        Constant Field Values
      • SPLASHSCREEN_OPTION

        public static final java.lang.String SPLASHSCREEN_OPTION
        See Also:
        Constant Field Values
      • LARGE_REQUEST_SIZE

        @Deprecated
        public static final java.lang.String LARGE_REQUEST_SIZE
        Deprecated.
        (2.12.0) No longer in use.
        See Also:
        Constant Field Values
      • LARGE_RESPONSE_SIZE

        @Deprecated
        public static final java.lang.String LARGE_RESPONSE_SIZE
        Deprecated.
        (2.12.0) No longer in use.
        See Also:
        Constant Field Values
      • SHOW_DEV_WARNING

        public static final java.lang.String SHOW_DEV_WARNING
        See Also:
        Constant Field Values
      • LOOK_AND_FEEL_CLASS

        public static final java.lang.String LOOK_AND_FEEL_CLASS
        See Also:
        Constant Field Values
      • ALLOW_APP_INTEGRATION_IN_CONTAINERS

        public static final java.lang.String ALLOW_APP_INTEGRATION_IN_CONTAINERS
        See Also:
        Constant Field Values
      • DEFAULT_LOOK_AND_FEEL_NAME

        public static final java.lang.String DEFAULT_LOOK_AND_FEEL_NAME
        The default look and feel: Flat Light.
        Since:
        2.10.0
        See Also:
        Constant Field Values
      • DEFAULT_LOOK_AND_FEEL_CLASS

        public static final java.lang.String DEFAULT_LOOK_AND_FEEL_CLASS
        See Also:
        Constant Field Values
      • DEFAULT_LOOK_AND_FEEL

        public static final javax.swing.UIManager.LookAndFeelInfo DEFAULT_LOOK_AND_FEEL
    • Constructor Detail

      • OptionsParamView

        public OptionsParamView()
    • Method Detail

      • getProcessImages

        public int getProcessImages()
        Returns:
        Returns the skipImage.
      • setProcessImages

        public void setProcessImages​(int processImages)
        Parameters:
        processImages - 0 = not to process. Other = process images
      • isProcessImages

        public boolean isProcessImages()
      • isShowMainToolbar

        public boolean isShowMainToolbar()
        Tells whether or not the main tool bar should be shown.
        Returns:
        true if the main tool bar should be shown, false otherwise.
        Since:
        2.5.0
      • setShowMainToolbar

        public void setShowMainToolbar​(boolean show)
        Sets whether or not the main tool bar should be shown.
        Parameters:
        show - true if the main tool bar should be shown, false otherwise.
        Since:
        2.5.0
      • getLocale

        public java.lang.String getLocale()
        Returns:
        the locale, which should be used. It will return a default value, if nothing was configured yet. Never null
        See Also:
        getConfigLocale()
      • setLocale

        public void setLocale​(java.lang.String locale)
      • setLocale

        public void setLocale​(java.util.Locale locale)
      • getConfigLocale

        public java.lang.String getConfigLocale()
        Returns:
        The really configured locale, can be null
        See Also:
        getLocale()
      • getShowTabNames

        public boolean getShowTabNames()
      • setShowTabNames

        public void setShowTabNames​(boolean showTabNames)
      • getBrkPanelViewOption

        public int getBrkPanelViewOption()
      • setBrkPanelViewOption

        public void setBrkPanelViewOption​(int brkPanelViewIdx)
      • getDisplayOption

        public int getDisplayOption()
      • setDisplayOption

        public void setDisplayOption​(int displayOption)
      • getResponsePanelPosition

        public java.lang.String getResponsePanelPosition()
        Gets the name of the current response panel position.
        Returns:
        the name of the current position
        Since:
        2.5.0
        See Also:
        WorkbenchPanel.ResponsePanelPosition
      • setResponsePanelPosition

        public void setResponsePanelPosition​(java.lang.String position)
        Sets the name of the current response panel position.
        Parameters:
        position - the name of the position
        Since:
        2.5.0
      • getAdvancedViewOption

        public int getAdvancedViewOption()
      • setAdvancedViewOption

        public void setAdvancedViewOption​(int isEnabled)
      • setAskOnExitOption

        public void setAskOnExitOption​(int isEnabled)
      • getAskOnExitOption

        public int getAskOnExitOption()
      • setWmUiHandlingOption

        public void setWmUiHandlingOption​(int isEnabled)
      • getWmUiHandlingOption

        public int getWmUiHandlingOption()
      • getWarnOnTabDoubleClick

        public boolean getWarnOnTabDoubleClick()
      • setWarnOnTabDoubleClick

        public void setWarnOnTabDoubleClick​(boolean warnOnTabDoubleClick)
      • getMode

        public java.lang.String getMode()
      • setMode

        public void setMode​(java.lang.String mode)
      • setOutputTabTimeStampingEnabled

        public void setOutputTabTimeStampingEnabled​(boolean enabled)
      • isOutputTabTimeStampingEnabled

        public boolean isOutputTabTimeStampingEnabled()
      • setOutputTabTimeStampsFormat

        public void setOutputTabTimeStampsFormat​(java.lang.String format)
      • getOutputTabTimeStampsFormat

        public java.lang.String getOutputTabTimeStampsFormat()
      • setShowLocalConnectRequests

        public void setShowLocalConnectRequests​(boolean showConnectRequests)
        Sets whether or not the HTTP CONNECT requests received by the local proxy should be (persisted and) shown in the UI.
        Parameters:
        showConnectRequests - true if the HTTP CONNECT requests should be shown, false otherwise
        Since:
        2.5.0
        See Also:
        isShowLocalConnectRequests()
      • isShowLocalConnectRequests

        public boolean isShowLocalConnectRequests()
        Tells whether or not the HTTP CONNECT requests received by the local proxy should be (persisted and) shown in the UI.

        The default is to not show the HTTP CONNECT requests.

        Returns:
        true if the HTTP CONNECT requests should be shown, false otherwise
        Since:
        2.5.0
        See Also:
        setShowLocalConnectRequests(boolean)
      • isShowSplashScreen

        public boolean isShowSplashScreen()
      • setShowSplashScreen

        public void setShowSplashScreen​(boolean showSplashScreen)
      • getLargeRequestSize

        @Deprecated
        public int getLargeRequestSize()
        Deprecated.
        (2.12.0) No longer in use.
      • setLargeRequestSize

        @Deprecated
        public void setLargeRequestSize​(int largeRequestSize)
        Deprecated.
        (2.12.0) No longer in use.
      • getLargeResponseSize

        @Deprecated
        public int getLargeResponseSize()
        Deprecated.
        (2.12.0) No longer in use.
      • setLargeResponseSize

        @Deprecated
        public void setLargeResponseSize​(int largeResponseSize)
        Deprecated.
        (2.12.0) No longer in use.
      • isAllowAppIntegrationInContainers

        public boolean isAllowAppIntegrationInContainers()
        Since:
        2.11.0
      • setAllowAppIntegrationInContainers

        public void setAllowAppIntegrationInContainers​(boolean allowAppIntegrationInContainers)
        Since:
        2.11.0
      • setFontName

        public void setFontName​(FontUtils.FontType fontType,
                                java.lang.String fontName)
      • getLookAndFeel

        public java.lang.String getLookAndFeel()
        Gets the the name of the selected look and feel.
        Returns:
        the name, might be null or empty if none selected (i.e. using default).
        Since:
        2.8.0
        See Also:
        getLookAndFeelInfo()
      • setLookAndFeel

        @Deprecated
        public void setLookAndFeel​(java.lang.String lookAndFeel)
        Deprecated.
        (2.10.0) Use setLookAndFeelInfo(LookAndFeelInfo) instead, which preserves the class of the look and feel.
        Sets the name of the selected look and feel.
        Parameters:
        lookAndFeel - the name.
        Since:
        2.8.0
      • getLookAndFeelInfo

        public javax.swing.UIManager.LookAndFeelInfo getLookAndFeelInfo()
        Gets the info of the selected look and feel.
        Returns:
        the info of the look and feel.
        Since:
        2.10.0
        See Also:
        getLookAndFeel()
      • setLookAndFeelInfo

        public void setLookAndFeelInfo​(javax.swing.UIManager.LookAndFeelInfo lookAndFeelInfo)
        Sets the info of the selected look and feel.
        Parameters:
        lookAndFeelInfo - the info of the look and feel.
        Throws:
        java.lang.NullPointerException - if the given parameter is null.
        Since:
        2.10.0
      • isScaleImages

        public boolean isScaleImages()
      • setScaleImages

        public void setScaleImages​(boolean scaleImages)
      • isShowDevWarning

        public boolean isShowDevWarning()
      • setShowDevWarning

        public void setShowDevWarning​(boolean showDevWarning)
      • isConfirmRemoveProxyExcludeRegex

        public boolean isConfirmRemoveProxyExcludeRegex()
      • setConfirmRemoveProxyExcludeRegex

        public void setConfirmRemoveProxyExcludeRegex​(boolean confirmRemove)
      • isConfirmRemoveScannerExcludeRegex

        public boolean isConfirmRemoveScannerExcludeRegex()
      • setConfirmRemoveScannerExcludeRegex

        public void setConfirmRemoveScannerExcludeRegex​(boolean confirmRemove)
      • isConfirmRemoveSpiderExcludeRegex

        public boolean isConfirmRemoveSpiderExcludeRegex()
      • setConfirmRemoveSpiderExcludeRegex

        public void setConfirmRemoveSpiderExcludeRegex​(boolean confirmRemove)
      • setUseSystemsLocaleForFormat

        public void setUseSystemsLocaleForFormat​(boolean useSystemsLocale)
        Sets whether or not the system's locale should be used for formatting.
        Parameters:
        useSystemsLocale - true if the system's locale should be used for formatting, false otherwise.
        Since:
        2.7.0
        See Also:
        isUseSystemsLocaleForFormat(), Locale.Category.FORMAT
      • isUseSystemsLocaleForFormat

        public boolean isUseSystemsLocaleForFormat()
        Tells whether or not the system's locale should be used for formatting.
        Returns:
        true if the system's locale should be used for formatting, false otherwise.
        Since:
        2.7.0
        See Also:
        setUseSystemsLocaleForFormat(boolean), Locale.Category.FORMAT
      • getRecentSessions

        public java.util.List<java.lang.String> getRecentSessions()
      • addLatestSession

        public void addLatestSession​(java.lang.String path)