public class BBJasperTabbedView
Displays a JasperReport in a tabbed view
Modifier and Type | Field and Description |
---|---|
static BBjString | BBJASPER_TAB_ON_PARENT_HYPERLINK_TARGET_KEY_NAME$ Name of STBL key whose value can be set to TRUE create a tab when hyperlink targets are set to parent, otherwise FALSE to create a tab. The default is TRUE. |
static BBjString | BBJASPER_WINDOW_ON_BLANK_HYPERLINK_TARGET_KEY_NAME$ Name of STBL key whose value can be set to TRUE create a window when hyperlink targets are set to blank, otherwise FALSE to create a tab. The default is TRUE. |
static BBjString | CLOSE_LEFT_TABS_MENU_ITEM_NAME$="BBJVCloseLeftTabsMenuItem" Close left tabs menu item name |
static BBjString | CLOSE_OTHER_TABS_MENU_ITEM_NAME$="BBJVCloseOtherTabsMenuItem" Close other tabs menu item name |
static BBjString | CLOSE_RIGHT_TABS_MENU_ITEM_NAME$="BBJVCloseRightTabsMenuItem" Close right tabs menu item name |
static BBjString | CLOSE_TAB_MENU_ITEM_NAME$="BBJVCloseTabMenuItem" Close tab menu item name |
static BBjString | VIEWS_TAB_CONTROL_NAME$="BBJVViewsTabControl" Views tab control name |
Constructor and Description |
---|
BBJasperTabbedView(BBJasperViewerControl p_viewerControl!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType) Constructor Constructs a BBJasperTabbedView given a BBJasperViewerControl object, BBjWindow object, control id, control x, control y, control width, control height and fit type |
BBJasperTabbedView(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType) Constructor Constructs a BBJasperTabbedView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type |
BBJasperTabbedView(BBjVector p_reports!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType) Constructor Constructs a BBJasperTabbedView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type |
Modifier and Type | Method and Description |
---|---|
BBJasperView | addView(BBJasperReport p_report!) Adds and returns a BBJasperView object (tab and child window) for the passed BBJasperReport using the report name for the window and tab titles |
BBJasperView | addView(BBJasperReport p_report!, BBjString p_windowTitle$, BBjString p_tabTitle$) Adds and returns a BBJasperView object (tab and child window) for the passed BBJasperReport |
BBjVector | addViews(BBjVector p_reports!) Adds and returns a vector of BBJasperView objects (tab and child window) for the passed vector of BBJasperReport objects |
void | destroy() destroy Destroys the tabbed view and all contained views |
HashMap | getAllControls() getAllControls Returns a HashMap containg all of the controls |
BBjControl | getControl(BBjString p_controlName$) getControl Returns a control given the control name |
BBjNumber | getFitType() getFitType Returns the fit type of the tabbed view (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE) |
BBjNumber | getHeight() getHeight Returns the height of the tabbed view |
BBjNumber | getID() getID Returns the ID of the tabbed view |
net.sf.jasperreports.engine.JasperPrint | getJasperPrint() getJasperPrint Returns the JasperPrint of the tabbed view |
BBjNumber | getNumViews() geNumViews Returns the number of views |
BBjWindow | getParentWindow() getParentWindow Returns the parent window that houses the tabbed view |
BBnet.sf.jasperreports.engine.JasperReport | getReport() getReport Returns the report of the tabbed view |
BBjNumber | getTabOnParentHyperlinkTarget() getTabOnParentHyperlinkTarget Returns whether a tab will be created when hyperlink targets are set to parent, otherwise a window will be created |
BBJasperView | getView() getView Returns the current view of the tabbed view |
BBJasperView | getViewAt(BBjNumber p_index) getViewAt Returns a view at a specified index |
BBJasperViewerControl | getViewerControl() getViewerControl Returns the viewer control that houses the tabbed view |
BBjNumber | getViewIndex(BBJasperView p_view!) Returns the view index in the view vector |
BBjVector | getViews() getViews Returns all views in a vector |
BBjNumber | getWidth() getWidth Returns the width of the tabbed view |
BBjNumber | getWindowOnBlankHyperlinkTarget() getWindowOnBlankHyperlinkTarget Returns whether a window will be create when hyperlink targets are set to blank, otherwise a tabe will be created |
BBjNumber | getX() getX Returns the X location of the tabbed view |
BBjNumber | getY() getY Returns the Y location of the tabbed view |
void | OnCloseLeftTabs(BBjPopupSelectEvent p_event!) Called when the close left tabs menu item is selected |
void | OnCloseOtherTabs(BBjPopupSelectEvent p_event!) Called when the close other tabs menu item is selected |
void | OnCloseRightTabs(BBjPopupSelectEvent p_event!) Called when the close right tabs menu item is selected |
void | OnCloseTab(BBjPopupSelectEvent p_event!) Called when the close tab menu item is selected |
void | OnReportTabClose(BBjTabCloseEvent p_event!) Callback method that handles a view tab being close |
void | OnReportTabPopup(BBjTabPopupEvent p_event!) Callback method that handles a view tab popup request |
void | OnReportTabSelected(BBjTabSelectedEvent p_event!) Callback method that handles a view tab being selected |
void | selectView(BBJasperView p_view!) Selects the current view |
void | setLocation(BBjNumber p_x, BBjNumber p_x) setLocation Sets the location of the tabbed view |
void | setReportTabSelectedCallback(BBjString p_eventName$, BBjString p_callbackRoutine!) setReportTabSelectedCallback Sets a callback routine to call when a Report Tab is selected |
void | setReportTabSelectedCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!) setReportTabSelectedCallback Sets a callback routine to call when a Report Tab is selected |
void | setSize(BBjNumber p_width, BBjNumber p_height) setSize Sets the size of the tabbed view |
void | setTabOnParentHyperlinkTarget(BBjNumber p_tabOnParentHyperlinkTarget) setTabOnParentHyperlinkTarget Sets whether a tabe will be created when hyperlink targets are set to blank, othwerwise a window will be created |
void | setView(BBJasperView p_view!) Sets the current view |
void | setVisible(BBjNumber p_visible) setVisible Sets the visibility of the tabbed view |
void | setWindowOnBlankHyperlinkTarget(BBjNumber p_windowOnBlankHyperlinkTarget) setWindowOnBlankHyperlinkTarget Sets whether a window will be created when hyperlink targets are set to blank, othwerwise a tab will be created |
public static BBjString BBJASPER_TAB_ON_PARENT_HYPERLINK_TARGET_KEY_NAME$
Name of STBL key whose value can be set to TRUE create a tab when hyperlink targets are set to parent, otherwise FALSE to create a tab. The default is TRUE.
public static BBjString BBJASPER_WINDOW_ON_BLANK_HYPERLINK_TARGET_KEY_NAME$
Name of STBL key whose value can be set to TRUE create a window when hyperlink targets are set to blank, otherwise FALSE to create a tab. The default is TRUE.
public static BBjString CLOSE_LEFT_TABS_MENU_ITEM_NAME$="BBJVCloseLeftTabsMenuItem"
Close left tabs menu item name
public static BBjString CLOSE_OTHER_TABS_MENU_ITEM_NAME$="BBJVCloseOtherTabsMenuItem"
Close other tabs menu item name
public static BBjString CLOSE_RIGHT_TABS_MENU_ITEM_NAME$="BBJVCloseRightTabsMenuItem"
Close right tabs menu item name
public static BBjString CLOSE_TAB_MENU_ITEM_NAME$="BBJVCloseTabMenuItem"
Close tab menu item name
public static BBjString VIEWS_TAB_CONTROL_NAME$="BBJVViewsTabControl"
Views tab control name
public BBJasperTabbedView(BBJasperViewerControl p_viewerControl!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
Constructor Constructs a BBJasperTabbedView given a BBJasperViewerControl object, BBjWindow object, control id, control x, control y, control width, control height and fit type
p_viewerControl!
A BBJasperViewerControl objectp_window!
A BBjWindow object which will house the tabbed viewp_id
ID for the viewp_x
X location for the viewp_y
Y location for the viewp_width
Width of the viewp_height
Height of the viewp_fitType
Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperTabbedView(BBJasperReport p_report!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
Constructor Constructs a BBJasperTabbedView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
p_report!
A BBJasperReport objectp_window!
A BBjWindow object which will house the tabbed viewp_id
ID for the viewp_x
X location for the viewp_y
Y location for the viewp_width
Width of the viewp_height
Height of the viewp_fitType
Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperTabbedView(BBjVector p_reports!, BBjWindow p_window!, BBjNumber p_id, BBjNumber p_x, BBjNumber p_y, BBjNumber p_width, BBjNumber p_height, BBjNumber p_fitType)
Constructor Constructs a BBJasperTabbedView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
p_reports!
BBjVector containing BBJasperReport objectsp_window!
A BBjWindow object which will house the tabbed viewp_id
ID for the viewp_x
X location for the viewp_y
Y location for the viewp_width
Width of the viewp_height
Height of the viewp_fitType
Specifies on the following fit types: FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGEpublic BBJasperView addView(BBJasperReport p_report!)
Adds and returns a BBJasperView object (tab and child window) for the passed BBJasperReport using the report name for the window and tab titles
p_report!
Specifies the BBJasperReport to add a view forpublic BBJasperView addView(BBJasperReport p_report!, BBjString p_windowTitle$, BBjString p_tabTitle$)
Adds and returns a BBJasperView object (tab and child window) for the passed BBJasperReport
p_report!
Specifies the BBJasperReport to add a view forp_windowTitle$
Specifies the window title for the viewp_tabTitle$
Specifies the tab title for the viewpublic BBjVector addViews(BBjVector p_reports!)
Adds and returns a vector of BBJasperView objects (tab and child window) for the passed vector of BBJasperReport objects
p_reports!
BBjVector of BBJasperReport object to add views forpublic void destroy()
destroy Destroys the tabbed view and all contained views
public HashMap getAllControls()
getAllControls Returns a HashMap containg all of the controls
public BBjControl getControl(BBjString p_controlName$)
getControl Returns a control given the control name
p_controlName$
Name of the BBjControl object to obtainpublic BBjNumber getFitType()
getFitType Returns the fit type of the tabbed view (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE)
public BBjNumber getHeight()
getHeight Returns the height of the tabbed view
public BBjNumber getID()
getID Returns the ID of the tabbed view
public net.sf.jasperreports.engine.JasperPrint getJasperPrint()
getJasperPrint Returns the JasperPrint of the tabbed view
public BBjNumber getNumViews()
geNumViews Returns the number of views
public BBjWindow getParentWindow()
getParentWindow Returns the parent window that houses the tabbed view
public BBnet.sf.jasperreports.engine.JasperReport getReport()
getReport Returns the report of the tabbed view
public BBjNumber getTabOnParentHyperlinkTarget()
getTabOnParentHyperlinkTarget Returns whether a tab will be created when hyperlink targets are set to parent, otherwise a window will be created
public BBJasperView getView()
getView Returns the current view of the tabbed view
public BBJasperView getViewAt(BBjNumber p_index)
getViewAt Returns a view at a specified index
p_index
Index of view to returnpublic BBJasperViewerControl getViewerControl()
getViewerControl Returns the viewer control that houses the tabbed view
public BBjNumber getViewIndex(BBJasperView p_view!)
Returns the view index in the view vector
p_view!
BBJasperView which specifies the view to find the index forpublic BBjVector getViews()
getViews Returns all views in a vector
public BBjNumber getWidth()
getWidth Returns the width of the tabbed view
public BBjNumber getWindowOnBlankHyperlinkTarget()
getWindowOnBlankHyperlinkTarget Returns whether a window will be create when hyperlink targets are set to blank, otherwise a tabe will be created
public BBjNumber getX()
getX Returns the X location of the tabbed view
public BBjNumber getY()
getY Returns the Y location of the tabbed view
public void OnCloseLeftTabs(BBjPopupSelectEvent p_event!)
Called when the close left tabs menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnCloseOtherTabs(BBjPopupSelectEvent p_event!)
Called when the close other tabs menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnCloseRightTabs(BBjPopupSelectEvent p_event!)
Called when the close right tabs menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnCloseTab(BBjPopupSelectEvent p_event!)
Called when the close tab menu item is selected
p_event!
BBjPopupSelectEvent that contains event informationpublic void OnReportTabClose(BBjTabCloseEvent p_event!)
Callback method that handles a view tab being close
p_event!
BBjTabCloseEvent which contains tab close informationpublic void OnReportTabPopup(BBjTabPopupEvent p_event!)
Callback method that handles a view tab popup request
p_event!
BBjTabPopupEvent which contains tab popup informationpublic void OnReportTabSelected(BBjTabSelectedEvent p_event!)
Callback method that handles a view tab being selected
p_event!
BBjTabSelectedEvent which contains tab select informationpublic void selectView(BBJasperView p_view!)
Selects the current view
p_view!
BBJasperView which specifies the view to selectpublic void setLocation(BBjNumber p_x, BBjNumber p_x)
setLocation Sets the location of the tabbed view
p_x
X location of the tabbed viewp_y
Y location of the tabbed viewpublic void setReportTabSelectedCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
setReportTabSelectedCallback Sets a callback routine to call when a Report Tab is selected
p_eventName$
Event to specify during the callbackp_callbackRoutine!
Callback routine to callpublic void setReportTabSelectedCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
setReportTabSelectedCallback Sets a callback routine to call when a Report Tab is selected
p_eventName$
Event to specify during the callbackp_callbackObject!
Callback object to callp_callbackRoutine!
Callback routine to callpublic void setSize(BBjNumber p_width, BBjNumber p_height)
setSize Sets the size of the tabbed view
p_width
Width of the tabbed viewp_height
Height of the tabbed viewpublic void setTabOnParentHyperlinkTarget(BBjNumber p_tabOnParentHyperlinkTarget)
setTabOnParentHyperlinkTarget Sets whether a tabe will be created when hyperlink targets are set to blank, othwerwise a window will be created
Set
to TRUE if a tabe is to be created when hyperlink targets are set to blank, otherwise set to FALSE to create a windowpublic void setView(BBJasperView p_view!)
Sets the current view
p_view!
BBJasperView which specifies the current viewpublic void setVisible(BBjNumber p_visible)
setVisible Sets the visibility of the tabbed view
p_visible
Specify TRUE (1) to make the tabbed view visible, otherwise FALSE (0)public void setWindowOnBlankHyperlinkTarget(BBjNumber p_windowOnBlankHyperlinkTarget)
setWindowOnBlankHyperlinkTarget Sets whether a window will be created when hyperlink targets are set to blank, othwerwise a tab will be created
Set
to TRUE if a window is to be created when hyperlink targets are set to blank, otherwise set to FALSE to create a tab