|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableRowCore
Core Table Row functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
Method Summary | |
---|---|
void |
delete()
Delete the row |
Object |
getDataSource(boolean bCoreObject)
Retrieve the Data Source related to this row |
int |
getHeight()
|
int |
getIndex()
|
TableRowCore |
getParentRowCore()
|
TableCellCore |
getSortColumnCell(String hint)
|
int |
getSubItemCount()
|
TableRowCore |
getSubRow(int i)
|
TableRowCore[] |
getSubRowsWithNull()
|
TableCellCore |
getTableCellCore(String field)
Retrieve a cell based on the supplied value |
TableView |
getView()
|
void |
invalidate()
Invalidates Row |
void |
invalidate(boolean mustRefresh)
|
void |
invokeMouseListeners(TableRowMouseEvent event)
|
boolean |
isExpanded()
|
boolean |
isInPaintItem()
|
boolean |
isMouseOver()
|
boolean |
isRowDisposed()
|
boolean |
isVisible()
Retreive whether the row is visible to the user. |
TableRowCore |
linkSubItem(int indexOf)
|
void |
locationChanged(int iStartColumn)
Location of a column has changed |
void |
redraw()
like refresh, except a different name to confuse us. |
void |
redraw(boolean doChildren)
|
List |
refresh(boolean bDoGraphics)
Refresh all the cells in the row |
List<TableCellCore> |
refresh(boolean bDoGraphics,
boolean bVisible)
|
void |
removeSubRow(Object datasource)
|
void |
setExpanded(boolean b)
|
boolean |
setHeight(int iHeight)
Adjust cell height. |
void |
setSelected(boolean bSelected)
|
void |
setSortColumn(String columnID)
|
void |
setSubItemCount(int length)
|
void |
setSubItems(Object[] datasources)
|
boolean |
setTableItem(int newIndex)
Link the row to a SWT TableItem |
boolean |
setTableItem(int newIndex,
boolean isVisible)
|
void |
setUpToDate(boolean upToDate)
|
Methods inherited from interface org.gudy.azureus2.plugins.ui.tables.TableRow |
---|
addMouseListener, getData, getDataSource, getTableCell, getTableID, isSelected, isValid, removeMouseListener, setData, setForeground, setForeground, setForegroundToErrorColor |
Method Detail |
---|
void invalidate()
void invalidate(boolean mustRefresh)
void delete()
List refresh(boolean bDoGraphics)
bDoGraphics
- Refresh graphic cells tovoid locationChanged(int iStartColumn)
iStartColumn
- Cells starting at this value may need repainting
XXX Rename to cellLocationChanged?Object getDataSource(boolean bCoreObject)
bCoreObject
- true - return a core objectint getIndex()
getIndex
in interface TableRow
boolean setHeight(int iHeight)
iHeight
- new Row Height. Will not reduce row's height (SWT)
TableCellCore getTableCellCore(String field)
field
- Column name of the cell to be returned
boolean isVisible()
boolean setTableItem(int newIndex)
newIndex
- new position row should be
boolean setTableItem(int newIndex, boolean isVisible)
void setSelected(boolean bSelected)
boolean isRowDisposed()
void setUpToDate(boolean upToDate)
List<TableCellCore> refresh(boolean bDoGraphics, boolean bVisible)
bDoGraphics
- bVisible
- void redraw()
void redraw(boolean doChildren)
TableView getView()
getView
in interface TableRow
void invokeMouseListeners(TableRowMouseEvent event)
event
- boolean isMouseOver()
void setSubItemCount(int length)
length
- int getSubItemCount()
boolean isExpanded()
void setExpanded(boolean b)
TableRowCore getParentRowCore()
boolean isInPaintItem()
TableRowCore linkSubItem(int indexOf)
indexOf
-
void setSubItems(Object[] datasources)
datasources
- TableRowCore[] getSubRowsWithNull()
void removeSubRow(Object datasource)
int getHeight()
TableRowCore getSubRow(int i)
void setSortColumn(String columnID)
TableCellCore getSortColumnCell(String hint)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |