Class AbstractActionTable

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.client.util.gui.table.AbstractActionTable
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class AbstractActionTable extends JPanel
Basic scaffolding for a table with any of [add, edit, delet, up and down] buttons
See Also:
  • Field Details

  • Constructor Details

    • AbstractActionTable

      public AbstractActionTable(TableModel model)
  • Method Details

    • initLayout

      protected void initLayout()
    • onDoubleClick

      protected void onDoubleClick()
    • getPreferredColumnWidth

      protected int getPreferredColumnWidth(int col)
    • initActions

      protected void initActions()
    • stopEditing

      public void stopEditing()
    • getActions

      protected Action[] getActions()
      Override this to configure which actions appear in the toolbar. Available actions are:
      • addAction
      • deleteAction
      • editAction
      • upAction
      • downAction
    • newTable

      protected JTable newTable(TableModel model)
    • add

      protected void add()
    • edit

      protected void edit(int row)
    • delete

      protected void delete(int row)
    • moveUp

      protected void moveUp(int row)
    • moveDown

      protected void moveDown(int row)
    • isAddEnabled

      protected boolean isAddEnabled()
    • isEditEnabled

      protected boolean isEditEnabled(int row)
    • isDeleteEnabled

      protected boolean isDeleteEnabled(int row)
    • isUpEnabled

      protected boolean isUpEnabled(int row)
    • isDownEnabled

      protected boolean isDownEnabled(int row)