com.microstrategy.web.app.beans.FrameBean |
![]() |
The interface FrameBean is representing the frame web component, that might contain
any data bean and its editors, such as a Report or a Document bean.
A frame usually consists of a Menu, the data and an editor, the FrameBean
provides methods to access these elements.
A FrameBean is generally used within a page that supports iFrame updates. In this
case when the page needs to be refreshed, only the components that changed are
sent to the iFrame which then updates the main page, this improves both performance
and usability. The FrameBean provides methods for this functionality.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
closeElement(FrameElement element)
Mark as closed the corresponding FrameElement
| ||||||||||
abstract FrameElement |
getCurrentEditor()
It returns which is the current editor to be displayied.
| ||||||||||
abstract String |
getDynamicMenuName()
Name of the Shortcut object to use as Dynamic Menu
| ||||||||||
abstract String |
getEditorMessage()
This method is used to set a message related with an Editor action.
| ||||||||||
abstract Object |
getIFrameComponent(String name)
Returns the associated object associated with the iFrame component.
| ||||||||||
abstract Menu |
getMenus()
Returns the menus for this FrameBean based on the dynamicMenuName property.
| ||||||||||
abstract String |
getMessageBeforeData()
This method is deprecated.
use
getEditorMessage()
| ||||||||||
abstract String |
getPromptStyle()
Indicates actual prompt style used.
| ||||||||||
abstract WebComponent |
getTargetBean()
Returns the target bean associated with this FrameBean.
| ||||||||||
abstract boolean |
getUseIFrame()
Returns if the ReportFrame uses IFrames
| ||||||||||
abstract boolean |
isOpen(FrameElement element)
Checks if the given FrameElement is open
| ||||||||||
abstract void |
openElement(FrameElement element)
Mark as opened the corresponding FrameElement
| ||||||||||
abstract void |
setDynamicMenuName(String dynamicMenuName)
Name of the Shortcut object to use as DynamicMenu
| ||||||||||
abstract void |
setEditorMessage(String message)
This method is used to set a message related with an Editor action.
| ||||||||||
abstract void |
setMessageBeforeData(String message)
This method is deprecated.
use
setEditorMessage(String)
| ||||||||||
abstract void |
setPromptStyle(String style)
Specifies which style to use for prompt transforms.
| ||||||||||
abstract void |
setUseIFrame(boolean value)
Defines if the ReportFrame should use IFrame
| ||||||||||
abstract boolean |
shouldDisplayContent(String name)
Returns false if an iFrame component needs not to be rendered in an iFrame request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Mark as closed the corresponding FrameElement
element | the element to close |
---|
It returns which is the current editor to be displayied. Formatting editors (Grid or Graph), if current, are not considered.
Name of the Shortcut object to use as Dynamic Menu
This method is used to set a message related with an Editor action. The Editor after performing it's operation might set this message to inform the user about the success/failure of the action.
Returns the associated object associated with the iFrame component. An iFrame component is any part of the interface that can be refreshed independently when using iFrames, for example a Bean, the current editor, the menus or the editor's message.
name | the component's unique key |
---|
Returns the menus for this FrameBean based on the dynamicMenuName property.
Indicates actual prompt style used.
Returns the target bean associated with this FrameBean. The target bean is the one with the main data.
Returns if the ReportFrame uses IFrames
Checks if the given FrameElement is open
element | Element to check |
---|
Mark as opened the corresponding FrameElement
element | the element to open |
---|
Name of the Shortcut object to use as DynamicMenu
dynamicMenuName | the name ot use |
---|
This method is used to set a message related with an Editor action. The Editor after performing it's operation might set this message to inform the user about the success/failure of the action.
message | the message to be shown. |
---|
Specifies which style to use for prompt transforms.
This property indicates what prompt style to use when transforming a prompted Bean.
style | String |
---|
Defines if the ReportFrame should use IFrame
value | if true, the ReportFrame will use IFrames |
---|
Returns false if an iFrame component needs not to be rendered in an iFrame request.
name | the component to render |
---|