com.microstrategy.web.app.beans.TabManagerBean |
![]() |
This bean will be used for a tabbed control, for handling which tab should be shown, based on the children beans defined to this instance and the tab specification of each one of them. The manager should be used only when there's the possibility of multiple tabs being shown to the user as options. If it is for sure only one is to be shown, the manager is not required, since each child bean should be independent for processing the information and rendering its contents.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TAB_MANAGER_CURRENT_TAB_NOT_SPECIFIED | Constant to represent the current tab of this manager has not been specified yet | |||||||||
int | TAB_MANAGER_TAB_SWITCH_MODE_DHTML | Constant to represent the tab switch mode of the tab manager This mode means that switching of tabs is done using DHTML | |||||||||
int | TAB_MANAGER_TAB_SWITCH_MODE_HTML | Constant to represent the tab switch mode of the tab manager This mode means that switching of tabs is done after a trip to the web server |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getActionId()
Return the action id that caused the editor to open, i.e, edit, add
| ||||||||||
abstract HashList |
getAllChildren()
From the list of all children beans defined for this manager, return a
HashList . | ||||||||||
abstract String |
getAppliesToID()
Return the id of the bone that this tab manager will apply to.
| ||||||||||
abstract int |
getCurrentTab()
Get the tab that it's currently selected for being displayed by the
Manager.
| ||||||||||
abstract String |
getSelectedTabOptions()
Get the selected options or values on each tab of the editor.
| ||||||||||
abstract String |
getSelectedTypes()
set the list of object types selected in the client.
| ||||||||||
abstract HashList |
getTabProperties()
Returns the HashList containing properties of all tabs
| ||||||||||
abstract int |
getTabSwitchMode()
Return the mode of switching tabs for the tab manager.
| ||||||||||
abstract HashList |
getVisibleChildren(boolean hideUnavailable)
From the list of children beans defined for this manager, return a
HashList
of those that are currently visible or available. | ||||||||||
abstract boolean | isPartialUpdate() | ||||||||||
abstract boolean |
isTabAvailable(TabBean childTabBean)
Returns a boolean that indicates if a child Tab bean is available for the
current tab manager bean
| ||||||||||
abstract void |
setActionId(int actionId)
Set the action id that caused the editor to open.
| ||||||||||
abstract void |
setAppliesToID(String boneId)
Set the id of the bone that this tab manager will apply to.
| ||||||||||
abstract void |
setCurrentTab(int currentTab)
Set the tab to be displayed by the Tab Manager as current one.
| ||||||||||
abstract void |
setCurrentTabName(String currentTabName)
Set the tab to be displayed by the this manager as current one by name of the tab.
| ||||||||||
abstract void | setPartialUpdate(boolean paritalUpdate) | ||||||||||
abstract void |
setSelectedTabOptions(String selectedTabOptions)
Set the selected options or values on each tab of the editor.
| ||||||||||
abstract void |
setSelectedTypes(String selectedTypes)
Set the list of object types selected in the client.
| ||||||||||
abstract void |
setTabProperties(String tabName, Object prop)
Sets bone properties for individual tabs of the editor.
| ||||||||||
abstract void |
setTabSwitchMode(int switchMode)
Set the mode of switching tabs for the tab manager.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constant to represent the current tab of this manager has not been specified yet
Constant to represent the tab switch mode of the tab manager This mode means that switching of tabs is done using DHTML
Constant to represent the tab switch mode of the tab manager This mode means that switching of tabs is done after a trip to the web server
Return the action id that caused the editor to open, i.e, edit, add
Return the id of the bone that this tab manager will apply to.
Get the tab that it's currently selected for being displayed by the Manager.
int
value representing the current tab.
Get the selected options or values on each tab of the editor. These options are normally not applied to the object.
set the list of object types selected in the client.
String
representing the list of selected objects.
Return the mode of switching tabs for the tab manager. Automatic/HTML mode
Returns a boolean that indicates if a child Tab bean is available for the current tab manager bean
childTabBean | TabBean |
---|
Set the action id that caused the editor to open. Most of the time, the action is editing the object. There are some exception like adding an image. Remembering this action would let the editor to know what action to take when the cancel button is pressed. In the case of adding an image, the editor would delete the image. But for editing an existing image, the editor would just cancel all the changes without deleting the image.
actionId | int |
---|
Set the id of the bone that this tab manager will apply to.
boneId | String |
---|
Set the tab to be displayed by the Tab Manager as current one.
currentTab | numeric identifier of the child tab to be marked as current. |
---|
Set the tab to be displayed by the this manager as current one by name of the tab.
currentTabName | String representing which tab is to be selected as current by name |
---|
Set the selected options or values on each tab of the editor. These options are normally not applied to the object.
Set the list of object types selected in the client.
selectedTypes | String representing the list of selected objects.
|
---|
Sets bone properties for individual tabs of the editor.
prop | a JSonGenerator object containing all property-value pairs that need to be associated with the tab |
---|
Set the mode of switching tabs for the tab manager. Automatic/HTML mode Automatic - means, we use DHTML to switch tabs. HTML - means, switching tabs will go back to the web server
switchMode | int |
---|