Class SeedsItem
- java.lang.Object
-
- com.biglybt.ui.common.table.impl.TableColumnImpl
-
- com.biglybt.ui.common.table.impl.CoreTableColumn
-
- com.biglybt.ui.swt.views.table.CoreTableColumnSWT
-
- com.biglybt.ui.swt.views.tableitems.mytorrents.SeedsItem
-
- All Implemented Interfaces:
ParameterListener
,TableCellAddedListener
,TableColumn
,TableColumnExtraInfoListener
,TableColumnCore
,java.util.Comparator<TableRowCore>
public class SeedsItem extends CoreTableColumnSWT implements TableCellAddedListener, ParameterListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
SeedsItem.Cell
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
CFG_FC_NUMPEERS
private static java.lang.String
CFG_FC_SEEDSTART
private static java.lang.String
CFG_SHOW_ICON
static java.lang.String
COLUMN_ID
static java.lang.Class
DATASOURCE_TYPE
private static org.eclipse.swt.graphics.Image
i2p_img
private int
iFC_MinSeeds
private int
iFC_NumPeers
private static org.eclipse.swt.graphics.Image
none_img
private boolean
showIcon
private static java.lang.String
textNotStarted
private static java.lang.String
textNotStartedNoScrape
private static java.lang.String
textStarted
private static java.lang.String
textStartedNoScrape
private static java.lang.String
textStartedOver
-
Fields inherited from class com.biglybt.ui.common.table.impl.TableColumnImpl
this_mon
-
Fields inherited from interface com.biglybt.pif.ui.tables.TableColumn
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEAD, ALIGN_TOP, ALIGN_TRAIL, CAT_BYTES, CAT_CONNECTION, CAT_CONTENT, CAT_ESSENTIAL, CAT_PEER_IDENTIFICATION, CAT_PROGRESS, CAT_PROTOCOL, CAT_SETTINGS, CAT_SHARING, CAT_SWARM, CAT_TIME, CAT_TRACKER, INTERVAL_GRAPHIC, INTERVAL_INVALID_ONLY, INTERVAL_LIVE, MENU_STYLE_COLUMN_DATA, MENU_STYLE_HEADER, POSITION_INVISIBLE, POSITION_LAST, TYPE_GRAPHIC, TYPE_TEXT, TYPE_TEXT_ONLY, UD_FORCE_VISIBLE
-
-
Constructor Summary
Constructors Constructor Description SeedsItem(java.lang.String sTableID)
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cellAdded(TableCell cell)
triggered when a cell is being added.void
fillTableColumnInfo(TableColumnInfo info)
Provide the app with information about your Table Columnvoid
parameterChanged(java.lang.String parameterName)
Called, when a parameter has changed.void
reset()
void
setShowIcon(boolean b)
-
Methods inherited from class com.biglybt.ui.swt.views.table.CoreTableColumnSWT
addListeners
-
Methods inherited from class com.biglybt.ui.common.table.impl.CoreTableColumn
initializeAsGraphic, initializeAsGraphic
-
Methods inherited from class com.biglybt.ui.common.table.impl.TableColumnImpl
addCellAddedListener, addCellClipboardListener, addCellDisposeListener, addCellMouseListener, addCellMouseMoveListener, addCellOtherListener, addCellRefreshListener, addCellToolTipListener, addCellVisibilityListener, addColumnExtraInfoListener, addContextMenuItem, addContextMenuItem, addDataSourceType, addDataSourceTypes, addRefreshTime, compare, doesAutoTooltip, generateDiagnostics, getAlignment, getBackgroundColor, getCellAddedListeners, getCellOtherListeners, getCellRefreshListeners, getClipboardText, getColumnAdded, getColumnExtraInfoListeners, getConsecutiveErrCount, getContextMenuItems, getForDataSourceType, getForDataSourceTypes, getForegroundColor, getIconReference, getInplaceEditorListener, getLastSortValueChange, getMaxWidth, getMinWidth, getName, getNameOverride, getPosition, getPreferredWidth, getPreferredWidthMax, getRefreshInterval, getTableID, getTitleLanguageKey, getTitleLanguageKey, getType, getUseCoreDataSource, getUserData, getUserDataString, getWidth, handlesDataSourceType, hasCellMouseMoveListener, hasCellOtherListeners, hasCellRefreshListener, hasInplaceEditorListener, initialize, initialize, invalidateCell, invalidateCells, invokeCellAddedListeners, invokeCellDisposeListeners, invokeCellMouseListeners, invokeCellRefreshListeners, invokeCellToolTipListeners, invokeCellVisibilityListeners, isDirty, isFirstLoad, isObfuscated, isPreferredWidthAuto, isRemoved, isSortAscending, isSortValueLive, isVisible, loadSettings, postConfigLoad, preAdd, preConfigSave, remove, removeCellAddedListener, removeCellClipboardListener, removeCellDisposeListener, removeCellMouseListener, removeCellMouseMoveListener, removeCellOtherListener, removeCellRefreshListener, removeCellToolTipListener, removeCellVisibilityListener, removeColumnExtraInfoListener, removeContextMenuItem, removeUserData, saveSettings, setAlignment, setAutoTooltip, setBackgroundColor, setColumnAdded, setConsecutiveErrCount, setDefaultSortAscending, setForegroundColor, setIconReference, setInplaceEditorListener, setLastSortValueChange, setMaxWidth, setMinimumRequiredUserMode, setMinWidth, setNameOverride, setObfuscation, setPosition, setPositionNoShift, setPreferredWidth, setPreferredWidthAuto, setPreferredWidthMax, setRefreshInterval, setSortAscending, setSortValueLive, setTableID, setType, setUseCoreDataSource, setUserData, setVisible, setWidth, setWidthLimits, setWidthPX, showOnlyImage, triggerColumnSizeChange
-
-
-
-
Field Detail
-
DATASOURCE_TYPE
public static final java.lang.Class DATASOURCE_TYPE
-
CFG_FC_SEEDSTART
private static final java.lang.String CFG_FC_SEEDSTART
- See Also:
- Constant Field Values
-
CFG_FC_NUMPEERS
private static final java.lang.String CFG_FC_NUMPEERS
- See Also:
- Constant Field Values
-
CFG_SHOW_ICON
private static final java.lang.String CFG_SHOW_ICON
- See Also:
- Constant Field Values
-
COLUMN_ID
public static final java.lang.String COLUMN_ID
- See Also:
- Constant Field Values
-
textStarted
private static java.lang.String textStarted
-
textStartedOver
private static java.lang.String textStartedOver
-
textNotStarted
private static java.lang.String textNotStarted
-
textStartedNoScrape
private static java.lang.String textStartedNoScrape
-
textNotStartedNoScrape
private static java.lang.String textNotStartedNoScrape
-
showIcon
private boolean showIcon
-
i2p_img
private static org.eclipse.swt.graphics.Image i2p_img
-
none_img
private static org.eclipse.swt.graphics.Image none_img
-
iFC_MinSeeds
private int iFC_MinSeeds
-
iFC_NumPeers
private int iFC_NumPeers
-
-
Method Detail
-
fillTableColumnInfo
public void fillTableColumnInfo(TableColumnInfo info)
Description copied from interface:TableColumnExtraInfoListener
Provide the app with information about your Table Column- Specified by:
fillTableColumnInfo
in interfaceTableColumnExtraInfoListener
- Overrides:
fillTableColumnInfo
in classCoreTableColumn
- Parameters:
info
- Use setters to set information
-
reset
public void reset()
- Specified by:
reset
in interfaceTableColumnCore
- Overrides:
reset
in classTableColumnImpl
-
cellAdded
public void cellAdded(TableCell cell)
Description copied from interface:TableCellAddedListener
triggered when a cell is being added.- Specified by:
cellAdded
in interfaceTableCellAddedListener
- Parameters:
cell
- TableCell that is being added
-
parameterChanged
public void parameterChanged(java.lang.String parameterName)
Description copied from interface:ParameterListener
Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.- Specified by:
parameterChanged
in interfaceParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed
-
setShowIcon
public void setShowIcon(boolean b)
-
-