Interface ToolBar

All Superinterfaces:
ReportViewChangeListener
All Known Implementing Classes:
SwingToolBar

public interface ToolBar extends ReportViewChangeListener
The toolbar which contains various buttons.
Since:
7.0
  • Field Summary

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

    Modifier and Type
    Method
    Description
    Returns the gui component of this toolbar.
    boolean
    isButtonsVisible(int buttons)
    Return true if the button or button group is visible otherwise false.
    boolean
    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.

    Methods inherited from interface com.inet.viewer.ReportViewChangeListener

    reportViewChanged
  • Field Details

    • BUTTONS_GENERAL

      static final int BUTTONS_GENERAL
      Button group of all "general" buttons
      Since:
      7.0
      See Also:
    • 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:
    • 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:
    • BUTTONS_ZOOM

      static final int BUTTONS_ZOOM
      Button group of all "zoom" buttons, that is - "zoom in", "zoom out".
      Since:
      7.0
      See Also:
    • 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:
    • BUTTON_PRINT

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

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

      static final int BUTTON_EXPORT
      Button responsible for the export action
      Since:
      7.0
      See Also:
    • BUTTON_INFO

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

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

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

    • setButtonsVisible

      void setButtonsVisible(int buttons, boolean visible)
      Sets a button or a button group visible or invisible.
      Parameters:
      buttons - The identifier for the button or button group
      visible - True if the button shoulb be visible otherwise false
      Since:
      7.0
      See Also:
    • isButtonsVisible

      boolean isButtonsVisible(int buttons)
      Return true if the button or button group is visible otherwise false.
      Parameters:
      buttons - The specified button or button group
      Returns:
      true if it is visible otherwise false
      Since:
      7.0
      See Also:
    • 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

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