public class BBJasperTabbedView extends Object
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.
|
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.
|
static BBjString |
CLOSE_LEFT_TABS_MENU_ITEM_NAME$
Close left tabs menu item name
|
static BBjString |
CLOSE_OTHER_TABS_MENU_ITEM_NAME$
Close other tabs menu item name
|
static BBjString |
CLOSE_RIGHT_TABS_MENU_ITEM_NAME$
Close right tabs menu item name
|
static BBjString |
CLOSE_TAB_MENU_ITEM_NAME$
Close tab menu item name
|
static BBjString |
VIEWS_TAB_CONTROL_NAME$
Views tab control name
|
Constructor and Description |
---|
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)
Constructs a BBJasperTabbedView given a BBJasperReport object, BBjWindow object, control id, control x, control y, control width, control height and fit type
|
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)
Constructs a BBJasperTabbedView given a BBJasperViewerControl 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)
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!)
BBJasperReport using the report name for the window and tab titles
|
BBJasperView |
addView(BBJasperReport p_report!,
BBjString p_windowTitle$,
BBjString p_tabTitle$)
BBJasperReport
|
BBjVector |
addViews(BBjVector p_reports!)
BBJasperReport objects
|
void |
destroy()
Destroys the tabbed view and all contained views
|
HashMap |
getAllControls()
Returns a HashMap containg all of the controls
|
BBjControl |
getControl(BBjString p_controlName$)
Returns a control given the control name
|
BBjNumber |
getFitType()
Returns the fit type of the tabbed view (FIT_TYPE_ACTUAL, FIT_TYPE_WIDTH, FIT_TYPE_PAGE)
|
BBjNumber |
getHeight()
Returns the height of the tabbed view
|
BBjNumber |
getID()
Returns the ID of the tabbed view
|
JasperPrint |
getJasperPrint()
Returns the JasperPrint of the tabbed view
|
BBjNumber |
getNumViews()
Returns the number of views
|
BBjWindow |
getParentWindow()
Returns the parent window that houses the tabbed view
|
BBJasperReport |
getReport()
Returns the report of the tabbed view
|
BBjNumber |
getTabOnParentHyperlinkTarget()
Returns whether a tab will be created when hyperlink targets are set to parent, otherwise a window will be created
|
BBJasperView |
getView()
Returns the current view of the tabbed view
|
BBJasperView |
getViewAt(BBjNumber p_index)
Returns a view at a specified index
|
BBJasperViewerControl |
getViewerControl()
Returns the viewer control that houses the tabbed view
|
BBjNumber |
getViewIndex(BBJasperView p_view!) |
BBjVector |
getViews()
Returns all views in a vector
|
BBjNumber |
getWidth()
Returns the width of the tabbed view
|
BBjNumber |
getWindowOnBlankHyperlinkTarget()
Returns whether a window will be create when hyperlink targets are set to blank, otherwise a tabe will be created
|
BBjNumber |
getX()
Returns the X location of the tabbed view
|
BBjNumber |
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!) |
void |
OnReportTabPopup(BBjTabPopupEvent p_event!) |
void |
OnReportTabSelected(BBjTabSelectedEvent p_event!) |
void |
selectView(BBJasperView p_view!) |
void |
setLocation(BBjNumber p_x,
BBjNumber p_x)
Sets the location of the tabbed view
|
void |
setReportTabSelectedCallback(BBjString p_eventName$,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a Report Tab is selected
|
void |
setReportTabSelectedCallback(BBjString p_eventName$,
CustomObject p_callbackObject!,
BBjString p_callbackRoutine!)
Sets a callback routine to call when a Report Tab is selected
|
void |
setSize(BBjNumber p_width,
BBjNumber p_height)
Sets the size of the tabbed view
|
void |
setTabOnParentHyperlinkTarget(BBjNumber p_tabOnParentHyperlinkTarget)
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!) |
void |
setVisible(BBjNumber p_visible)
Sets the visibility of the tabbed view
|
void |
setWindowOnBlankHyperlinkTarget(BBjNumber p_windowOnBlankHyperlinkTarget)
Sets whether a window will be created when hyperlink targets are set to blank, othwerwise a tab will be created
|
public static BBjString VIEWS_TAB_CONTROL_NAME$
public static BBjString BBJASPER_WINDOW_ON_BLANK_HYPERLINK_TARGET_KEY_NAME$
public static BBjString BBJASPER_TAB_ON_PARENT_HYPERLINK_TARGET_KEY_NAME$
public static BBjString CLOSE_TAB_MENU_ITEM_NAME$
public static BBjString CLOSE_OTHER_TABS_MENU_ITEM_NAME$
public static BBjString CLOSE_LEFT_TABS_MENU_ITEM_NAME$
public static BBjString CLOSE_RIGHT_TABS_MENU_ITEM_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)
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)
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)
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 BBjVector addViews(BBjVector p_reports!)
p_reports!
- BBjVector of BBJasperReport object to add views forpublic BBJasperView addView(BBJasperReport p_report!)
p_report!
- Specifies the BBJasperReport to add a view forpublic BBJasperView addView(BBJasperReport p_report!, BBjString p_windowTitle$, BBjString p_tabTitle$)
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 void OnReportTabSelected(BBjTabSelectedEvent p_event!)
p_event!
- BBjTabSelectedEvent which contains tab select informationpublic void setReportTabSelectedCallback(BBjString p_eventName$, BBjString p_callbackRoutine!)
p_eventName$
- Event to specify during the callbackp_callbackRoutine!
- Callback routine to callpublic void setReportTabSelectedCallback(BBjString p_eventName$, CustomObject p_callbackObject!, BBjString p_callbackRoutine!)
p_eventName$
- Event to specify during the callbackp_callbackObject!
- Callback object to callp_callbackRoutine!
- Callback routine to callpublic void OnReportTabClose(BBjTabCloseEvent p_event!)
p_event!
- BBjTabCloseEvent which contains tab close informationpublic void OnReportTabPopup(BBjTabPopupEvent p_event!)
p_event!
- BBjTabPopupEvent which contains tab popup informationpublic void OnCloseTab(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent that contains event informationpublic void OnCloseOtherTabs(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent that contains event informationpublic void OnCloseLeftTabs(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent that contains event informationpublic void OnCloseRightTabs(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent that contains event informationpublic void setVisible(BBjNumber p_visible)
p_visible
- Specify TRUE (1) to make the tabbed view visible, otherwise FALSE (0)public void setSize(BBjNumber p_width, BBjNumber p_height)
p_width
- Width of the tabbed viewp_height
- Height of the tabbed viewpublic void setLocation(BBjNumber p_x, BBjNumber p_x)
p_x
- X location of the tabbed viewp_y
- Y location of the tabbed viewpublic void setView(BBJasperView p_view!)
p_view!
- BBJasperView which specifies the current viewpublic void selectView(BBJasperView p_view!)
p_view!
- BBJasperView which specifies the view to selectpublic BBjNumber getViewIndex(BBJasperView p_view!)
p_view!
- BBJasperView which specifies the view to find the index forpublic BBjWindow getParentWindow()
public BBjNumber getID()
public BBjNumber getX()
public BBjNumber getY()
public BBjNumber getWidth()
public BBjNumber getHeight()
public BBjNumber getFitType()
public BBJasperViewerControl getViewerControl()
public BBJasperReport getReport()
public JasperPrint getJasperPrint()
public BBJasperView getView()
public BBJasperView getViewAt(BBjNumber p_index)
p_index
- Index of view to returnpublic BBjVector getViews()
public BBjNumber getNumViews()
public BBjControl getControl(BBjString p_controlName$)
p_controlName$
- Name of the BBjControl object to obtainpublic HashMap getAllControls()
public BBjNumber getWindowOnBlankHyperlinkTarget()
public BBjNumber getTabOnParentHyperlinkTarget()
public void setWindowOnBlankHyperlinkTarget(BBjNumber p_windowOnBlankHyperlinkTarget)
Set
- to TRUE if a window is to be created when hyperlink targets are set to blank, otherwise set to FALSE to create a tabpublic void setTabOnParentHyperlinkTarget(BBjNumber p_tabOnParentHyperlinkTarget)
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 destroy()