Package com.microstrategy.web.app.gui
Interface ShortcutListElement
-
- All Superinterfaces:
GuiElement
- All Known Implementing Classes:
AbstractShortcutList,ShortcutListPicker,ShortcutListPickerElement,ShortcutListStyles
public interface ShortcutListElement extends GuiElement
This is the interface for a GUI Element that renders a single ShortcutList Configuration Element. It just extends the GuiElement interface.- Since:
- MicroStrategy Web 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetGroupCss()Get the css class for the main div that contains theShortcutList.java.lang.StringgetId()Get the id for the main div that contains theShortcutList.ShortcutListgetShortcutList()Get theShortcutListinstance to be rendered by this elementbooleanisIncludeSubItems()Get the flag value that indicates whether the HTML should include the subitems content when this element is rendered.booleanisShowPrefixElements()Indicates whether there are children elements maked as "Prefix" that should be included in the output as such.booleanisShowSuffixElements()Indicates whether there are children elements maked as "Suffix" that should be included in the output as such.voidsetGroupCss(java.lang.String name)Set the css class for the main div that contains theShortcutList.voidsetId(java.lang.String id)Set the id for the main div that contains theShortcutList.voidsetIncludeSubItems(boolean value)Set the flag value that indicates whether the HTML should include the subitems content when this element is rendered.voidsetShortcutList(ShortcutList _config)Set theShortcutListinstance to be rendered by this elementvoidsetShowPrefixElements(boolean value)Set the boolean flag value that indicates whether there are children elements maked as "Prefix" that should be included in the output as such.voidsetShowSuffixElements(boolean showSuffixElements)Set the boolean flag value that indicates whether there are children elements maked as "Suffix" that should be included in the output as such.-
Methods inherited from interface com.microstrategy.web.app.gui.GuiElement
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getUseIFrame, getWebComponent, renderElement, renderElement, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
-
-
-
Method Detail
-
setShortcutList
void setShortcutList(ShortcutList _config)
Set theShortcutListinstance to be rendered by this element- Parameters:
_config-ShortcutListinstance to be rendered by this GUI element.
-
getShortcutList
ShortcutList getShortcutList()
Get theShortcutListinstance to be rendered by this element- Returns:
- the current
ShortcutListinstance associated with this element
-
setIncludeSubItems
void setIncludeSubItems(boolean value)
Set the flag value that indicates whether the HTML should include the subitems content when this element is rendered.- Parameters:
value- boolean true if shortcut should include it automatically.
-
isIncludeSubItems
boolean isIncludeSubItems()
Get the flag value that indicates whether the HTML should include the subitems content when this element is rendered.- Returns:
- boolean true if subitems content will be included when the element is rendered.
-
setShowPrefixElements
void setShowPrefixElements(boolean value)
Set the boolean flag value that indicates whether there are children elements maked as "Prefix" that should be included in the output as such.- Parameters:
value- boolean true if these children should be rendered.
-
isShowPrefixElements
boolean isShowPrefixElements()
Indicates whether there are children elements maked as "Prefix" that should be included in the output as such.- Returns:
- boolean true if children marked as "Prefix" are included when the element is rendered.
-
setShowSuffixElements
void setShowSuffixElements(boolean showSuffixElements)
Set the boolean flag value that indicates whether there are children elements maked as "Suffix" that should be included in the output as such.- Parameters:
showSuffixElements-booleanvalue indicating if these children should be rendered.
-
isShowSuffixElements
boolean isShowSuffixElements()
Indicates whether there are children elements maked as "Suffix" that should be included in the output as such.- Returns:
- boolean true if children marked as "Suffix" are included when the element is rendered.
-
setGroupCss
void setGroupCss(java.lang.String name)
Set the css class for the main div that contains theShortcutList.- Parameters:
name- the new css class to use. By default the value is "group:
-
getGroupCss
java.lang.String getGroupCss()
Get the css class for the main div that contains theShortcutList.- Returns:
- the current css class for the main div that contains the ShortcutList.
-
setId
void setId(java.lang.String id)
Set the id for the main div that contains theShortcutList.- Parameters:
id-Stringvalue with the identifier for the instance.
-
getId
java.lang.String getId()
Get the id for the main div that contains theShortcutList.- Returns:
- the current id for the main div that contains the ShortcutList. If an id has not been set it uses the name of the associated ShortcutList
-
-