com.hp.lft.sdk.web

Class MenuDescription

    • Constructor Detail

      • MenuDescription

        public MenuDescription()
        Initializes a new instance of the MenuDescription class.
      • MenuDescription

        protected MenuDescription(MenuDescription.Init<?> init)
        Initializes a new instance of the MenuDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setTopLevelMenuItemsCount

        public void setTopLevelMenuItemsCount(java.lang.Integer topLevelMenuItemsCount)
        Sets the number of top level menu items contained in this menu.
        Parameters:
        topLevelMenuItemsCount - the number of top level menu items in this menu.
      • getTopLevelMenuItemsCount

        public java.lang.Integer getTopLevelMenuItemsCount()
        Returns the number of top level menu items contained in this menu.
        Returns:
        The number of top level menu items contained in this menu.
      • setTopLevelMenuItems

        public void setTopLevelMenuItems(java.lang.String[] topLevelMenuItems)
        Sets the top level menu items in this object.
        Parameters:
        topLevelMenuItems - the top level menu items in this menu.
      • getTopLevelMenuItems

        public java.lang.String[] getTopLevelMenuItems()
        Returns a collection of all top level menu items in this menu, separated by semi-colons (;).
        Returns:
        A collection of all top level menu items in this menu, separated by semi-colons (;).
      • setFirstMenuItem

        public void setFirstMenuItem(StringProperty firstMenuItem)
        Sets the first item in the list of items in this menu.
        Parameters:
        firstMenuItem - a StringProperty (or RegExpProperty) representing the first item in the list of items in this menu.
      • setFirstMenuItem

        public void setFirstMenuItem(java.lang.String firstMenuItem)
        Sets the first item in the list of items in this menu.
        Parameters:
        firstMenuItem - the first item in the list of items in this menu.
      • getFirstMenuItem

        public StringProperty getFirstMenuItem()
        Returns the first item in the list of items in this menu.
        Returns:
        the first item in the list of items in this menu.