class GridHeaderEditor
extends org.eclipse.swt.custom.ControlEditor
GridEditor
.Modifier and Type | Field and Description |
---|---|
(package private) org.eclipse.swt.events.ControlListener |
columnListener |
(package private) org.eclipse.swt.widgets.Listener |
resizeListener |
Constructor and Description |
---|
GridHeaderEditor(GridColumn column)
Creates a TableEditor for the specified Table.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Removes all associations between the TableEditor and the cell in the
table.
|
(package private) void |
initColumn()
Sets the zero based index of the column of the cell being tracked by this
editor.
|
protected org.eclipse.swt.graphics.Rectangle |
internalComputeBounds()
Returns the bounds of the editor.
|
void |
layout() |
void |
setEditor(org.eclipse.swt.widgets.Control editor) |
org.eclipse.swt.events.ControlListener columnListener
org.eclipse.swt.widgets.Listener resizeListener
GridHeaderEditor(GridColumn column)
column
- the Table Control above which this editor will be displayedprotected org.eclipse.swt.graphics.Rectangle internalComputeBounds()
public void dispose()
dispose
in class org.eclipse.swt.custom.ControlEditor
void initColumn()
column
- the zero based index of the column of the cell being tracked
by this editorpublic void layout()
layout
in class org.eclipse.swt.custom.ControlEditor
public void setEditor(org.eclipse.swt.widgets.Control editor)
setEditor
in class org.eclipse.swt.custom.ControlEditor