Class ShortcutInfo


  • public class ShortcutInfo
    extends java.lang.Object
    • Constructor Detail

      • ShortcutInfo

        public ShortcutInfo()
      • ShortcutInfo

        public ShortcutInfo​(java.lang.String lang)
    • Method Detail

      • hasBadge

        public boolean hasBadge()
        Returns:
        true if current ShortcutInfo has a badge
      • getBadgeText

        public java.lang.String getBadgeText()
      • getBadgeText

        public java.lang.String getBadgeText​(java.lang.String lang)
        Parameters:
        lang - the UserLang
        Returns:
        the badge text based on given user lang
      • setBadgeText

        public void setBadgeText​(java.lang.String badgeText,
                                 java.lang.Object... badgeTextParams)
      • setBadgeLevel

        public void setBadgeLevel​(BadgeLevel badgeLevel)
      • getBadgetTitle

        public java.lang.String getBadgetTitle()
      • getBadgeTitle

        public java.lang.String getBadgeTitle​(java.lang.String lang)
        Parameters:
        lang - the given user lang
        Returns:
        the badge title based on given userLang
      • setBadgeTitle

        public void setBadgeTitle​(java.lang.String badgeTitle,
                                  java.lang.Object... badgeTitleParams)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • getTitle

        public java.lang.String getTitle()
      • getTitle

        public java.lang.String getTitle​(java.lang.String lang)
        Parameters:
        lang - the given user lang
        Returns:
        the title of the shortcut based on given user lang
      • setTitle

        public void setTitle​(java.lang.String title,
                             java.lang.Object... titleParams)
      • getIcon

        public java.lang.String getIcon()
      • setIcon

        public void setIcon​(java.lang.String icon)