Interface TableColumnCore

All Superinterfaces:
Comparator<TableRowCore>, TableColumn
All Known Implementing Classes:
AlertsItem, AnnounceCountItem, ASItem, AvailabilityItem, AvailabilityItem, AverageBytesInItem, AverageBytesOutItem, AvgAvailItem, BadAvailTimeItem, BadNATCountItem, BlockCountItem, BlocksItem, BytesQueuedForUpload, CategoryIconsItem, CategoryItem, CategoryItem, CategoryItem, ChokedItem, ChokingItem, ClientIdentificationItem, ClientItem, ColumnActivityActions, ColumnActivityDate, ColumnActivityNew, ColumnActivityText, ColumnActivityType, ColumnCheckBox2, ColumnControls, ColumnDateSizer, ColumnDoneWithDND, ColumnFileCount, ColumnPeerNetwork, ColumnProgressETA, ColumnSearchSubResultTags, ColumnSizeWithDND, ColumnStream, ColumnSubscriptionActions, ColumnSubscriptionAutoDownload, ColumnSubscriptionCategory, ColumnSubscriptionDependsOn, ColumnSubscriptionEnabled, ColumnSubscriptionError, ColumnSubscriptionLastChecked, ColumnSubscriptionMaxResults, ColumnSubscriptionName, ColumnSubscriptionNbNewResults, ColumnSubscriptionNbResults, ColumnSubscriptionNew, ColumnSubscriptionNewestDate, ColumnSubscriptionNextUpdate, ColumnSubscriptionParent, ColumnSubscriptionProtocol, ColumnSubscriptionPublic, ColumnSubscriptionSubscribers, ColumnSubscriptionTag, ColumnSubscriptionUpdatePeriod, ColumnSubscriptionURL, ColumnTC_ChosenColumn, ColumnTC_Info, ColumnTC_NameInfo, ColumnTC_Sample, ColumnThumbAndName, ColumnThumbnail, ColumnTorrentSpeed, ColumnUnopened, CommentIconItem, CommentItem, CompletedCountItem, CompletedItem, CompletedItem, CompletedItem, CompletionItem, ConnectedTimeItem, ConnectHealthItem, CoreTableColumn, CoreTableColumnSWT, DateAddedItem, DateAddedItem, DateCompletedItem, DateFileCompletedItem, DateItem, DateLastActiveItem, DateLastQueuedItem, DateLastXferItem, DescriptionItem, DiscardedItem, DiskLatencyItem, DLedFromOthersItem, DoneBytesItem, DoneItem, DoneItem, DownItem, DownItem, DownloadedItem, DownloadHealthItem, DownloadNameItem, DownloadNameItem, DownloadNameItem, DownSpeedItem, DownSpeedItem, DownSpeedLimitItem, DownSpeedLimitItem, EncryptionItem, ETAItem, ExternalItem, FileAvailabilityItem, FileCRC32Item, FileCreationItem, FileETAItem, FileExtensionItem, FileExtensionItem, FileHashItemBase, FileIndexItem, FileIndexPlus1Item, FileMD5Item, FileModifiedItem, FilePrioritiesItem, FileReadSpeedItem, FilesDoneItem, FileSHA1Item, FilesItem, FilesLinkedItem, FileWriteSpeedItem, FirstPieceItem, GainItem, HandshakeReservedBytesItem, HealthItem, HostNameItem, IncomingRequestCountItem, IndexItem, InterestedItem, InterestingItem, IntervalItem, IPFilterItem, IpItem, LANItem, LastPieceItem, LastScrapeTimeItem, LastUpdateItem, LatencyItem, LeecherMaxCompletion, LeechersItem, LeftItem, LocalInterfaceItem, MaskedItem, MaxSRItem, MaxUploadsItem, MergedDataItem, MessagingItem, MinSRItem, ModeItem, MoveOnCompleteItem, NameItem, NameItem, NameItem, NameItem, NameItem, NameItem, NetworksIconsItem, NetworksItem, OnlyCDing4Item, OptimisticUnchokeItem, OutgoingRequestCountItem, PassiveItem, PathItem, PathNameItem, PeakDownItem, PeakUpItem, PeerByteIDItem, PeerCountItem, PeerFilesView.NameItem, PeerFilesView.PercentItem, PeerFilesView.PiecesItem, PeerIDItem, PeersItem, PeersItem, PeerSourceItem, PeerSourcesItem, PercentHaveTheyNeedItem, PercentHaveWeNeedItem, PercentItem, PercentItem, PersistentItem, PersistentItem, PieceCountItem, PieceItem, PieceNumberItem, PiecesDoneAndCountItem, PiecesItem, PiecesItem, PortItem, PriorityItem, PriorityItem, ProgressGraphItem, ProtocolItem, RankItem, RelocatedItem, RemainingItem, RemainingPiecesItem, ReportedDownItem, ReportedUpItem, RequestedItem, ReservedByItem, SavePathItem, ScrapeCountItem, SecondsDownloadingItem, SecondsSeedingItem, SeedCountItem, SeedsItem, SeedsItem, SeedToPeerRatioItem, SessionDownItem, SessionUpItem, ShareRatioItem, ShareRatioProgressItem, SizeBytesItem, SizeItem, SizeItem, SizeItem, SizeItem, SmoothedDownItem, SmoothedETAItem, SmoothedUpItem, SnubbedItem, SpeedItem, StateItem, StatUpItem, StatusItem, StatusItem, StatusItem, StorageTypeItem, SuperSeedingItem, SwarmAverageCompletion, SwarmAverageSpeed, SwarmMaxCompletion, SwarmTagsItem, TableColumnImpl, TagAddedToDateItem, TagColorsItem, TagIconsItem, TagsColumn, TagsItem, TagsItem, TagSortItem, TimeSinceDownloadItem, TimeSinceUploadItem, TimeToSendPieceItem, TimeUntilCompleteItem, TorrentCreateDateItem, TorrentPathItem, TorrentRelativePathItem, TorrentV2RootHashItem, TotalBytesInItem, TotalBytesOutItem, TotalDownSpeedItem, TotalSpeedItem, TrackerItem, TrackerNameItem, TrackerNextAccessItem, TrackerStatusItem, TypeItem, TypeItem, TypeItem, TypeItem, UniquePieceItem, UpdateInItem, UpDownRatioItem, UpItem, UpItem, UploadedItem, UploadHealthItem, UploadPriorityItem, UpRatioItem, UpSpeedItem, UpSpeedItem, UpSpeedLimitItem, UpSpeedLimitItem, WritersItem

public interface TableColumnCore extends TableColumn, Comparator<TableRowCore>
Core Table Column functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
See Also:
  • Method Details

    • 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
      invalid @link
      {@link TableCellCore.getDataSource()
      } and
      invalid @link
      {@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 Throwable
      Send a refresh trigger to all listeners stored in TableColumn
      Parameters:
      cell - the cell is being refreshed
      Throws:
      Throwable
      Since:
      2.1.0.0
    • getCellRefreshListeners

      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

      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
    • invokeCellMenuListeners

      void invokeCellMenuListeners(TableCellMenuEvent event)
    • 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 useful 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(Map mapSettings)
      Load width and position settings from config.
      Parameters:
      mapSettings - map to place settings into
      Since:
      2.1.0.0
    • saveSettings

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

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

      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(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(String listenerID, Object listener)
      Parameters:
      listenerID -
      listener -
      Since:
      3.1.1.1
    • removeCellOtherListener

      void removeCellOtherListener(String listenerID, Object l)
    • getCellOtherListeners

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

      boolean hasCellOtherListeners(String listenerID)
      Parameters:
      listenerID -
      Returns:
      Since:
      4.1.0.5
    • isRemoved

      boolean isRemoved()
      Returns:
      Since:
      4005
    • getColumnExtraInfoListeners

      List<TableColumnExtraInfoListener> getColumnExtraInfoListeners()
      Returns:
      Since:
      4.0.0.5
    • reset

      void reset()
    • getClipboardText

      String getClipboardText(TableCell cell)
    • handlesDataSourceType

      boolean handlesDataSourceType(Class<?> cla)
    • addDataSourceType

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

      boolean showOnlyImage()
    • getInplaceEditorListener

      TableCellInplaceEditorListener getInplaceEditorListener()
    • hasInplaceEditorListener

      boolean hasInplaceEditorListener()
    • setInplaceEditorListener

      void setInplaceEditorListener(TableCellInplaceEditorListener l)
    • getForegroundColor

      int[] getForegroundColor()
    • setForegroundColor

      void setForegroundColor(int[] rgb)
    • getBackgroundColor

      int[] getBackgroundColor()
    • setBackgroundColor

      void setBackgroundColor(int[] rgb)
    • getPreferredHeaderWidth

      int getPreferredHeaderWidth()
    • setPreferredHeaderWidth

      void setPreferredHeaderWidth(int width)
    • isDirty

      boolean isDirty()