com.microstrategy.web.app.gui.GuiComponent |
Title: GuiComponent.
Description: interface for gui component. Each gui component represents a gui unit like grid, report editor, object browser.
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
IsContainer()
get whether the gui component serves as a container for other gui components
| ||||||||||
abstract boolean |
IsIframeRequest()
This method is deprecated.
No replacement.
| ||||||||||
abstract String |
getDisplayMode()
get the display mode used when the GuiComponent renders itself
| ||||||||||
abstract WebGuiComponent |
getGuiComponentInfo()
get the WebGuiComponent info for this gui component.
| ||||||||||
abstract boolean |
getIsIframeRequest()
get whether the current request is an iframe request
| ||||||||||
abstract Preferences |
getPreferences()
get the Preferences object for this gui component
| ||||||||||
abstract RequestKeys |
getRequestKeys()
get the RequestKeys object for this gui component
| ||||||||||
abstract WebComponent |
getRootWebComponent()
get the root WebComponent for this gui component
| ||||||||||
abstract boolean |
isAppendNewLine()
Return whether the GUI component is configured to render a new line character
at the end of the output.
| ||||||||||
abstract boolean |
renderBlock()
the boolean indicates whether this GuiComponent allows sub json blocks to update or just pure HTML
| ||||||||||
abstract void |
setAppendNewLine(boolean appendNewLine)
Set whether the GUIComponent should render a new line character at the end of the output.
| ||||||||||
abstract void |
setDisplayMode(String newValue)
set the display mode used when the GuiComponent renders itself
| ||||||||||
abstract void |
setFormalParameter(String name, Object value)
Set the formal parameter on the GUI component.
| ||||||||||
abstract void |
setGuiComponentInfo(WebGuiComponent newValue)
set the WebGuiComponent info for this gui component.
| ||||||||||
abstract void |
setIsContainer(boolean newValue)
set whether the gui component serves as a container for other gui components
| ||||||||||
abstract void |
setIsIframeRequest(boolean newValue)
set whether the current request is an iframe request
| ||||||||||
abstract void |
setPreferences(Preferences newValue)
set the Preferences object for this gui component
| ||||||||||
abstract void |
setRenderBlock(boolean value)
set the flag to signal whether this GuiComponent allows sub json blocks to render so that partial update happens within the original GuiComponent
| ||||||||||
abstract void |
setRequestKeys(RequestKeys newValue)
set the Request Keys object for this gui component
| ||||||||||
abstract void |
setRootWebComponent(WebComponent newValue)
set the root WebComponent for this gui component
| ||||||||||
abstract void |
setStyle(String newValue)
set the style name for the gui component.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
get whether the gui component serves as a container for other gui components
This method is deprecated.
No replacement.
get whether the current request is an iframe request
get the display mode used when the GuiComponent renders itself
get the WebGuiComponent info for this gui component.
get whether the current request is an iframe request
get the Preferences object for this gui component
get the RequestKeys object for this gui component
get the root WebComponent for this gui component
Return whether the GUI component is configured to render a new line character at the end of the output.
the boolean indicates whether this GuiComponent allows sub json blocks to update or just pure HTML
Set whether the GUIComponent should render a new line character at the end of the output. By default this is set to true. You can use this method to disable rendering a new line.
set the display mode used when the GuiComponent renders itself
newValue | String the display mode:
DISPLAY_MODE_HTML - plain HTML
DISPLAY_MODE_JSON - the output will be wrapped up in a json structure in form of {id: id of the component, content: html content to be updated}
or {id: if of the component, components: sub json blocks}
|
---|
Set the formal parameter on the GUI component. These will be set on the transform which the GUI component is rendering.
name | The name of the formal paramter whose value we want to set |
---|---|
value | The value of the formal parameter |
set the WebGuiComponent info for this gui component. WebGuiComponent is one of the application configuration element
newValue | WebGuiComponent object |
---|
set whether the gui component serves as a container for other gui components
newValue | whether the gui component serves as a container for other gui components |
---|
set whether the current request is an iframe request
newValue | whether the current request is an iframe request |
---|
set the Preferences object for this gui component
newValue | the Preferences object |
---|
set the flag to signal whether this GuiComponent allows sub json blocks to render so that partial update happens within the original GuiComponent
value | boolean true if it allows sub json blocks' existence false if only plain HTML will be output as content |
---|
set the Request Keys object for this gui component
newValue | the RequestKeys object |
---|
set the root WebComponent for this gui component
newValue | the root WebComponent object |
---|
set the style name for the gui component. The style name is defined in the style catalog.
newValue | style name |
---|