Class IdentityProviderList

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JList<@Nullable ProjectIdentityProvider>
com.inductiveautomation.ignition.designer.gui.idp.IdentityProviderList
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

@NullMarked public class IdentityProviderList extends JList<@Nullable ProjectIdentityProvider>
The ordered project Identity Provider list. Carries the row rendering, the empty-state text and the remove/reorder actions that operate on its selection — everything both surfaces that show this list have in common.
See Also:
  • Constructor Details

  • Method Details

    • getRemoveAction

      public Action getRemoveAction()
    • getMoveUpAction

      public Action getMoveUpAction()
    • getMoveDownAction

      public Action getMoveDownAction()
    • setEmptyText

      public void setEmptyText(@Nullable String emptyText)
      Sets the text drawn in place of the first entry while the list is empty, e.g. "<None>" or an inherited-from-parent marker. Pass null to leave an empty list blank.
    • setKnownNames

      public void setKnownNames(@Nullable Collection<String> names)
      Supplies the IdP names the gateway has, so entries naming one it doesn't have can be marked. Callers that don't know the gateway's providers simply never call this, and hosts are free to call it whenever a fresh set of names arrives.
    • selectIdp

      public void selectIdp(@Nullable String name)
      Selects the entry holding the given IdP name, if it's present.
    • getToolTipText

      public @Nullable String getToolTipText(MouseEvent event)
      Overrides:
      getToolTipText in class JList<@Nullable ProjectIdentityProvider>
    • createToolTip

      public JToolTip createToolTip()
      Overrides:
      createToolTip in class JComponent
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent