Interface ToolBar

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BUTTON_EXPORT
      Button responsible for the export action
      static int BUTTON_INFO
      Button responsible for showing the info dialog
      static int BUTTON_JRA_LOAD
      Button responsible for action loading java report archive (JRA)
      static int BUTTON_JRA_SAVE
      Button responsible for action saving java report archive (JRA)
      static int BUTTON_PRINT
      Button responsible for the print action
      static int BUTTON_REFRESH
      Button responsible for the refresh action
      static int BUTTON_SEARCH
      Button responsible for the search action
      static int BUTTONS_GENERAL
      Button group of all "general" buttons
      static int BUTTONS_NAVIGATION
      Button group of all "navigation" buttons such as "next page", "previous page", etc.
      static int BUTTONS_REPORT
      Button group of all various "report" buttons such as "search", "export", and "refresh".
      static int BUTTONS_VIEW
      Button group of all "view" buttons such as "double page view", "single page view", etc.
      static int BUTTONS_ZOOM
      Button group of all "zoom" buttons, that is - "zoom in", "zoom out".
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.Component getComponent()
      Returns the gui component of this toolbar.
      boolean isButtonsVisible​(int buttons)
      Return true if the button or button group is visible otherwise false.
      boolean isVisible()
      Determines whether this component should be visible when its parent is visible.
      void setButtonsVisible​(int buttons, boolean visible)
      Sets a button or a button group visible or invisible.
      void setVisible​(boolean vis)
      Shows or hides this component depending on the value of parameter b.
    • Field Detail

      • BUTTONS_GENERAL

        static final int BUTTONS_GENERAL
        Button group of all "general" buttons
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTONS_NAVIGATION

        static final int BUTTONS_NAVIGATION
        Button group of all "navigation" buttons such as "next page", "previous page", etc.
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTONS_VIEW

        static final int BUTTONS_VIEW
        Button group of all "view" buttons such as "double page view", "single page view", etc.
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTONS_ZOOM

        static final int BUTTONS_ZOOM
        Button group of all "zoom" buttons, that is - "zoom in", "zoom out".
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTONS_REPORT

        static final int BUTTONS_REPORT
        Button group of all various "report" buttons such as "search", "export", and "refresh".
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_PRINT

        static final int BUTTON_PRINT
        Button responsible for the print action
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_REFRESH

        static final int BUTTON_REFRESH
        Button responsible for the refresh action
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_EXPORT

        static final int BUTTON_EXPORT
        Button responsible for the export action
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_SEARCH

        static final int BUTTON_SEARCH
        Button responsible for the search action
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_INFO

        static final int BUTTON_INFO
        Button responsible for showing the info dialog
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_JRA_LOAD

        static final int BUTTON_JRA_LOAD
        Button responsible for action loading java report archive (JRA)
        Since:
        7.0
        See Also:
        Constant Field Values
      • BUTTON_JRA_SAVE

        static final int BUTTON_JRA_SAVE
        Button responsible for action saving java report archive (JRA)
        Since:
        7.0
        See Also:
        Constant Field Values
    • Method Detail

      • setVisible

        void setVisible​(boolean vis)
        Shows or hides this component depending on the value of parameter b.
        Parameters:
        vis - if true, shows this component; otherwise, hides this component
        Since:
        7.0
      • isVisible

        boolean isVisible()
        Determines whether this component should be visible when its parent is visible. Components are initially visible, with the exception of top level components such as Frame objects.
        Returns:
        true if the component is visible, false otherwise
        Since:
        7.0
      • getComponent

        java.awt.Component getComponent()
        Returns the gui component of this toolbar.
        Returns:
        The gui component of this toolbar
        Since:
        7.0