com.hp.lft.sdk.java

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

      • setSubMenusCount

        public void setSubMenusCount(java.lang.Integer count)
        Sets the number of menu items that are direct children of this menu.
        Parameters:
        count - the number of child menu items.
      • getSubMenusCount

        public java.lang.Integer getSubMenusCount()
        Returns the number of menu items that are direct children of this menu.
        Returns:
        the number of child menu items. If this is a last-level menu, returns 0.
      • setText

        public void setText(java.lang.String text)
        Sets the menu's text.
        Parameters:
        text - the text.
      • getText

        public StringProperty getText()
        Returns the menu's text.
        Returns:
        the text.