Class ShortcutDefault

  • All Implemented Interfaces:
    GuiElement, ShortcutElement
    Direct Known Subclasses:

    public class ShortcutDefault
    extends AbstractShortcut
    This class renders a default shortcut, that is when no type has been specified. It uses the following:

    If imgage and link have been specified:

     <a><img src  ...attributes... /></a>
    If no link has been defined but we have image:
     <img  title=text ...attributes... />
    If link is available but no imgage and no extended attributes:
    If link and extended attributes are available, but no image:
     <a><span ...attributes... >text</span></a>
    When no link, image or attributes are available:
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • ShortcutDefault

        public ShortcutDefault()
    • 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
        renderElement in class AbstractGuiElement
        out - MarkupOutput instance where the HTML information to display to the user is to be saved.
        MarkupOutput instance initialized with the HTML information to display to the user.