Interface ListSelectControl<V>

    • Method Detail

      • setValueRepresentationStrategy

        void setValueRepresentationStrategy​(ListSelectControl.ValueRepresentationStrategy<V> newValueRepresentationStrategy)
        Sets the strategy used to generate a component to represent each value in the model. This is a bound property
        Parameters:
        newValueRepresentationStrategy - The new strategy to create components to represent this model's values.
        Throws:
        java.lang.NullPointerException - if the provided value representation strategy is null.
        See Also:
        SelectControl.VALUE_REPRESENTATION_STRATEGY_PROPERTY
      • getComponent

        Component getComponent​(V value)
        Retrieves the component for the given value.
        Parameters:
        value - The value for which a representation component should be returned.
        Returns:
        The child component representing the given value.