Class EnableOnListSelect

java.lang.Object
org.ka2ddo.yaac.gui.util.EnableOnListSelect
All Implemented Interfaces:
EventListener, ListSelectionListener

public class EnableOnListSelect extends Object implements ListSelectionListener
This class implements a list selection listener that will control the enable state of an associated JComponent based on whether something is selected in the list.
Author:
Andrew Pavlin, KA2DDO
  • Constructor Details

    • EnableOnListSelect

      public EnableOnListSelect(JComponent comp)
      Create a listener to enable or disable the associated JComponent when the list is selected or unselected.
      Parameters:
      comp - JComponent to enable/disable
  • Method Details