java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.designer.querybrowser.ResultTable
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ResultTable extends JPanel implements ActionListener
See Also:
  • Field Details

    • browser

      protected QueryBrowser browser
    • table

      protected com.jidesoft.grid.JideTable table
    • tableModel

      protected com.inductiveautomation.ignition.designer.querybrowser.ResultTable.DataSetTableModel tableModel
    • info

      protected JLabel info
    • refresh

      protected com.inductiveautomation.ignition.designer.querybrowser.ResultTable.EditButton refresh
    • edit

      protected com.inductiveautomation.ignition.designer.querybrowser.ResultTable.EditButton edit
    • apply

      protected com.inductiveautomation.ignition.designer.querybrowser.ResultTable.EditButton apply
    • discard

      protected com.inductiveautomation.ignition.designer.querybrowser.ResultTable.EditButton discard
    • editPopup

      protected JPopupMenu editPopup
    • addRow

      protected AbstractAction addRow
    • clearField

      protected AbstractAction clearField
    • deleteRows

      protected AbstractAction deleteRows
    • copyRows

      protected AbstractAction copyRows
    • index

      protected int index
    • lastQuery

      protected String lastQuery
    • canEdit

      protected boolean canEdit
    • keepEdit

      protected boolean keepEdit
    • refreshPeriod

      protected int refreshPeriod
    • pkInfo

      protected ResultTable.PrimaryKeyInfo pkInfo
  • Constructor Details

    • ResultTable

      public ResultTable(QueryBrowser browser, int index)
  • Method Details

    • setData

      public void setData(Dataset newDataset, boolean stopRefreshing)
    • setData

      public void setData(Dataset newDataset, ResultTable.PrimaryKeyInfo pkInfo, long ms, boolean stopRefreshing)
    • stopRefresh

      public void stopRefresh()
    • isRefreshing

      public boolean isRefreshing()
    • getIndex

      public int getIndex()
    • setIndex

      public void setIndex(int index)
    • getLastQuery

      public String getLastQuery()
    • setLastQuery

      public void setLastQuery(String lastQuery)
    • getTabName

      public String getTabName()
    • setError

      public void setError()
    • setSuccess

      public void setSuccess(Dataset data, long ms)
    • addEditorsAndRenderers

      public void addEditorsAndRenderers()
    • checkDirty

      public boolean checkDirty()
    • editAllowed

      public boolean editAllowed()
    • madeEdit

      public void madeEdit()
    • getPrimaryKeyValues

      public Map<String,Object> getPrimaryKeyValues(int row)
      Gets the current values for the primary keys of this row. Information is only saved by TableRow on the first update.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener