Modifier and Type | Field and Description |
---|---|
BBJasperViewerControl |
ParentViewerControl!
The parent BBJasperViewerControl
|
BBjNumber |
ReleaseOnClose
When set to TRUE (1), the interpreter running the viewer window will release when closed by the user
|
static BBjString |
VIEWER_WINDOW_NAME$
Constant which represents the viewer window name
|
static BBjNumber |
WINDOW_ERROR
Constant which represents that an error occured in the window
|
Constructor and Description |
---|
BBJasperViewerWindow(BBJasperReport p_report!)
Constructs a BBJasperViewerWindow given a BBJasperReport object
|
BBJasperViewerWindow(BBJasperReport p_report!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a BBJasperReport object, window x, window y, window width, window height, window title, and window flags
|
BBJasperViewerWindow(BBJasperReport p_report!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a BBJasperReport object, window x, window y, window width, window height, window title, window flags, and fit type
|
BBJasperViewerWindow(BBJasperReport p_report!,
BBjString p_title!)
Constructs a BBJasperViewerWindow given a BBJasperReport object and a window title
|
BBJasperViewerWindow(BBJasperReport p_report!,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a BBJasperReport object, window title, and window flags
|
BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!,
BBJasperReport p_report!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a parent BBJasperViewercontrol object, BBJasperReport object, window x, window y, window width, window height, window title, and window flags
|
BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!,
BBjVector p_reports!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a parent BBJasperViewercontrol object, BBJasperReport object, window x, window y, window width, window height, window title, and window flags
|
BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!,
JasperPrint p_jasperPrint!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a parent JasperViewerControl object, JasperPrint object, window X, window Y, window width, window height, window title, window flags, and fit type
|
BBJasperViewerWindow(BBjVector p_reports!)
Constructs a BBJasperViewerWindow given a BBjVector of BBJasperReport objects
|
BBJasperViewerWindow(BBjVector p_reports!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a BBjVector of BBJasperReport objects, window x, window y, window width, window height, window title, and window flags
|
BBJasperViewerWindow(BBjVector p_reports!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a BBjVector of BBJasperReport objects, window x, window y, window width, window height, window title, window flags, and fit type
|
BBJasperViewerWindow(BBjVector p_reports!,
BBjString p_title!)
Constructs a BBJasperViewerWindow given a BBjVector of BBJasperReport objects and a window title
|
BBJasperViewerWindow(BBjVector p_reports!,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a BBjVector of BBJasperReport objects, window title, and window flags
|
BBJasperViewerWindow(JasperPrint p_jasperPrint!)
Constructs a BBJasperViewerWindow given a JasperPrint object
|
BBJasperViewerWindow(JasperPrint p_jasperPrint!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a JasperPrint object, window X, window Y, window width, window height, window title, and window flags
|
BBJasperViewerWindow(JasperPrint p_jasperPrint!,
BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_width,
BBjNumber p_height,
BBjString p_title!,
BBjString p_flags$,
BBjNumber p_fitType)
Constructs a BBJasperViewerWindow given a JasperPrint object, window X, window Y, window width, window height, window title, window flags, and fit type
|
BBJasperViewerWindow(JasperPrint p_jasperPrint!,
BBjString p_title!)
Constructs a BBJasperViewerWindow given a JasperPrint object and a window title
|
BBJasperViewerWindow(JasperPrint p_jasperPrint!,
BBjString p_title!,
BBjString p_flags$)
Constructs a BBJasperViewerWindow given a JasperPrint object, window title, and window flags
|
Modifier and Type | Method and Description |
---|---|
void |
center()
Centers the viewer window on either the MDI window or client desktop
|
void |
destroy()
Removes self from any parent viewer control, then destroys the
viewer control and the viewer window
|
BBJasperViewerControl |
getViewerControl()
Returns the viewer control
|
BBjTopLevelWindow |
getViewerWindow()
Returns the viewer window
|
BBjString |
getWindowTitle()
Returns the title of the viewer window
|
void |
OnClose(BBjSysGuiEvent p_event!)
Called when the window is closed by the user
|
void |
OnScreenResize(BBjScreenResizeEvent p_event!)
Called when the screen is resized by the user
|
void |
OnScreenResizeTimer(BBjTimerEvent p_event!)
Called when the screen resize timer is triggered
|
void |
OnWindowResize(BBjResizeEvent p_event!)
Called when the window is resized by the user
|
void |
OnWindowResizeTimer(BBjTimerEvent p_event!)
Called when the window resize timer is triggered
|
static BBjNumber |
setDefaults()
Sets the default X, Y, width, height for the window
|
void |
setSize(BBjNumber p_width,
BBjNumber p_height)
Sets the size of the viewer window and control
|
void |
setWindowTitle(BBjString p_windowTitle!)
Sets the title of the viewer window
|
void |
show(BBjNumber p_processEvents)
Shows the viewer window for non empty reports, and optionally process events for the window
|
void |
show(BBjNumber p_processEvents,
BBjNumber p_showEmpty)
Shows the viewer window for empty or non empty reports, and optionally process events for the window
|
public BBjNumber ReleaseOnClose
public BBJasperViewerControl ParentViewerControl!
public static BBjNumber WINDOW_ERROR
public static BBjString VIEWER_WINDOW_NAME$
public BBJasperViewerWindow(BBJasperReport p_report!)
p_report!
- A BBJasperReport objectpublic BBJasperViewerWindow(BBjVector p_reports!)
p_reports!
- BBjVector of BBJasperReport objectspublic BBJasperViewerWindow(BBJasperReport p_report!, BBjString p_title!)
p_report!
- A BBJasperReport objectp_title!
- Title for the windowpublic BBJasperViewerWindow(BBjVector p_reports!, BBjString p_title!)
p_reports!
- BBjVector of BBJasperReport objectsp_title!
- Title for the windowpublic BBJasperViewerWindow(BBJasperReport p_report!, BBjString p_title!, BBjString p_flags$)
p_report!
- A BBJasperReport objectp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(BBjVector p_reports!, BBjString p_title!, BBjString p_flags$)
p_reports!
- BBjVector of BBJasperReport objectsp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(BBJasperReport p_report!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$)
p_report!
- A BBJasperReport objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(BBjVector p_reports!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$)
p_reports!
- BBjVector of BBJasperReport objectsp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(BBJasperReport p_report!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_report!
- A BBJasperReport objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerWindow(BBjVector p_reports!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_reports!
- BBjVector containing BBJasperReport objectsp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!, BBJasperReport p_report!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_parentViewerControl!
- Specifies the parent BBJasperViewerControl objectp_report!
- A BBJasperReport objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!, BBjVector p_reports!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_parentViewerControl!
- Specifies the parent BBJasperViewerControl objectp_reports!
- BBjVector of BBJasperReport objectsp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerWindow(JasperPrint p_jasperPrint!)
p_jasperPrint!
- A JasperPrint objectpublic BBJasperViewerWindow(JasperPrint p_jasperPrint!, BBjString p_title!)
p_jasperPrint!
- A JasperPrint objectp_title!
- Title for the windowpublic BBJasperViewerWindow(JasperPrint p_jasperPrint!, BBjString p_title!, BBjString p_flags$)
p_jasperPrint!
- A JasperPrint objectp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(JasperPrint p_jasperPrint!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$)
p_jasperPrint!
- A JasperPrint objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowpublic BBJasperViewerWindow(JasperPrint p_jasperPrint!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_jasperPrint!
- A JasperPrint objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperViewerWindow(BBJasperViewerControl p_parentViewerControl!, JasperPrint p_jasperPrint!, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjString p_title!, BBjString p_flags$, BBjNumber p_fitType)
p_parentViewerControl!
- Specifies the parent BBJasperViewerControl objectp_jasperPrint!
- A JasperPrint objectp_x
- X location for the windowp_y
- Y location for the windowp_width
- Width of the windowp_height
- Height of the windowp_title!
- Title for the windowp_flags$
- Flags for the windowp_fitType
- Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic static BBjNumber setDefaults()
public void show(BBjNumber p_processEvents)
p_processEvents
- Specify TRUE to process events for the window, otherwise FALSEpublic void show(BBjNumber p_processEvents, BBjNumber p_showEmpty)
p_processEvents
- Specify TRUE to process events for the window, otherwise FALSEp_showEmpty
- Specify TRUE to show empty reports, otherwise FALSEpublic void OnClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnWindowResize(BBjResizeEvent p_event!)
p_event!
- BBjResizeEvent objectpublic void OnWindowResizeTimer(BBjTimerEvent p_event!)
p_event!
- BBjTimerEvent objectpublic void OnScreenResize(BBjScreenResizeEvent p_event!)
p_event!
- BBjScreenResizeEvent objectpublic void OnScreenResizeTimer(BBjTimerEvent p_event!)
p_event!
- BBjTimerEvent objectpublic void setSize(BBjNumber p_width, BBjNumber p_height)
p_width
- Window widthp_height
- Window heightpublic void setWindowTitle(BBjString p_windowTitle!)
p_windowTitle$
- Window titlepublic BBjString getWindowTitle()
public void destroy()
public void center()
public BBjTopLevelWindow getViewerWindow()
public BBJasperViewerControl getViewerControl()