Klasse ComponentTable

java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentTable
Alle implementierten Schnittstellen:
IComponent

public class ComponentTable extends Object implements IComponent
A virtual table implemented with NatTable.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    ComponentTable(org.eclipse.swt.widgets.Composite parent, int style, CTConfiguration config)
    Creates a new instance.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    addMouseListener(org.eclipse.swt.events.MouseListener arg0)
    Adds a listener.
    void
    Clears the table.
    org.eclipse.swt.widgets.Control
    Returns the backing widget.
    Returns the selected column, or null.
    Returns the selected row, or null.
    void
    Redraws the table.
    void
    setData(String[][] data)
    Updates the underlying table.
    void
    setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data)
    Updates the underlying table.
    void
    setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, String[] columns)
    Updates the underlying table.
    void
    setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, String[] rows, String[] columns)
    Updates the underlying table.
    void
    setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, org.eclipse.nebula.widgets.nattable.data.IDataProvider columns)
    Updates the underlying table.
    void
    setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, org.eclipse.nebula.widgets.nattable.data.IDataProvider rows, org.eclipse.nebula.widgets.nattable.data.IDataProvider columns)
    Updates the underlying table.
    void
    setSelection(int row, int column)
    Updates the selection.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ComponentTable

      public ComponentTable(org.eclipse.swt.widgets.Composite parent, int style, CTConfiguration config)
      Creates a new instance.
      Parameter:
      parent -
      style -
      config -
  • Methodendetails

    • addMouseListener

      public void addMouseListener(org.eclipse.swt.events.MouseListener arg0)
      Adds a listener.
      Parameter:
      arg0 -
    • clear

      public void clear()
      Clears the table.
    • getControl

      public org.eclipse.swt.widgets.Control getControl()
      Returns the backing widget.
      Gibt zurück:
    • getSelectedColumn

      public Integer getSelectedColumn()
      Returns the selected column, or null.
      Gibt zurück:
    • getSelectedRow

      public Integer getSelectedRow()
      Returns the selected row, or null.
      Gibt zurück:
    • refresh

      public void refresh()
      Redraws the table.
    • setData

      public void setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data)
      Updates the underlying table.
      Parameter:
      data -
    • setData

      public void setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, org.eclipse.nebula.widgets.nattable.data.IDataProvider columns)
      Updates the underlying table.
      Parameter:
      data -
      columns -
    • setData

      public void setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, org.eclipse.nebula.widgets.nattable.data.IDataProvider rows, org.eclipse.nebula.widgets.nattable.data.IDataProvider columns)
      Updates the underlying table.
      Parameter:
      data -
      rows -
      columns -
    • setData

      public void setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, String[] columns)
      Updates the underlying table.
      Parameter:
      data -
      columns -
    • setData

      public void setData(org.eclipse.nebula.widgets.nattable.data.IDataProvider data, String[] rows, String[] columns)
      Updates the underlying table.
      Parameter:
      data -
      rows -
      columns -
    • setData

      public void setData(String[][] data)
      Updates the underlying table.
      Parameter:
      data -
    • setSelection

      public void setSelection(int row, int column)
      Updates the selection.
      Parameter:
      row -
      column -