|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableCellCore
Core Table Cell functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
org.gudy.azureus2.ui.swt.views.table.impl.TableCellImpl
Field Summary | |
---|---|
static int |
TOOLTIPLISTENER_HOVER
|
static int |
TOOLTIPLISTENER_HOVERCOMPLETE
|
Method Summary | |
---|---|
void |
dispose()
dispose of the cell |
int |
getCursorID()
Get the cursor ID we are currently using XXX Should NOT be SWT.CURSOR_ constants! |
Object |
getDefaultToolTip()
|
String |
getObfusticatedText()
Return the text used when generating diagnostics |
TableColumnCore |
getTableColumnCore()
|
TableRowCore |
getTableRowCore()
Retrieve the row that this cell belongs to |
boolean |
getVisuallyChangedSinceRefresh()
Returns whether the cell has visually changed since the last refresh call. |
void |
invalidate(boolean bMustRefresh)
|
void |
invokeMouseListeners(TableCellMouseEvent event)
Trigger all the mouse listeners that have been addded to this cell |
void |
invokeToolTipListeners(int type)
Trigger all the tooltip listeners that have been added to this cell |
void |
invokeVisibilityListeners(int visibility,
boolean invokeColumnListeners)
Trigger all the visibility listeners that have been added to this cell. |
boolean |
isMouseOver()
|
boolean |
isUpToDate()
Returns whether the cell will need updating when it's visible again |
void |
locationChanged()
Location of the cell has changed |
boolean |
needsPainting()
Retrieve whether the cell need any paint calls (graphic) |
void |
redraw()
|
boolean |
refresh()
Refresh the cell, including graphic types |
boolean |
refresh(boolean bDoGraphics)
Refresh the cell |
boolean |
refresh(boolean bDoGraphics,
boolean bRowVisible)
Refresh the cell. |
boolean |
refresh(boolean bDoGraphics,
boolean bRowVisible,
boolean bCellVisible)
Refresh the cell. |
void |
refreshAsync()
|
boolean |
setCursorID(int cursorID)
Set the cursor ID that should be used for the cell |
void |
setDefaultToolTip(Object tt)
Sets tooltip to be shown in absence of an explicit one |
void |
setUpToDate(boolean upToDate)
Sets whether the cell will need updating when it's visible again |
Methods inherited from interface org.gudy.azureus2.plugins.ui.tables.TableCell |
---|
addDisposeListener, addListeners, addMouseListener, addRefreshListener, addToolTipListener, getBackground, getBackgroundGraphic, getClipboardText, getDataSource, getForeground, getGraphic, getHeight, getMarginHeight, getMarginWidth, getMaxLines, getMouseOffset, getSortValue, getTableColumn, getTableID, getTableRow, getText, getToolTip, getWidth, invalidate, isDisposed, isShown, isValid, removeDisposeListener, removeMouseListener, removeRefreshListener, removeToolTipListener, setFillCell, setForeground, setForeground, setForegroundToErrorColor, setGraphic, setMarginHeight, setMarginWidth, setSortValue, setSortValue, setSortValue, setText, setToolTip |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final int TOOLTIPLISTENER_HOVER
static final int TOOLTIPLISTENER_HOVERCOMPLETE
Method Detail |
---|
void invalidate(boolean bMustRefresh)
boolean refresh(boolean bDoGraphics)
bDoGraphics
- Whether to update graphic cellsboolean refresh()
boolean refresh(boolean bDoGraphics, boolean bRowVisible, boolean bCellVisible)
bDoGraphics
- Whether to update graphic cellsbRowVisible
- Assumed visibility state of rowbCellVisible
- Assumed visibility state of the cellboolean refresh(boolean bDoGraphics, boolean bRowVisible)
bDoGraphics
- Whether to update graphic cellsbRowVisible
- Visibility state of rowvoid dispose()
boolean needsPainting()
void locationChanged()
TableRowCore getTableRowCore()
TableColumnCore getTableColumnCore()
void invokeToolTipListeners(int type)
type
- TOOLTIPLISTENER_HOVER
, TOOLTIPLISTENER_HOVERCOMPLETE
void invokeMouseListeners(TableCellMouseEvent event)
event
- event to triggervoid invokeVisibilityListeners(int visibility, boolean invokeColumnListeners)
visibility
- See TableCellVisibilityListener
.VISIBILITY_* constantsvoid setUpToDate(boolean upToDate)
upToDate
- boolean isUpToDate()
String getObfusticatedText()
int getCursorID()
boolean setCursorID(int cursorID)
cursor_hand
-
boolean isMouseOver()
boolean getVisuallyChangedSinceRefresh()
void refreshAsync()
void redraw()
void setDefaultToolTip(Object tt)
str
- Object getDefaultToolTip()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |