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

public class ErrorPanel extends JPanel implements PopupWindowContents
See Also:
  • Field Details

    • parentWindow

      protected transient PopupWindowParent parentWindow
    • controlPanel

      protected JPanel controlPanel
      Component that holds the Next, Previous, and Close buttons
    • posDisplayLabel

      protected JLabel posDisplayLabel
    • firstAction

      protected BaseAction firstAction
    • lastAction

      protected BaseAction lastAction
    • prevAction

      protected BaseAction prevAction
    • nextAction

      protected BaseAction nextAction
    • firstButton

      protected JButton firstButton
    • lastButton

      protected JButton lastButton
    • prevButton

      protected JButton prevButton
    • nextButton

      protected JButton nextButton
    • expand

      protected transient Icon expand
    • collapse

      protected transient Icon collapse
    • next

      protected transient Icon next
    • prev

      protected transient Icon prev
    • messageType

      protected transient Icon messageType
    • errors

      protected transient List<DisplayableError> errors
    • currentError

      protected int currentError
  • Constructor Details

  • Method Details

    • initComponents

      protected void initComponents()
    • updateText

      public void updateText()
      Makes sure text shown is translated for the current locale. Call this before showing the panel.
    • addError

      public void addError(DisplayableError error)
    • maybeEnableControls

      protected void maybeEnableControls()
    • showFirstError

      public void showFirstError()
    • showLastError

      public void showLastError()
    • getDisplay

      public TabbedErrorDisplay getDisplay()
    • setCurrentError

      public void setCurrentError(int currentError)
    • notifyClosed

      public void notifyClosed()
      Specified by:
      notifyClosed in interface PopupWindowContents
    • getComponent

      public JComponent getComponent()
      Specified by:
      getComponent in interface PopupWindowContents
    • pack

      public void pack()
    • isFirst

      public boolean isFirst()
    • setFirst

      public void setFirst(boolean first)