API svyNavigation
Classes
Functions
addNavigationListener(listener)
createNavigationItem([formName], [text], [tooltipText]) ⇒ NavigationItem
Creates a NavigationItem object to the given formName
getCurrentItem() ⇒ NavigationItem
getVersion() ⇒ String
Gets the version of this module
open(itemOrID, [dataToShow], [dataSelectionType]) ⇒ Boolean
Opens the navigation item. If the item already exists in the stack, then all items after the specified item are closed beforeClose event will be fired allowing a chance to react or cancel afterOpen will fire allowing UIs to update
removeNavigationListener(listener) ⇒ Boolean
NavigationItem
.getCustomData() ⇒
*
.getFormName() ⇒
String
.getID() ⇒
String
.getText() ⇒
String
.getTooltipText() ⇒
String
navigationItem.getCustomData() ⇒ *
*
Example
navigationItem.getFormName() ⇒ String
String
Gets the name of the form associated with this navigation item.
navigationItem.getID() ⇒ String
String
navigationItem.getText() ⇒ String
String
navigationItem.getTooltipText() ⇒ String
String
navigationItem.setCustomData(customData) ⇒ NavigationItem
NavigationItem
Example
navigationItem.setFormName(formName) ⇒ NavigationItem
NavigationItem
Sets the name of the form associated with this navigation item.
navigationItem.setText(text) ⇒ NavigationItem
NavigationItem
navigationItem.setTooltipText(tooltipText) ⇒ NavigationItem
NavigationItem
navigationItem.stringify()
new NavigationItem([formName], [text], [tooltipText])
NAVIGATION_EVENT
Properties
NAVIGATION_SELECTION_TYPE
Enumeration for the data selection type specified in the open function. The chosen selection type is passed to the open function [open](@link open) [afterOpen](@link afterOpen) and needs to be implemented accordingly. The Default value is LOAD_RECORDS
See: open(itemOrId, dataToShow, dataSelectionType) Properties
addNavigationListener(listener)
Example
createNavigationItem([formName], [text], [tooltipText]) ⇒ NavigationItem
NavigationItem
Creates a NavigationItem object to the given formName
getCurrentItem() ⇒ NavigationItem
NavigationItem
getVersion() ⇒ String
String
Gets the version of this module
Returns: String
- the version of the module using the format Major.Minor.Revision
open(itemOrID, [dataToShow], [dataSelectionType]) ⇒ Boolean
Boolean
Opens the navigation item. If the item already exists in the stack, then all items after the specified item are closed beforeClose event will be fired allowing a chance to react or cancel afterOpen will fire allowing UIs to update
Example
removeNavigationListener(listener) ⇒ Boolean
Boolean
Example
Last updated