Class AbstractADTabbox

    • Constructor Detail

      • AbstractADTabbox

        public AbstractADTabbox()
    • Method Detail

      • addTab

        public void addTab​(GridTab gTab,
                           IADTabpanel tabPanel)
        Add Tab
        Specified by:
        addTab in interface IADTabbox
        Parameters:
        gTab - grid tab model
        tabPanel -
      • isEnabledAt

        public boolean isEnabledAt​(int index)
        Parameters:
        index - of tab panel
        Returns:
      • updateSelectedIndex

        public boolean updateSelectedIndex​(int oldIndex,
                                           int newIndex)
        Specified by:
        updateSelectedIndex in interface IADTabbox
        Parameters:
        oldIndex -
        newIndex -
        Returns:
      • doTabSelectionChanged

        protected abstract void doTabSelectionChanged​(int oldIndex,
                                                      int newIndex)
      • isDisplay

        public boolean isDisplay​(int index)
        Specified by:
        isDisplay in interface IADTabbox
        Returns:
        boolean
      • canNavigateTo

        public boolean canNavigateTo​(int fromIndex,
                                     int toIndex)
        Specified by:
        canNavigateTo in interface IADTabbox
        Returns:
        boolean
      • canNavigateTo

        public boolean canNavigateTo​(int fromIndex,
                                     int toIndex,
                                     boolean checkRecordID)
      • updateTabState

        protected abstract void updateTabState()
      • getTabCount

        public int getTabCount()
        Specified by:
        getTabCount in interface IADTabbox
        Returns:
        the number of tab panels present
      • setSelectedIndex

        public void setSelectedIndex​(int newIndex)
        Specified by:
        setSelectedIndex in interface IADTabbox
        Parameters:
        newIndex - tab index