Package weka.gui

Class GenericObjectEditor.CapabilitiesFilterDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Enclosing class:
GenericObjectEditor

public class GenericObjectEditor.CapabilitiesFilterDialog extends JDialog
A dialog for selecting Capabilities to look for in the GOE tree.
See Also:
  • Constructor Details

    • CapabilitiesFilterDialog

      public CapabilitiesFilterDialog()
      creates a dialog to choose Capabilities from.
  • Method Details

    • setCapabilities

      public void setCapabilities(Capabilities value)
      sets the initial capabilities.
      Parameters:
      value - the capabilities to use
    • getCapabilities

      public Capabilities getCapabilities()
      returns the currently selected capabilities.
      Returns:
      the currently selected capabilities
    • setPopup

      public void setPopup(JPopupMenu value)
      sets the JPopupMenu to display again after closing the dialog.
      Parameters:
      value - the JPopupMenu to display again
    • getPopup

      public JPopupMenu getPopup()
      returns the currently set JPopupMenu.
      Returns:
      the current JPopupMenu
    • showPopup

      public void showPopup()
      if a JPopupMenu is set, it is displayed again. Displaying this dialog closes any JPopupMenu automatically.