Interface TableColumnCore

    • Method Detail

      • setColumnAdded

        void setColumnAdded()
        Set the internal flag specifying whether the column has been added to the TableColumnManager. Some functions can not be run after a column has been added.
        Since:
        2.1.0.0
      • getColumnAdded

        boolean getColumnAdded()
        Retrieve whether the column has been added to the TableColumnManager
        Returns:
        true - Column has been added
        false - Column has not been added
        Since:
        2.1.0.0
      • setUseCoreDataSource

        void setUseCoreDataSource​(boolean bCoreDataSource)
        Changes what {@link TableCellCore.getDataSource()} and {@link TableRowCore.getDataSource()} return.
        Parameters:
        bCoreDataSource - true - returns a core object
        false - returns a plugin object (if available)
        Since:
        2.1.0.0
      • getUseCoreDataSource

        boolean getUseCoreDataSource()
        Retrieve whether a core or plugin object is sent via getDataSource()
        Returns:
        true - returns a core object
        false - returns a plugin object (if available)
        Since:
        2.1.0.0
      • invokeCellRefreshListeners

        void invokeCellRefreshListeners​(TableCell cell,
                                        boolean fastRefresh)
                                 throws java.lang.Throwable
        Send a refresh trigger to all listeners stored in TableColumn
        Parameters:
        cell - the cell is being refreshed
        Throws:
        java.lang.Throwable
        Since:
        2.1.0.0
      • getCellRefreshListeners

        java.util.List getCellRefreshListeners()
        Retrieve all the refresh listeners for the cell
        Returns:
        Cell refresh listeners
        Since:
        2.5.0.0
      • invokeCellAddedListeners

        void invokeCellAddedListeners​(TableCell cell)
        Send a cellAdded trigger to all listeners stored in TableColumn
        Parameters:
        cell - the cell is being added
        Since:
        2.1.0.0
      • getCellAddedListeners

        java.util.List getCellAddedListeners()
        Retreive all the Cell Added listeners
        Returns:
        cell added listeners for this cell
        Since:
        2.5.0.0
      • invokeCellDisposeListeners

        void invokeCellDisposeListeners​(TableCell cell)
        Send a dispose trigger to all listeners stored in TableColumn
        Parameters:
        cell - the cell is being disposed
        Since:
        2.1.0.0
      • invokeCellToolTipListeners

        void invokeCellToolTipListeners​(TableCellCore cell,
                                        int type)
        Send a tool tip event to the tool tip listeners
        Parameters:
        cell - Cell to get the tool tip event
        type -
        Since:
        2.1.0.2
      • invokeCellMouseListeners

        void invokeCellMouseListeners​(TableCellMouseEvent event)
        Send a mouse event to the cell mouse listeners
        Parameters:
        event - Mouse Event to send
        Since:
        2.4.0.0
      • invokeCellVisibilityListeners

        void invokeCellVisibilityListeners​(TableCellCore cell,
                                           int visibility)
        Send a visibility event to the cell's visibility listeners
        Parameters:
        visibility - Visibility state
        Since:
        2.5.0.2
      • setPositionNoShift

        void setPositionNoShift​(int position)
        Sets the position of the column without adjusting the other columns. This will cause duplicate columns, and is only usefull if you are adjusting the positions of multiple columns at once.
        Parameters:
        position - new position (0 based)
        Since:
        2.1.0.0
      • loadSettings

        void loadSettings​(java.util.Map mapSettings)
        Load width and position settings from config.
        Parameters:
        mapSettings - map to place settings into
        Since:
        2.1.0.0
      • saveSettings

        void saveSettings​(java.util.Map mapSettings)
        Save width and position settings to config.
        Parameters:
        mapSettings - map to place settings into
        Since:
        2.1.0.0
      • getTitleLanguageKey

        java.lang.String getTitleLanguageKey()
        Returns the key in the properties bundle that has the title of the column.
        Returns:
        Title's language key
      • getTitleLanguageKey

        java.lang.String getTitleLanguageKey​(boolean with_renames)
      • getConsecutiveErrCount

        int getConsecutiveErrCount()
        Returns:
        # of consecutive errors
        Since:
        2.1.0.0
      • setConsecutiveErrCount

        void setConsecutiveErrCount​(int iCount)
        Parameters:
        iCount - # of consecutive errors
        Since:
        2.1.0.0
      • removeContextMenuItem

        void removeContextMenuItem​(TableContextMenuItem menuItem)
        Parameters:
        menuItem -
        Since:
        2.1.0.0
      • getContextMenuItems

        TableContextMenuItem[] getContextMenuItems​(int menuStyle)
        Returns:
        Since:
        2.1.0.0
      • hasCellRefreshListener

        boolean hasCellRefreshListener()
        Returns:
        Since:
        2.5.0.0
      • getLastSortValueChange

        long getLastSortValueChange()
        Returns:
        Since:
        2.5.0.0
      • setLastSortValueChange

        void setLastSortValueChange​(long lastSortValueChange)
        Parameters:
        lastSortValueChange -
        Since:
        2.5.0.0
      • setSortValueLive

        void setSortValueLive​(boolean live)
        Parameters:
        live -
        Since:
        2.5.0.0
      • isSortValueLive

        boolean isSortValueLive()
        Returns:
        Since:
        2.5.0.0
      • addRefreshTime

        void addRefreshTime​(long ms)
        Parameters:
        ms -
        Since:
        2.5.0.0
      • generateDiagnostics

        void generateDiagnostics​(IndentWriter writer)
        Parameters:
        writer -
        Since:
        2.5.0.0
      • setTableID

        void setTableID​(java.lang.String tableID)
        Parameters:
        tableID -
        Since:
        2.5.0.2
      • isSortAscending

        boolean isSortAscending()
        Returns:
        Since:
        2.5.0.2
      • setSortAscending

        void setSortAscending​(boolean bAscending)
        Parameters:
        bAscending -
        Since:
        2.5.0.2
      • setDefaultSortAscending

        void setDefaultSortAscending​(boolean bAscending)
        Parameters:
        bAscending -
        Since:
        4.7.2.1
      • hasCellMouseMoveListener

        boolean hasCellMouseMoveListener()
        Returns:
        Since:
        3.0.1.1
      • triggerColumnSizeChange

        void triggerColumnSizeChange​(int diff)
      • setAutoTooltip

        void setAutoTooltip​(boolean auto_tooltip)
      • doesAutoTooltip

        boolean doesAutoTooltip()
      • addCellOtherListener

        void addCellOtherListener​(java.lang.String listenerID,
                                  java.lang.Object listener)
        Parameters:
        listenerID -
        listener -
        Since:
        3.1.1.1
      • removeCellOtherListener

        void removeCellOtherListener​(java.lang.String listenerID,
                                     java.lang.Object l)
      • getCellOtherListeners

        java.lang.Object[] getCellOtherListeners​(java.lang.String listenerID)
        Parameters:
        listenerID -
        Returns:
        Since:
        3.1.1.1
      • hasCellOtherListeners

        boolean hasCellOtherListeners​(java.lang.String listenerID)
        Parameters:
        listenerID -
        Returns:
        Since:
        4.1.0.5
      • isRemoved

        boolean isRemoved()
        Returns:
        Since:
        4005
      • reset

        void reset()
      • getClipboardText

        java.lang.String getClipboardText​(TableCell cell)
      • handlesDataSourceType

        boolean handlesDataSourceType​(java.lang.Class<?> cla)
      • addDataSourceType

        void addDataSourceType​(java.lang.Class<?> forDataSourceType)
        Parameters:
        forDataSourceType -
        Since:
        4.6.0.1
      • showOnlyImage

        boolean showOnlyImage()
      • hasInplaceEditorListener

        boolean hasInplaceEditorListener()
      • getForegroundColor

        int[] getForegroundColor()
      • setForegroundColor

        void setForegroundColor​(int[] rgb)
      • getBackgroundColor

        int[] getBackgroundColor()
      • setBackgroundColor

        void setBackgroundColor​(int[] rgb)
      • isDirty

        boolean isDirty()