Package editor

Class AbstractGotoPopup<T>

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement
Direct Known Subclasses:
GotoTypePopup

public abstract class AbstractGotoPopup<T> extends JPopupMenu
Generic implementation of a popup. Refactored from original GotoTypePopup.
See Also:
  • Field Details

  • Constructor Details

    • AbstractGotoPopup

      public AbstractGotoPopup(int waitTime, int rowCount, String title, String strPrefix, boolean takesInput, boolean centerInFrame, boolean externalOption)
  • Method Details

    • constructCellRenderer

      protected abstract ListCellRenderer constructCellRenderer()
    • handleEdit

      protected abstract void handleEdit()
    • isExternalTypes

      protected boolean isExternalTypes()
    • initializeData

      protected abstract List<T> initializeData()
    • reconstructModel

      protected abstract AbstractGotoPopup.AbstractPopupListModel<T> reconstructModel(String prefix)
    • setVisible

      public final void setVisible(boolean bVisible)
      Overrides:
      setVisible in class JPopupMenu
    • filterDisplay

      protected void filterDisplay(String prefix, boolean showSpinner)
    • show

      public final void show(Component invoker, int iX, int iY)
      Overrides:
      show in class JPopupMenu
    • addNodeChangeListener

      public final void addNodeChangeListener(ChangeListener l)
    • removeNodeChangeListener

      public final void removeNodeChangeListener(ChangeListener l)
    • setSelection

      public void setSelection(String strSelection)
    • getPopupSuggestions

      public List<String> getPopupSuggestions()
    • getInitializedAllData

      protected List<T> getInitializedAllData()