class TableRow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected InternalCompositeTable |
parent |
Constructor and Description |
---|
TableRow(InternalCompositeTable parent,
org.eclipse.swt.widgets.Control row)
Constructor TableRow.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Remove all listeners from each control.
|
org.eclipse.swt.widgets.Control |
getColumnControl(int i)
Return the SWT control corresponding to a particular column within
this row.
|
int |
getColumnNumber(org.eclipse.swt.widgets.Control control)
Return the column number of a specified SWT control or -1 if not found.
|
int |
getNumColumns()
Return the number of columns in this row.
|
org.eclipse.swt.widgets.Control |
getRowControl()
Return the SWT control implementing the row's GUI.
|
boolean |
getVisible()
Returns if this row is visible.
|
void |
setVisible(boolean visible)
Sets the visibility of this row.
|
protected InternalCompositeTable parent
public TableRow(InternalCompositeTable parent, org.eclipse.swt.widgets.Control row)
parent
- The table containing this row.row
- The SWT control implementing this row.public void dispose()
public org.eclipse.swt.widgets.Control getRowControl()
public org.eclipse.swt.widgets.Control getColumnControl(int i)
i
- the 0-based offset of the column to return.public int getColumnNumber(org.eclipse.swt.widgets.Control control)
control
- The control to find.public int getNumColumns()
public void setVisible(boolean visible)
visible
- true if the row should be visible; false otherwise.public boolean getVisible()