com.vaadin.client.

Class WidgetUtil.Reference<T>

  • Type Parameters:

    T - the object type to store

    Enclosing class:

    WidgetUtil

    public static class WidgetUtil.Reference<T>
    extends Object

    Simple object to store another object.

    Since:

    8.4

    • Constructor Detail

      • Reference

        public Reference()
    • Method Detail

      • get

        public T get()

        Gets the current object.

        Returns:

        the stored object

      • set

        public void set​(T reference)

        Sets the current object.

        Parameters:

        reference - the object to store