Class ActionPool

java.lang.Object
com.inet.viewer.ActionPool

public final class ActionPool extends Object
This class contains a set of viewer actions for which are used in the viewer.
Since:
7.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Opens the export dialog.
    static final int
    Switches to the first page.
    static final int
    Switches to the hand tool mode, to navigate through the pages.
    static final int
    Switches to the image select mode, to select report images.
    static final int
    Opens the print dialog.
    static final int
    Opens the load JRA dialog.
    static final int
    Opens the save JRA dialog.
    static final int
    Switches to the next page.
    static final int
    Switches to the next page.
    static final int
    Switches to the previous page.
    static final int
    Opens the print dialog.
    static final int
    Performs a refresh.
    static final int
    Opens the search dialog.
    static final int
    Switches to the text selection mode, to select text via mouse drag.
    static final int
    Switches to double continuous page view.
    static final int
    Switches to double page layout.
    static final int
    Switches to a continuous layout with single pages.
    static final int
    Switches to single page layout.
    static final int
    Zooms one step in.
    static final int
    Zooms one step out.
  • Constructor Summary

    Constructors
    Constructor
    Description
    This class handles all ViewerActions for a ReportViewer.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Adds an Action to list of user actions.
    getUserAction(int index)
    Returns an Action with the given action id from viewers action list.
    int
    Returns the number of user actions(action added by user).
    getViewerAction(int actionId)
    Returns an Action with the given action id from viewers action list.
    void
    removeUserAction(int index)
    Removes an Action from list of the user actions.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • HAND_TOOL

      public static final int HAND_TOOL
      Switches to the hand tool mode, to navigate through the pages.
      Since:
      7.0
      See Also:
    • TEXT_SELECT

      public static final int TEXT_SELECT
      Switches to the text selection mode, to select text via mouse drag.
      Since:
      7.0
      See Also:
    • IMAGE_SELECT

      public static final int IMAGE_SELECT
      Switches to the image select mode, to select report images.
      Since:
      7.0
      See Also:
    • FIRST_PAGE

      public static final int FIRST_PAGE
      Switches to the first page.
      Since:
      7.0
      See Also:
    • PREV_PAGE

      public static final int PREV_PAGE
      Switches to the previous page.
      Since:
      7.0
      See Also:
    • NEXT_PAGE

      public static final int NEXT_PAGE
      Switches to the next page.
      Since:
      7.0
      See Also:
    • LAST_PAGE

      public static final int LAST_PAGE
      Switches to the next page.
      Since:
      7.0
      See Also:
    • ZOOM_IN

      public static final int ZOOM_IN
      Zooms one step in.
      Since:
      7.0
      See Also:
    • ZOOM_OUT

      public static final int ZOOM_OUT
      Zooms one step out.
      Since:
      7.0
      See Also:
    • VIEW_SINGLE_PAGE

      public static final int VIEW_SINGLE_PAGE
      Switches to single page layout.
      Since:
      7.0
      See Also:
    • VIEW_SINGLE_CONTINUOUS

      public static final int VIEW_SINGLE_CONTINUOUS
      Switches to a continuous layout with single pages.
      Since:
      7.0
      See Also:
    • VIEW_DOUBLE_PAGE

      public static final int VIEW_DOUBLE_PAGE
      Switches to double page layout.
      Since:
      7.0
      See Also:
    • VIEW_DOUBLE_CONTINUOUS

      public static final int VIEW_DOUBLE_CONTINUOUS
      Switches to double continuous page view.
      Since:
      7.0
      See Also:
    • PRINT

      public static final int PRINT
      Opens the print dialog.
      Since:
      7.0
      See Also:
    • EXPORT

      public static final int EXPORT
      Opens the export dialog.
      Since:
      7.0
      See Also:
    • REFRESH

      public static final int REFRESH
      Performs a refresh.
      Since:
      7.0
      See Also:
    • INFO

      public static final int INFO
      Opens the print dialog.
      Since:
      7.0
      See Also:
    • JRA_LOAD

      public static final int JRA_LOAD
      Opens the load JRA dialog.
      Since:
      7.0
      See Also:
    • JRA_SAVE

      public static final int JRA_SAVE
      Opens the save JRA dialog.
      Since:
      7.0
      See Also:
  • Constructor Details

    • ActionPool

      public ActionPool(ReportViewer viewer)
      This class handles all ViewerActions for a ReportViewer.
      Parameters:
      viewer - ReportViewer this that this instance of ActionPool will be connected
      Since:
      7.0
  • Method Details