Klasse DataTableContext
java.lang.Object
org.deidentifier.arx.gui.view.impl.common.datatable.DataTableContext
A context for the data view. It provides all necessary data to be displayed.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the controller.org.eclipse.swt.graphics.FontgetFont()Sets the font.int[]Returns information about the equivalence classes.Returns the data handle, if any.List<org.eclipse.swt.graphics.Image> Returns the header images.List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> Returns all layer listeners.getRows()Returns the research subset.intReturns the selected index.org.eclipse.nebula.widgets.nattable.NatTablegetTable()Returns the underlying table.booleanbooleanvoidreset()Resets the context.voidsetFont(org.eclipse.swt.graphics.Font font) Gets the font.voidsetGroups(int[] groups) Sets the groups.voidsetHandle(DataHandle handle) Sets a data handle.voidSets the header images.voidsetListeners(List<org.eclipse.nebula.widgets.nattable.layer.ILayerListener> listeners) Sets the layer listeners.voidSets the research subset.voidsetSelectedIndex(int index) Sets the selected column index.voidsetTable(org.eclipse.nebula.widgets.nattable.NatTable table) Sets the underlying table.
-
Konstruktordetails
-
DataTableContext
Creates a new instance.- Parameter:
controller-
-
-
Methodendetails
-
getController
Returns the controller.- Gibt zurück:
-
getFont
public org.eclipse.swt.graphics.Font getFont()Sets the font.- Gibt zurück:
-
getGroups
public int[] getGroups()Returns information about the equivalence classes.- Gibt zurück:
-
getHandle
Returns the data handle, if any.- Gibt zurück:
-
getImages
Returns the header images.- Gibt zurück:
-
getListeners
Returns all layer listeners.- Gibt zurück:
-
getRows
Returns the research subset.- Gibt zurück:
-
getSelectedIndex
public int getSelectedIndex()Returns the selected index.- Gibt zurück:
-
getTable
public org.eclipse.nebula.widgets.nattable.NatTable getTable()Returns the underlying table.- Gibt zurück:
-
isColumnExpanded
public boolean isColumnExpanded()- Gibt zurück:
-
isRowExpanded
public boolean isRowExpanded()- Gibt zurück:
-
reset
public void reset()Resets the context. -
setFont
public void setFont(org.eclipse.swt.graphics.Font font) Gets the font.- Parameter:
font-
-
setGroups
public void setGroups(int[] groups) Sets the groups.- Parameter:
groups-
-
setHandle
Sets a data handle.- Parameter:
handle-
-
setImages
Sets the header images.- Parameter:
images-
-
setListeners
Sets the layer listeners.- Parameter:
listeners-
-
setRows
Sets the research subset.- Parameter:
rows-
-
setSelectedIndex
public void setSelectedIndex(int index) Sets the selected column index.- Parameter:
index-
-
setTable
public void setTable(org.eclipse.nebula.widgets.nattable.NatTable table) Sets the underlying table.- Parameter:
table-
-