Class ValidatedComboBox<T>

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.jidesoft.swing.DefaultOverlayable
com.inductiveautomation.ignition.client.util.gui.ValidatedComboBox<T>
All Implemented Interfaces:
com.jidesoft.swing.Overlayable, ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, SwingConstants

public abstract class ValidatedComboBox<T> extends com.jidesoft.swing.DefaultOverlayable
See Also:
  • Constructor Details

    • ValidatedComboBox

      public ValidatedComboBox(JComboBox field)
  • Method Details

    • isDataValid

      public boolean isDataValid()
    • validate

      protected abstract String validate(T selectedItem)
      Called whenever the text changes. If the text is valid, return null otherwise return an error message.
    • setOkMessage

      public void setOkMessage(String message)