congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GenericObjectEditor.getChooseClassPopupMenu
Code IndexAdd Tabnine to your IDE (free)

How to use
getChooseClassPopupMenu
method
in
weka.gui.GenericObjectEditor

Best Java code snippets using weka.gui.GenericObjectEditor.getChooseClassPopupMenu (Showing top 4 results out of 315)

origin: net.sf.meka/meka

/**
 * Returns a popup menu that allows the user to change the class of object.
 *
 * @return a JPopupMenu that when shown will let the user choose the class
 */
public JPopupMenu getChooseClassPopupMenu() {
  if (DEBUG)
    System.out.println("Objectnames: " + m_ObjectNames);
  return super.getChooseClassPopupMenu();
}
origin: Waikato/meka

/**
 * Returns a popup menu that allows the user to change the class of object.
 *
 * @return a JPopupMenu that when shown will let the user choose the class
 */
public JPopupMenu getChooseClassPopupMenu() {
  if (DEBUG)
    System.out.println("Objectnames: " + m_ObjectNames);
  return super.getChooseClassPopupMenu();
}
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void actionPerformed(ActionEvent e) {
  JPopupMenu popup = getChooseClassPopupMenu();
  // show the popup where the source component is
  if (e.getSource() instanceof Component) {
   Component comp = (Component) e.getSource();
   popup.show(comp, comp.getX(), comp.getY());
  }
 }
});
origin: Waikato/weka-trunk

 @Override
 public void actionPerformed(ActionEvent e) {
  JPopupMenu popup = getChooseClassPopupMenu();
  // show the popup where the source component is
  if (e.getSource() instanceof Component) {
   Component comp = (Component) e.getSource();
   popup.show(comp, comp.getX(), comp.getY());
  }
 }
});
weka.guiGenericObjectEditorgetChooseClassPopupMenu

Javadoc

Returns a popup menu that allows the user to change the class of object.

Popular methods of GenericObjectEditor

  • <init>
    Constructor that allows specifying whether it is possible to change the class within the editor dial
  • determineClasses
  • getValue
    Gets the current Object.
  • setClassType
    Sets the class of values that can be edited.
  • setValue
    Sets the current Object. If the Object is in the Object chooser, this becomes the selected item (and
  • addPropertyChangeListener
    Adds a PropertyChangeListener who will be notified of value changes.
  • getClassesFromProperties
    Called when the class of object being edited changes.
  • getCustomEditor
    Returns the array editing component.
  • setEnabled
    Sets whether the editor is "enabled", meaning that the current values will be painted.
  • addChildrenToTree
    Recursively builds a JTree from an object heirarchy. Also updates m_treeNodeOfCurrentObject if the c
  • classSelected
    Called when the user selects an class type to change to.
  • createChooseClassButton
    Creates a button that when clicked will enable the user to change the class of the object being edit
  • classSelected,
  • createChooseClassButton,
  • createTree,
  • getBackup,
  • getCapabilitiesFilter,
  • getClassnameFromPath,
  • getHistory,
  • getRootFromClass,
  • makeCopy

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Join (org.hibernate.mapping)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now