Package com.biglybt.ui.swt.columns
Class ColumnCheckBox
java.lang.Object
com.biglybt.ui.swt.columns.ColumnCheckBox
- All Implemented Interfaces:
TableCellMouseListener
,TableCellRefreshListener
,TableColumnExtraInfoListener
- Direct Known Subclasses:
ColumnAllTrackersRemovable
,ColumnChatFavorite
,ColumnChatLogMessages
,ColumnChatMsgOutstanding
,ColumnChatNickShared
,ColumnChatSaveMessages
,ColumnPeerBoost
,ColumnTagFilter
,ColumnTagPublic
,ColumnTagRSSFeed
,ColumnTagUploadPriority
,ColumnTagVisible
,PrivateItem
,TableColumnOTOF_Download
public abstract class ColumnCheckBox
extends Object
implements TableCellRefreshListener, TableColumnExtraInfoListener, TableCellMouseListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UISWTGraphic
private boolean
private final UISWTGraphic
private final UISWTGraphic
-
Constructor Summary
ConstructorsConstructorDescriptionColumnCheckBox
(TableColumn column) ColumnCheckBox
(TableColumn column, int width) ColumnCheckBox
(TableColumn column, int width, boolean read_only) -
Method Summary
Modifier and TypeMethodDescriptionlong
adjustSortVal
(Object ds, long sortVal) void
triggered when a mouse event for the TableCell occurs, excluding mouse move.void
Provide the app with information about your Table Columnprotected abstract Boolean
getCheckBoxState
(Object datasource) protected boolean
isReadOnly
(Object datasource) void
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
protected abstract void
setCheckBoxState
(Object datasource, boolean set)
-
Field Details
-
tick_icon
-
tick_ro_icon
-
cross_icon
-
read_only
private boolean read_only
-
-
Constructor Details
-
ColumnCheckBox
-
ColumnCheckBox
-
ColumnCheckBox
-
-
Method Details
-
fillTableColumnInfo
Description copied from interface:TableColumnExtraInfoListener
Provide the app with information about your Table Column- Specified by:
fillTableColumnInfo
in interfaceTableColumnExtraInfoListener
- Parameters:
info
- Use setters to set information
-
getCheckBoxState
-
setCheckBoxState
-
isReadOnly
-
cellMouseTrigger
Description copied from interface:TableCellMouseListener
triggered when a mouse event for the TableCell occurs, excluding mouse move.- Specified by:
cellMouseTrigger
in interfaceTableCellMouseListener
- Parameters:
event
- Mouse event information
-
refresh
Description copied from interface:TableCellRefreshListener
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
- Specified by:
refresh
in interfaceTableCellRefreshListener
- Parameters:
cell
- TableCell that the refresh trigger is for
-
adjustSortVal
-