public class DataTableContext
extends java.lang.Object
Constructor and Description |
---|
DataTableContext(Controller controller)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Controller |
getController()
Returns the controller.
|
org.eclipse.swt.graphics.Font |
getFont()
Sets the font.
|
int[] |
getGroups()
Returns information about the equivalence classes.
|
DataHandle |
getHandle()
Returns the data handle, if any.
|
java.util.List<org.eclipse.swt.graphics.Image> |
getImages()
Returns the header images.
|
java.util.List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> |
getListeners()
Returns all layer listeners.
|
RowSet |
getRows()
Returns the research subset.
|
int |
getSelectedIndex()
Returns the selected index.
|
org.eclipse.nebula.widgets.nattable.NatTable |
getTable()
Returns the underlying table.
|
boolean |
isColumnExpanded() |
boolean |
isRowExpanded() |
void |
reset()
Resets the context.
|
void |
setFont(org.eclipse.swt.graphics.Font font)
Gets the font.
|
void |
setGroups(int[] groups)
Sets the groups.
|
void |
setHandle(DataHandle handle)
Sets a data handle.
|
void |
setImages(java.util.List<org.eclipse.swt.graphics.Image> images)
Sets the header images.
|
void |
setListeners(java.util.List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> listeners)
Sets the layer listeners.
|
void |
setRows(RowSet rows)
Sets the research subset.
|
void |
setSelectedIndex(int index)
Sets the selected column index.
|
void |
setTable(org.eclipse.nebula.widgets.nattable.NatTable table)
Sets the underlying table.
|
public DataTableContext(Controller controller)
controller
- public Controller getController()
public org.eclipse.swt.graphics.Font getFont()
public int[] getGroups()
public DataHandle getHandle()
public java.util.List<org.eclipse.swt.graphics.Image> getImages()
public java.util.List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> getListeners()
public RowSet getRows()
public int getSelectedIndex()
public org.eclipse.nebula.widgets.nattable.NatTable getTable()
public boolean isColumnExpanded()
public boolean isRowExpanded()
public void reset()
public void setFont(org.eclipse.swt.graphics.Font font)
font
- public void setGroups(int[] groups)
groups
- public void setHandle(DataHandle handle)
handle
- public void setImages(java.util.List<org.eclipse.swt.graphics.Image> images)
images
- public void setListeners(java.util.List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> listeners)
listeners
- public void setRows(RowSet rows)
rows
- public void setSelectedIndex(int index)
index
- public void setTable(org.eclipse.nebula.widgets.nattable.NatTable table)
table
-