Class VScrollTable.TableHead

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, 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.IsWidget, ActionOwner, Iterable<com.google.gwt.user.client.ui.Widget>
    Enclosing class:
    VScrollTable

    public class VScrollTable.TableHead
    extends com.google.gwt.user.client.ui.Panel
    implements ActionOwner
    • Constructor Detail

      • TableHead

        public TableHead()
    • Method Detail

      • updateStyleNames

        protected void updateStyleNames​(String primaryStyleName)
      • clear

        public void clear()
        Specified by:
        clear in interface com.google.gwt.user.client.ui.HasWidgets
        Overrides:
        clear in class com.google.gwt.user.client.ui.Panel
      • updateCellsFromUIDL

        public void updateCellsFromUIDL​(UIDL uidl)
      • enableColumn

        public void enableColumn​(String cid,
                                 int index)
      • getVisibleCellCount

        public int getVisibleCellCount()
      • setHorizontalScrollPosition

        public void setHorizontalScrollPosition​(int scrollLeft)
      • setColumnCollapsingAllowed

        public void setColumnCollapsingAllowed​(boolean cc)
      • disableBrowserIntelligence

        public void disableBrowserIntelligence()
      • enableBrowserIntelligence

        public void enableBrowserIntelligence()
      • getHeaderCell

        public VScrollTable.HeaderCell getHeaderCell​(String cid)
        Get's HeaderCell by it's column Key. Note that this returns HeaderCell even if it is currently collapsed.
        Parameters:
        cid - Column key of accessed HeaderCell
        Returns:
        HeaderCell
      • moveCell

        public void moveCell​(int oldIndex,
                             int newIndex)
      • iterator

        public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
        Specified by:
        iterator in interface com.google.gwt.user.client.ui.HasWidgets
        Specified by:
        iterator in interface Iterable<com.google.gwt.user.client.ui.Widget>
      • remove

        public boolean remove​(com.google.gwt.user.client.ui.Widget w)
        Specified by:
        remove in interface com.google.gwt.user.client.ui.HasWidgets
        Specified by:
        remove in class com.google.gwt.user.client.ui.Panel
      • removeCell

        public void removeCell​(String colKey)
      • 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
      • onDetach

        protected void onDetach()
        Overrides:
        onDetach in class com.google.gwt.user.client.ui.Widget
      • getColumnAlignments

        public char[] getColumnAlignments()
        Returns column alignments for visible columns
      • disableAutoColumnWidthCalculation

        public void disableAutoColumnWidthCalculation​(VScrollTable.HeaderCell source)
        Disables the automatic calculation of all column widths by forcing the widths to be "defined" thus turning off expand ratios and such.