Class ActionConfigPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.perspective.designer.api.ActionConfigPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public abstract class ActionConfigPanel extends JPanel
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • listen

      protected void listen(JSpinner... spinners)
    • listen

      protected void listen(JTextField... fields)
    • listen

      protected void listen(JCheckBox... boxen)
    • listen

      protected void listen(JToggleButton... toggles)
    • listen

      protected void listen(JComboBox... boxen)
    • activate

      public abstract void activate(@Nullable com.inductiveautomation.ignition.common.gson.JsonObject config)
    • commit

      public void commit()
      Called right before commit happens. Useful for things like stopping table editing. Must still call ActionEditContext.notifyConfigChanged() if any config has changed.
    • createOptionsPanel

      public Optional<JComponent> createOptionsPanel()
    • getConfig

      public abstract com.inductiveautomation.ignition.common.gson.JsonObject getConfig()
    • isScrollable

      public boolean isScrollable()
      Returns:
      true if the panel should be sized naturally and put in a scrollpane. False if the panel should expand and shrink with the available size.