com.hp.lft.sdk.web

Class RadioGroupDescription.Init<T extends RadioGroupDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • enabled

        public T enabled(java.lang.Boolean isEnabled)
        Initializes whether the object is enabled.
        Parameters:
        isEnabled - true, if the object is enabled.
        Returns:
        the description instance with the update state (builder pattern).
      • type

        public T type(java.lang.String type)
        Initializes the type of object as defined in the HTML input tag.
        Overrides:
        type in class FormFieldDescription.Init<T extends RadioGroupDescription.Init<T>>
        Parameters:
        type - the type of object as defined in the HTML input tag.
        Returns:
        the description instance with the update state (builder pattern).
      • type

        public T type(StringProperty type)
        Initializes the type of object as defined in the HTML input tag.
        Overrides:
        type in class FormFieldDescription.Init<T extends RadioGroupDescription.Init<T>>
        Parameters:
        type - a StringProperty(or RegExpProperty) representing the type of object as defined in the HTML input tag.
        Returns:
        the description instance with the update state (builder pattern).
      • selectedItem

        public T selectedItem(java.lang.String selectedItem)
        Initializes the currently selected item (or null if none is selected).
        Parameters:
        selectedItem - the currently selected item (or null if none is selected).
        Returns:
        the description instance with the update state (builder pattern).
      • selectedItem

        public T selectedItem(StringProperty selectedItem)
        Initializes the currently selected item (or null if none is selected).
        Parameters:
        selectedItem - a StringProperty(or RegExpProperty) representing the currently selected item (or null if none is selected).
        Returns:
        the description instance with the update state (builder pattern).
      • selectedIndex

        public T selectedIndex(java.lang.Integer selectedIndex)
        Initializes the index of the selected item in the radio group (or -1 if none is selected).
        Parameters:
        selectedIndex - the index of the selected item in the radio group (or -1 if none is selected).
        Returns:
        the description instance with the update state (builder pattern).
      • items

        public T items(java.lang.String[] items)
        Initializes the items in the radio group.
        Parameters:
        items - the items in the radio group.
        Returns:
        the description instance with the update state (builder pattern).
      • itemsCount

        public T itemsCount(java.lang.Integer count)
        Initializes the number of items in the radio group.
        Parameters:
        count - the number of items in the radio group.
        Returns:
        the description instance with the update state (builder pattern).
      • hasSelectedItem

        public T hasSelectedItem(java.lang.Boolean hasSelectedItem)
        Initializes whether there is a selected item in the group.
        Parameters:
        hasSelectedItem - indicates whether an item is selected in the group.
        Returns:
        the description instance with the update state (builder pattern).