public class ComponentDataTable extends java.lang.Object implements IComponent
Constructor and Description |
---|
ComponentDataTable(Controller controller,
org.eclipse.swt.widgets.Composite parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addMouseListener(org.eclipse.swt.events.MouseListener listener)
Adds a mouse listener
|
void |
addScrollBarListener(org.eclipse.swt.widgets.Listener listener)
Adds a scroll bar listener.
|
void |
addSelectionLayerListener(org.eclipse.nebula.widgets.nattable.layer.ILayerListener listener)
Adds a select layer listener.
|
void |
dispose()
Disposes the control.
|
DataHandle |
getData()
Returns the displayed data.
|
java.util.List<org.eclipse.swt.graphics.Image> |
getHeaderImages()
Returns the list of header images.
|
org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer |
getViewportLayer()
Returns the viewport layer.
|
void |
redraw()
Redraws the component.
|
void |
reset()
Resets the component.
|
void |
setData(DataHandle handle)
Sets the displayed data.
|
void |
setEnabled(boolean val)
Enables/disables the component.
|
void |
setGroups(int[] groups)
Sets information about equivalence classes.
|
void |
setLayoutData(java.lang.Object data)
Sets layout data.
|
void |
setResearchSubset(RowSet researchSubset)
Sets information about the research subset.
|
void |
setSelectedAttribute(java.lang.String attribute)
Sets the selected attribute.
|
org.eclipse.swt.graphics.Point |
toDisplay(int x,
int y)
Translates coordinates
|
public ComponentDataTable(Controller controller, org.eclipse.swt.widgets.Composite parent)
controller
- parent
- public void addMouseListener(org.eclipse.swt.events.MouseListener listener)
listener
- public void addScrollBarListener(org.eclipse.swt.widgets.Listener listener)
listener
- public void addSelectionLayerListener(org.eclipse.nebula.widgets.nattable.layer.ILayerListener listener)
listener
- public void dispose()
public DataHandle getData()
public java.util.List<org.eclipse.swt.graphics.Image> getHeaderImages()
public org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer getViewportLayer()
public void redraw()
public void reset()
public void setData(DataHandle handle)
handle
- public void setEnabled(boolean val)
val
- public void setGroups(int[] groups)
groups
- public void setLayoutData(java.lang.Object data)
data
- public void setResearchSubset(RowSet researchSubset)
researchSubset
- public void setSelectedAttribute(java.lang.String attribute)
attribute
- public org.eclipse.swt.graphics.Point toDisplay(int x, int y)
x
- y
-