Class ShortcutDefault
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.gui.shortcuts.AbstractShortcut
-
- com.microstrategy.web.app.gui.shortcuts.ShortcutDefault
-
- All Implemented Interfaces:
GuiElement
,ShortcutElement
- Direct Known Subclasses:
ShortcutPickerOption
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:<a>text</a>
If link and extended attributes are available, but no image:<a><span ...attributes... >text</span></a>
When no link, image or attributes are available:<a>text</a>
- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
-
Constructor Summary
Constructors Constructor Description ShortcutDefault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
renderElement(MarkupOutput out)
Render the instance according to the information provided on its configuration.-
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
-
renderElement
public boolean renderElement(MarkupOutput out)
Render the instance according to the information provided on its configuration.- Specified by:
renderElement
in interfaceGuiElement
- Overrides:
renderElement
in classAbstractGuiElement
- 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.
-
-