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, ColumnTagHideWhenEmpty, ColumnTagPublic, ColumnTagRSSFeed, ColumnTagUploadPriority, ColumnTagVisible, PrivateItem, TableColumnOTOF_Download
public abstract class ColumnCheckBox
extends Object
implements TableCellRefreshListener, TableColumnExtraInfoListener, TableCellMouseListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UISWTGraphicprivate booleanprivate final UISWTGraphicprivate final UISWTGraphic -
Constructor Summary
ConstructorsConstructorDescriptionColumnCheckBox(TableColumn column) ColumnCheckBox(TableColumn column, int width) ColumnCheckBox(TableColumn column, int width, boolean read_only) -
Method Summary
Modifier and TypeMethodDescriptionlongadjustSortVal(Object ds, long sortVal) voidtriggered when a mouse event for the TableCell occurs, excluding mouse move.voidProvide the app with information about your Table Columnprotected abstract BooleangetCheckBoxState(Object datasource) protected booleanisReadOnly(Object datasource) voidTriggered based on refresh interval specified inTableColumn.getRefreshInterval()protected abstract voidsetCheckBoxState(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:TableColumnExtraInfoListenerProvide the app with information about your Table Column- Specified by:
fillTableColumnInfoin interfaceTableColumnExtraInfoListener- Parameters:
info- Use setters to set information
-
getCheckBoxState
-
setCheckBoxState
-
isReadOnly
-
cellMouseTrigger
Description copied from interface:TableCellMouseListenertriggered when a mouse event for the TableCell occurs, excluding mouse move.- Specified by:
cellMouseTriggerin interfaceTableCellMouseListener- Parameters:
event- Mouse event information
-
refresh
Description copied from interface:TableCellRefreshListenerTriggered based on refresh interval specified inTableColumn.getRefreshInterval()- Specified by:
refreshin interfaceTableCellRefreshListener- Parameters:
cell- TableCell that the refresh trigger is for
-
adjustSortVal
-