Class VTreeTable

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.BlurHandler, com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.ScrollHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, DeferredWorker, Focusable, ActionOwner, VHasDropHandler, SubPartAware, Iterable<com.google.gwt.user.client.ui.Widget>

    public class VTreeTable
    extends VScrollTable
    • Field Detail

      • collapseRequest

        public boolean collapseRequest
        For internal use only. May be removed or replaced in the future.
      • colIndexOfHierarchy

        public int colIndexOfHierarchy
        For internal use only. May be removed or replaced in the future.
      • collapsedRowKey

        public String collapsedRowKey
        For internal use only. May be removed or replaced in the future.
      • animationsEnabled

        public boolean animationsEnabled
        For internal use only. May be removed or replaced in the future.
      • focusParentResponsePending

        public boolean focusParentResponsePending
        For internal use only. May be removed or replaced in the future.
    • Constructor Detail

      • VTreeTable

        public VTreeTable()
    • Method Detail

      • addAndRemoveRows

        public void addAndRemoveRows​(UIDL partialRowAdditions)
        Description copied from class: VScrollTable
        Inserts rows in the table body or removes them from the table body based on the commands in the UIDL.

        For internal use only. May be removed or replaced in the future.

        Overrides:
        addAndRemoveRows in class VScrollTable
        Parameters:
        partialRowAdditions - the UIDL containing row updates.
      • getHierarchyColumnIndex

        protected int getHierarchyColumnIndex()
        Description copied from class: VScrollTable
        This method exists for the needs of VTreeTable only. Not part of the official API, extend at your own risk. May be removed or replaced in the future.
        Overrides:
        getHierarchyColumnIndex in class VScrollTable
        Returns:
        index of TreeTable's hierarchy column, or -1 if not applicable
      • buildCaptionHtmlSnippet

        protected String buildCaptionHtmlSnippet​(UIDL uidl)
        Icons rendered into first actual column in TreeTable, not to row header cell
        Overrides:
        buildCaptionHtmlSnippet in class VScrollTable
        Parameters:
        uidl - possibly with values caption and icon
        Returns:
        html snippet containing possibly an icon + caption text
      • handleNavigation

        public boolean handleNavigation​(int keycode,
                                        boolean ctrl,
                                        boolean shift)
        For internal use only. May be removed or replaced in the future.
        Overrides:
        handleNavigation in class VScrollTable
        Returns:
        true iff the navigation event was handled
      • onBrowserEvent

        public void onBrowserEvent​(com.google.gwt.user.client.Event event)
        Specified by:
        onBrowserEvent in interface com.google.gwt.user.client.EventListener
        Overrides:
        onBrowserEvent in class com.google.gwt.user.client.ui.Widget
      • sendSelectedRows

        protected void sendSelectedRows​(boolean immediately)
        Description copied from class: VScrollTable
        Sends the selection to the server if it has been changed since the last update/visit.
        Overrides:
        sendSelectedRows in class VScrollTable
        Parameters:
        immediately - set to true to immediately send the rows
      • updateTotalRows

        public void updateTotalRows​(UIDL uidl)
        Description copied from class: VScrollTable
        For internal use only. May be removed or replaced in the future.
        Overrides:
        updateTotalRows in class VScrollTable