Class ShortcutCaption

  • All Implemented Interfaces:
    GuiElement, ShortcutElement

    public class ShortcutCaption
    extends AbstractShortcut

    Title: ShortcutCaption.

    This class renders a button shortcut that includes some text. Depending how it was configured, it might render this:

     <div id="id" class="caption">
       <img src=.../>
     </div>
     
    or:
     <div id="id" class="caption">
       <span>Text</span>
     </div>
     
    If required, it might be enclosed by an anchor tag.
    Since:
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • ShortcutCaption

        public ShortcutCaption()
    • 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.