Class ItemListControl<T>

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.loboevolution.menu.tools.pref.search.ItemListControl<T>
Type Parameters:
T - the generic type
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ItemListControl<T> extends JComponent
The Class ItemListControl.
See Also:
  • Constructor Details

    • ItemListControl

      public ItemListControl(ItemEditorFactory<T> ief)
      Instantiates a new item list control.
      Parameters:
      ief - the ief
  • Method Details

    • getItems

      public Collection<T> getItems()
      Gets the items.
      Returns:
      the items
    • setEditorCaption

      public void setEditorCaption(String caption)
      Sets the editor caption.
      Parameters:
      caption - the new editor caption
    • setItems

      public void setItems(Collection<T> items)
      Sets the items.
      Parameters:
      items - the new items