Class PanelComponentDefinitionImpl

    • Constructor Detail

      • PanelComponentDefinitionImpl

        public PanelComponentDefinitionImpl​(boolean isLicensed)
        Creates a new PanelComponentDefinitionImpl instance.
        Parameters:
        isLicensed - Indicates whether the PanelComponent requires a license.
    • Method Detail

      • setAccessKey

        @Deprecated
        public void setAccessKey​(char accessKey)
        Deprecated.
        As off 10.0 panels do not have an access key. This setting will be ignored.
        basic setter
        Parameters:
        accessKey -
      • setHeight

        public void setHeight​(int height)
        basic setter
        Parameters:
        height -
      • isPopup

        public boolean isPopup()
        Description copied from interface: PanelComponentDefinition
        Returns true if this panel is a popup screen that is not shown in the WebManager menu.
        Specified by:
        isPopup in interface PanelComponentDefinition
        Returns:
        True if this panel is a popup screen
      • setPopup

        public void setPopup​(boolean popup)
        basic setter
        Parameters:
        popup -
      • setResizable

        public void setResizable​(boolean resizable)
        basic setter
        Parameters:
        resizable -
      • setWidth

        public void setWidth​(int width)
        basic setter
        Parameters:
        width -
      • getMenuItemPermissions

        public Permission[] getMenuItemPermissions()
        Return the permissions each one of them granting the right to open the panel
        Specified by:
        getMenuItemPermissions in interface MenuItemComponentDefinition
        Returns:
        array with permissions each one of them granting the right to open the panel
      • setMenuCategory

        public void setMenuCategory​(String menuCategory)
        Sets the WebManager menu category for the panel. For the know set of default categories please refer to constants defined in PanelComponentDefinition.
        Parameters:
        menuCategory - the category label.
        Since:
        10.0.0
      • setPanelUrl

        public void setPanelUrl​(String url)
        Sets the panel url.
        Specified by:
        setPanelUrl in interface PanelComponentDefinition
        Parameters:
        url - the relative or absolute url to render within the panel opened from the menu item
      • getPanelUrl

        public String getPanelUrl()
        Returns the panel url
        Specified by:
        getPanelUrl in interface PanelComponentDefinition
        Returns:
        the relative or absolute url to render within the panel opened from the menu item