Class MenuEntryModel

    • Constructor Detail

      • MenuEntryModel

        protected MenuEntryModel()
    • Method Detail

      • getText

        public String getText()
        Specified by:
        getText in interface IMenuEntryModel
        Returns:
        The name of this menu entry, as shown in the menu.
      • getId

        public String getId()
        Specified by:
        getId in interface IMenuEntryModel
        Returns:
        The unique ID of this menu entry. Can be used as an HTML id.
      • getHref

        public String getHref()
        Specified by:
        getHref in interface IMenuEntryModel
        Returns:
        The link to this menu entry. For internal pages, this is the relative link.
      • getHelpID

        public String getHelpID()
        Specified by:
        getHelpID in interface IMenuEntryModel
        Returns:
        The ID for the help page for this menu entry. The help pages are currently located at http://help.formcycle.eu
      • isRenderedOnDash

        public boolean isRenderedOnDash()
        Specified by:
        isRenderedOnDash in interface IMenuEntryModel
        Returns:
        Whether this item is available on the client (normal) dashboard.
      • isAccessable

        public boolean isAccessable()
        Specified by:
        isAccessable in interface IMenuEntryModel
        Returns:
        Whether the current user is allowed to access this menu entry.
      • setText

        public void setText​(String text)
      • setDescription

        public void setDescription​(String description)
      • setId

        public void setId​(String id)
      • setIcon

        public void setIcon​(IGuiIcon icon)
      • getStyleClass

        public String getStyleClass()
      • setStyleClass

        public void setStyleClass​(String styleClass)
      • setHref

        public void setHref​(String href)
      • setHelpID

        public void setHelpID​(String helpID)
      • setRendered

        public void setRendered​(boolean rendered)
      • setRenderedOnDash

        public void setRenderedOnDash​(boolean renderedOnDash)
      • setAdminDashCategory

        public void setAdminDashCategory​(EAdminDashCategory adminDashCategory)
      • setExternal

        public void setExternal​(boolean external)
      • setAccessable

        public void setAccessable​(boolean accessable)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setTarget

        public void setTarget​(String target)
      • setParent

        public void setParent​(MenuEntryModel parent)
        Specified by:
        setParent in interface IMenuEntryModel
        Parameters:
        parent - The parent of this entry, or null if it is a root entry.
      • isHasRenderedChildren

        public boolean isHasRenderedChildren()
        Specified by:
        isHasRenderedChildren in interface IMenuEntryModel
        Returns:
        Whether this entry contains any child that is rendered.
      • isLicensed

        @Deprecated
        public boolean isLicensed()
        Deprecated.
        Specified by:
        isLicensed in interface IMenuEntryModel
        Returns:
        true if the license allows this feature, false otherwise.
      • setLicensed

        @Deprecated
        public void setLicensed​(boolean licensed)
        Deprecated.