com.vaadin.ui.

Class Grid.AbstractGridExtension<T>

    • Constructor Detail

      • AbstractGridExtension

        public AbstractGridExtension()
    • Method Detail

      • addComponentToGrid

        protected void addComponentToGrid​(Component c)

        Adds given component to the connector hierarchy of Grid.

        Parameters:

        c - the component to add

      • removeComponentFromGrid

        protected void removeComponentFromGrid​(Component c)

        Removes given component from the connector hierarchy of Grid.

        Parameters:

        c - the component to remove

      • getState

        protected AbstractGridExtensionState getState()

        Description copied from class: AbstractClientConnector

        Returns the shared state for this connector. The shared state object is shared between the server connector and the client connector. Changes are only communicated from the server to the client and not in the other direction.

        As a side effect, marks the connector dirty so any changes done to the state will be sent to the client. Use getState(false) to avoid marking the connector as dirty.

        Overrides:

        getState in class AbstractListing.AbstractListingExtension<T>

        Returns:

        The shared state for this connector. Never null.

      • getInternalIdForColumn

        protected String getInternalIdForColumn​(Grid.Column<T,​?> column)

        Returns the internal id for given column. This id should not be confused with the user-defined identifier.

        Parameters:

        column - the column

        Returns:

        internal id of given column