java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
com.jidesoft.grid.JideTable
com.inductiveautomation.ignition.designer.gui.tools.SecurityTable
All Implemented Interfaces:
com.jidesoft.grid.IndexChangeListener, com.jidesoft.grid.TableAdapter, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class SecurityTable extends com.jidesoft.grid.JideTable
Table used to choose security zones and roles
See Also:
  • Constructor Details

  • Method Details

    • addEmptyRow

      public void addEmptyRow()
      Convenience method to add an empty row to the table. Most usages will want a new table to start with an empty row, meaning that any role and any zone will match.
    • removeSelectedRows

      public void removeSelectedRows()
    • refreshOptions

      public void refreshOptions()
      Call this if the possible zones and roles for the dropdowns may have changed.
    • update

      public void update(@Nullable List<ZoneRoleRequirement> permissions)
      Update the table with a new list of ZoneRoleRequirements. This will also update the zones/roles from the gateway for dropdowns.
      Parameters:
      permissions - List of zones and roles to put in the table. May be null.
    • getPermissions

      public List<ZoneRoleRequirement> getPermissions()
      Get the zones/roles from the table.
      Returns:
      List of ZoneRoleRequirements. Not null, but may be empty.