com.aelitis.azureus.ui.swt.columns
Class ColumnCheckBox
java.lang.Object
com.aelitis.azureus.ui.swt.columns.ColumnCheckBox
- All Implemented Interfaces:
- TableCellMouseListener, TableCellRefreshListener, TableColumnExtraInfoListener
- Direct Known Subclasses:
- ColumnChatFavorite, ColumnChatMsgOutstanding, ColumnTagPublic, ColumnTagRSSFeed, ColumnTagUploadPriority, ColumnTagVisible, TableColumnOTOF_Download
public abstract class ColumnCheckBox
- extends Object
- implements TableCellRefreshListener, TableColumnExtraInfoListener, TableCellMouseListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnCheckBox
public ColumnCheckBox(TableColumn column,
int width,
boolean read_only)
ColumnCheckBox
public ColumnCheckBox(TableColumn column)
ColumnCheckBox
public ColumnCheckBox(TableColumn column,
int width)
fillTableColumnInfo
public void fillTableColumnInfo(TableColumnInfo info)
- Description copied from interface:
TableColumnExtraInfoListener
- Provide the app with information about your Table Column
- Specified by:
fillTableColumnInfo
in interface TableColumnExtraInfoListener
- Parameters:
info
- Use setters to set information
getCheckBoxState
protected abstract Boolean getCheckBoxState(Object datasource)
setCheckBoxState
protected abstract void setCheckBoxState(Object datasource,
boolean set)
cellMouseTrigger
public void cellMouseTrigger(TableCellMouseEvent event)
- Description copied from interface:
TableCellMouseListener
- triggered when a mouse event for the TableCell occurs, excluding
mouse move.
- Specified by:
cellMouseTrigger
in interface TableCellMouseListener
- Parameters:
event
- Mouse event information
refresh
public void refresh(TableCell cell)
- Description copied from interface:
TableCellRefreshListener
- Triggered based on refresh interval specified in
TableColumn.getRefreshInterval()
- Specified by:
refresh
in interface TableCellRefreshListener
- Parameters:
cell
- TableCell that the refresh trigger is for
adjustSortVal
public long adjustSortVal(Object ds,
long sortVal)