Class ShortcutTextcombo

  • All Implemented Interfaces:
    GuiElement, ShortcutElement

    public class ShortcutTextcombo
    extends ShortcutCombo

    Title: ShortcutTextcombo.

    This class renders a ShortcutElement button with text description and a down arrow for a combo box. The picker contents will have to be rendered separately using a ShortcutListPicker component. 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
    • Constructor Detail

      • ShortcutTextcombo

        public ShortcutTextcombo()
    • Method Detail

      • addDivContents

        protected void addDivContents​(Tag div,
                                      java.lang.String id,
                                      boolean isEnabled)
        Overrides:
        addDivContents in class ShortcutCombo
        Parameters:
        div -
        id -
        isEnabled -
      • getComboText

        protected Tag getComboText()
        returns a label tag for the the combo The text of the label is from GuiElement.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:
        getButton in class ShortcutCombo
        Parameters:
        id - String
        isEnabled -
        Returns:
        Tag