Class ShortcutCombo
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.gui.shortcuts.AbstractShortcut
-
- com.microstrategy.web.app.gui.shortcuts.ShortcutCombo
-
- All Implemented Interfaces:
GuiElement
,ShortcutElement
- Direct Known Subclasses:
ShortcutTextcombo
public class ShortcutCombo extends AbstractShortcut
Title: ShortcutCombo.
This class renders a
ShortcutElement
button with the down arrow for a combo box. The picker contents will have to be rendered separately using aShortcutListPicker
component. It generates the following output:<a> <div id="id" class="combodown" ...extended parameters... > <img src=... id="id0" /> <img src=1ptrans id="id1" class="arrow" /> </div> </a>
- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
-
Constructor Summary
Constructors Constructor Description ShortcutCombo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDivContents(Tag div, java.lang.String id, boolean isEnabled)
protected Tag
getArrow(java.lang.String id, boolean isEnabled)
get pulldown arrow icon for toolbar ...protected Tag
getButton(java.lang.String id, boolean isEnabled)
get Back & Forward icon for toolbar ...boolean
renderElement(MarkupOutput out)
Render the instance according to the information provided on its configuration.-
Methods inherited from class com.microstrategy.web.app.gui.shortcuts.AbstractShortcut
addAttributesToTag, get1ptrans, getFeaturesRoot, getImgTag, getLinkTag, getShortcut, isIncludeSubItems, renderElement, setIncludeSubItems, setShortcut
-
Methods inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
getAppContext, getDescriptor, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getTagsFactory, getUseIFrame, getWebComponent, isDhtml, isIFrameEnabled, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.app.gui.GuiElement
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getUseIFrame, getWebComponent, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
-
-
-
Method Detail
-
renderElement
public boolean renderElement(MarkupOutput out)
Render the instance according to the information provided on its configuration.- Specified by:
renderElement
in interfaceGuiElement
- Overrides:
renderElement
in classAbstractGuiElement
- Parameters:
out
-MarkupOutput
instance where the HTML information to display to the user is to be saved.- Returns:
MarkupOutput
instance initialized with the HTML information to display to the user.
-
addDivContents
protected void addDivContents(Tag div, java.lang.String id, boolean isEnabled)
- Parameters:
div
-id
-isEnabled
-- Since:
- MicroStrategy Web 9.0.0
-
getArrow
protected Tag getArrow(java.lang.String id, boolean isEnabled)
get pulldown arrow icon for toolbar ...- Parameters:
id
-isEnabled
-- Since:
- MicroStrategy Web 9.0.0
-
getButton
protected Tag getButton(java.lang.String id, boolean isEnabled)
get Back & Forward icon for toolbar ...- Parameters:
id
-isEnabled
-- Since:
- MicroStrategy Web 9.0.0
-
-