Klasse ActionPool
java.lang.Object
com.inet.viewer.ActionPool
This class contains a set of viewer actions for which are used in the viewer.
- Seit:
- 7.0
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intOpens the export dialog.static final intSwitches to the first page.static final intSwitches to the hand tool mode, to navigate through the pages.static final intSwitches to the image select mode, to select report images.static final intOpens the print dialog.static final intOpens the load JRA dialog.static final intOpens the save JRA dialog.static final intSwitches to the next page.static final intSwitches to the next page.static final intSwitches to the previous page.static final intOpens the print dialog.static final intPerforms a refresh.static final intOpens the search dialog.static final intSwitches to the text selection mode, to select text via mouse drag.static final intSwitches to double continuous page view.static final intSwitches to double page layout.static final intSwitches to a continuous layout with single pages.static final intSwitches to single page layout.static final intZooms one step in.static final intZooms one step out. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungActionPool(ReportViewer viewer) This class handles allViewerActions for aReportViewer. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungintaddUserAction(ViewerAction action) Adds anActionto list of user actions.getUserAction(int index) Returns anActionwith the given action id from viewers action list.intReturns the number of user actions(action added by user).getViewerAction(int actionId) Returns anActionwith the given action id from viewers action list.voidremoveUserAction(int index) Removes anActionfrom list of the user actions.
-
Felddetails
-
HAND_TOOL
public static final int HAND_TOOLSwitches to the hand tool mode, to navigate through the pages.- Seit:
- 7.0
- Siehe auch:
-
TEXT_SELECT
public static final int TEXT_SELECTSwitches to the text selection mode, to select text via mouse drag.- Seit:
- 7.0
- Siehe auch:
-
IMAGE_SELECT
public static final int IMAGE_SELECTSwitches to the image select mode, to select report images.- Seit:
- 7.0
- Siehe auch:
-
FIRST_PAGE
public static final int FIRST_PAGESwitches to the first page.- Seit:
- 7.0
- Siehe auch:
-
PREV_PAGE
public static final int PREV_PAGESwitches to the previous page.- Seit:
- 7.0
- Siehe auch:
-
NEXT_PAGE
public static final int NEXT_PAGESwitches to the next page.- Seit:
- 7.0
- Siehe auch:
-
LAST_PAGE
public static final int LAST_PAGESwitches to the next page.- Seit:
- 7.0
- Siehe auch:
-
ZOOM_IN
public static final int ZOOM_INZooms one step in.- Seit:
- 7.0
- Siehe auch:
-
ZOOM_OUT
public static final int ZOOM_OUTZooms one step out.- Seit:
- 7.0
- Siehe auch:
-
VIEW_SINGLE_PAGE
public static final int VIEW_SINGLE_PAGESwitches to single page layout.- Seit:
- 7.0
- Siehe auch:
-
VIEW_SINGLE_CONTINUOUS
public static final int VIEW_SINGLE_CONTINUOUSSwitches to a continuous layout with single pages.- Seit:
- 7.0
- Siehe auch:
-
VIEW_DOUBLE_PAGE
public static final int VIEW_DOUBLE_PAGESwitches to double page layout.- Seit:
- 7.0
- Siehe auch:
-
VIEW_DOUBLE_CONTINUOUS
public static final int VIEW_DOUBLE_CONTINUOUSSwitches to double continuous page view.- Seit:
- 7.0
- Siehe auch:
-
PRINT
public static final int PRINTOpens the print dialog.- Seit:
- 7.0
- Siehe auch:
-
EXPORT
public static final int EXPORTOpens the export dialog.- Seit:
- 7.0
- Siehe auch:
-
SEARCH
public static final int SEARCHOpens the search dialog.- Seit:
- 7.0
- Siehe auch:
-
REFRESH
public static final int REFRESHPerforms a refresh.- Seit:
- 7.0
- Siehe auch:
-
INFO
public static final int INFOOpens the print dialog.- Seit:
- 7.0
- Siehe auch:
-
JRA_LOAD
public static final int JRA_LOADOpens the load JRA dialog.- Seit:
- 7.0
- Siehe auch:
-
JRA_SAVE
public static final int JRA_SAVEOpens the save JRA dialog.- Seit:
- 7.0
- Siehe auch:
-
-
Konstruktordetails
-
ActionPool
This class handles allViewerActions for aReportViewer.- Parameter:
viewer- ReportViewer this that this instance of ActionPool will be connected- Seit:
- 7.0
-
-
Methodendetails
-
getUserActionCount
public int getUserActionCount()Returns the number of user actions(action added by user).- Gibt zurück:
- The number of user actions
- Seit:
- 7.0
-
getUserAction
Returns anActionwith the given action id from viewers action list.- Parameter:
index- The index in the list of viewer action.- Gibt zurück:
- Returns the viewer Action for the given action id.
- Löst aus:
IndexOutOfBoundsException- if the index is less than 0 or greater than or equal to getUserActionCount()- Seit:
- 7.0
- Siehe auch:
-
addUserAction
Adds anActionto list of user actions.- Parameter:
action- The action to add.- Gibt zurück:
- Returns the index in the list of ViewerActions.
- Löst aus:
IllegalArgumentException- when action == null- Seit:
- 7.0
-
removeUserAction
public void removeUserAction(int index) Removes anActionfrom list of the user actions.- Parameter:
index- The action to remove.- Seit:
- 7.0
-
getViewerAction
Returns anActionwith the given action id from viewers action list.- Parameter:
actionId- The action id.- Gibt zurück:
- Returns the viewer Action for the given action id.
- Löst aus:
IndexOutOfBoundsException- if actionId is not one of the given viewer action constants- Seit:
- 7.0
- Siehe auch:
-