com.hp.lft.sdk.web

Class ListBoxDescription.Init<T extends ListBoxDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • value

        public T value(java.lang.String value)
        Initializes the current text in the edit field.
        Parameters:
        value - the current text in the edit field.
        Returns:
        the description instance with the update state (builder pattern).
      • value

        public T value(StringProperty value)
        Initializes the current text in the edit field.
        Parameters:
        value - a StringProperty (or RegExpProperty) representing the current text in the edit field.
        Returns:
        the description instance with the update state (builder pattern).
      • defaultValue

        public T defaultValue(java.lang.String defaultValue)
        Initializes the initial text value, which is set when the object is reset.
        Parameters:
        defaultValue - the initial text value, which is set when the object is reset.
        Returns:
        the description instance with the update state (builder pattern).
      • defaultValue

        public T defaultValue(StringProperty defaultValue)
        Initializes the initial text value, which is set when the object is reset.
        Parameters:
        defaultValue - a StringProperty (or RegExpProperty) representing the initial text value, which is set when the object is reset.
        Returns:
        the description instance with the update state (builder pattern).
      • enabled

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

        public T multiple(java.lang.Boolean isMultiple)
        Initializes whether the user can select multiple choices.
        Parameters:
        isMultiple - true if the user can select multiple choices.
        Returns:
        the description instance with the update state (builder pattern).
      • visibleItemsCount

        public T visibleItemsCount(java.lang.Integer visibleItemsCount)
        Initializes the number of items that are displayed in the list box.
        Parameters:
        visibleItemsCount - the number of items that are displayed in the list box.
        Returns:
        the description instance with the update state (builder pattern).
      • items

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

        public T selectedItems(java.lang.String[] selectedItems)
        Initializes the selected items in the list.
        Parameters:
        selectedItems - the selected items in the list.
        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 list.
        Parameters:
        count - the number of items in the list.
        Returns:
        the description instance with the update state (builder pattern).
      • firstItem

        public T firstItem(java.lang.String firstItem)
        Initializes the first item in the list of items in the list.
        Parameters:
        firstItem - the first item in the list of items in the list.
        Returns:
        the description instance with the update state (builder pattern).
      • firstItem

        public T firstItem(StringProperty firstItem)
        Initializes the first item in the list of items in the list.
        Parameters:
        firstItem - a StringProperty (or RegExpProperty) representing the first item in the list of items in the list.
        Returns:
        the description instance with the update state (builder pattern).