Class ShortcutTextcombo
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.gui.shortcuts.AbstractShortcut
-
- com.microstrategy.web.app.gui.shortcuts.ShortcutCombo
-
- com.microstrategy.web.app.gui.shortcuts.ShortcutTextcombo
-
- All Implemented Interfaces:
GuiElement,ShortcutElement
public class ShortcutTextcombo extends ShortcutCombo
Title: ShortcutTextcombo.
This class renders a
ShortcutElementbutton with text description and a down arrow for a combo box. The picker contents will have to be rendered separately using aShortcutListPickercomponent. It generates the following output:<a> <div id="id" class="combodown" ...extended parameters... > <img src=... id="id0" /> <label> descriptions <label/> <img src=1ptrans id="id1" class="arrow" /> </div> </a>- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
-
Constructor Summary
Constructors Constructor Description ShortcutTextcombo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDivContents(Tag div, java.lang.String id, boolean isEnabled)protected TaggetButton(java.lang.String id, boolean isEnabled)override to set textCombo-tooltip descriptor as the TextCombo tooltip (if any) instead of the Shortcut descriptor on the left icon.protected TaggetComboText()returns a label tag for the the combo The text of the label is fromGuiElement.getMessages()-
Methods inherited from class com.microstrategy.web.app.gui.shortcuts.ShortcutCombo
getArrow, renderElement
-
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
-
addDivContents
protected void addDivContents(Tag div, java.lang.String id, boolean isEnabled)
- Overrides:
addDivContentsin classShortcutCombo- Parameters:
div-id-isEnabled-
-
getComboText
protected Tag getComboText()
returns a label tag for the the combo The text of the label is fromGuiElement.getMessages()
-
getButton
protected Tag getButton(java.lang.String id, boolean isEnabled)
override to set textCombo-tooltip descriptor as the TextCombo tooltip (if any) instead of the Shortcut descriptor on the left icon.- Overrides:
getButtonin classShortcutCombo- Parameters:
id- StringisEnabled-- Returns:
- Tag
-
-