Class 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 a ShortcutListPicker 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
    • Constructor Detail

      • ShortcutCombo

        public ShortcutCombo()
    • Method Detail

      • renderElement

        public boolean renderElement​(MarkupOutput out)
        Render the instance according to the information provided on its configuration.
        Specified by:
        renderElement in interface GuiElement
        Overrides:
        renderElement in class AbstractGuiElement
        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