Class Grid.AbstractGridExtension

    • Constructor Detail

      • AbstractGridExtension

        public AbstractGridExtension()
        Deprecated.
        Constructs a new Grid extension.
      • AbstractGridExtension

        public AbstractGridExtension​(Grid grid)
        Deprecated.
        Constructs a new Grid extension and extends given Grid.
        Parameters:
        grid - a grid instance
    • Method Detail

      • getItemId

        protected Object getItemId​(String rowKey)
        Deprecated.
        Gets the item id for a row key.

        A key is used to identify a particular row on both a server and a client. This method can be used to get the item id for the row key that the client has sent.

        Parameters:
        rowKey - the row key for which to retrieve an item id
        Returns:
        the item id corresponding to key
      • getColumn

        protected Grid.Column getColumn​(String columnId)
        Deprecated.
        Gets the column for a column id.

        An id is used to identify a particular column on both a server and a client. This method can be used to get the column for the column id that the client has sent.

        Parameters:
        columnId - the column id for which to retrieve a column
        Returns:
        the column corresponding to columnId
      • getParentGrid

        protected Grid getParentGrid()
        Deprecated.
        Gets the parent Grid of the renderer.
        Returns:
        parent grid
        Throws:
        IllegalStateException - if parent is not Grid
      • refreshRow

        protected void refreshRow​(Object itemId)
        Deprecated.
        Resends the row data for given item id to the client.
        Parameters:
        itemId - row to refresh
        Since:
        7.6
      • addComponentToGrid

        protected void addComponentToGrid​(Component c)
        Deprecated.
        Informs the parent Grid that this Extension wants to add a child component to it.
        Parameters:
        c - component
        Since:
        7.6
      • removeComponentFromGrid

        protected void removeComponentFromGrid​(Component c)
        Deprecated.
        Informs the parent Grid that this Extension wants to remove a child component from it.
        Parameters:
        c - component
        Since:
        7.6