Tabnine Logo
GenericObjectEditor.getRootFromClass
Code IndexAdd Tabnine to your IDE (free)

How to use
getRootFromClass
method
in
weka.gui.GenericObjectEditor

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

origin: Waikato/weka-trunk

while (tok.hasMoreElements()) {
 clsname = tok.nextToken();
 root = getRootFromClass(clsname, separator);
 if (root == null) {
  continue;
origin: nz.ac.waikato.cms.weka/weka-stable

while (tok.hasMoreElements()) {
 clsname = tok.nextToken();
 root = getRootFromClass(clsname, separator);
 if (root == null) {
  continue;
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Updates the list of selectable object names, adding any new names to the
 * list.
 */
protected void updateObjectNames() {
 if (m_ObjectNames == null) {
  m_ObjectNames = getClassesFromProperties();
 }
 if (m_Object != null) {
  String className = m_Object.getClass().getName();
  String root = getRootFromClass(className,
   new HierarchyPropertyParser().getSeperator());
  HierarchyPropertyParser hpp = m_ObjectNames.get(root);
  if (hpp != null) {
   if (!hpp.contains(className)) {
    hpp.add(className);
   }
  }
 }
}
origin: Waikato/weka-trunk

/**
 * Updates the list of selectable object names, adding any new names to the
 * list.
 */
protected void updateObjectNames() {
 if (m_ObjectNames == null) {
  m_ObjectNames = getClassesFromProperties();
 }
 if (m_Object != null) {
  String className = m_Object.getClass().getName();
  String root = getRootFromClass(className,
   new HierarchyPropertyParser().getSeperator());
  HierarchyPropertyParser hpp = m_ObjectNames.get(root);
  if (hpp != null) {
   if (!hpp.contains(className)) {
    hpp.add(className);
   }
  }
 }
}
weka.guiGenericObjectEditorgetRootFromClass

Javadoc

returns the name of the root element of the given class name, null if it doesn't contain the separator.

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.
  • getChooseClassPopupMenu
    Returns a popup menu that allows the user to change the class of object.
  • 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.
  • addChildrenToTree,
  • classSelected,
  • createChooseClassButton,
  • createTree,
  • getBackup,
  • getCapabilitiesFilter,
  • getClassnameFromPath,
  • getHistory,
  • makeCopy

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Notification (javax.management)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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