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

How to use
getValue
method
in
weka.gui.GenericObjectEditor

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

origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Get the currently configured classifier from the GenericObjectEditor
 *
 * @return the currently configured classifier
 */
public Classifier getClassifier() {
 return (Classifier) m_ClassifierEditor.getValue();
}
origin: Waikato/weka-trunk

 @Override
 public void actionPerformed(ActionEvent e) {
  m_ResultMatrix = (ResultMatrix) m_ResultMatrixEditor.getValue();
  setData();
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * returns the currently selected DataGenerator
 * 
 * @return        the current data generator
 */
public DataGenerator getGenerator() {
 return (DataGenerator) m_GeneratorEditor.getValue();
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Get the formatter for classifcation output
 *
 * @return the formatter for classification output
 */
public Object getClassificationOutputFormatter() {
 return m_ClassificationOutputEditor.getValue();
}
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void actionPerformed(ActionEvent e) {
  m_ResultMatrix = (ResultMatrix) m_ResultMatrixEditor.getValue();
  setData();
 }
});
origin: Waikato/weka-trunk

 public void actionPerformed(ActionEvent e) {
  tryConverter((Loader) convEd.getValue(), f);
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

 public void actionPerformed(ActionEvent e) {
  tryConverter((Loader) convEd.getValue(), f);
 }
});
origin: Waikato/weka-trunk

/**
 * returns the currently selected DataGenerator
 * 
 * @return        the current data generator
 */
public DataGenerator getGenerator() {
 return (DataGenerator) m_GeneratorEditor.getValue();
}
origin: Waikato/weka-trunk

/**
 * Get the currently configured classifier from the GenericObjectEditor
 *
 * @return the currently configured classifier
 */
public Classifier getClassifier() {
 return (Classifier) m_ClassifierEditor.getValue();
}
origin: Waikato/weka-trunk

/**
 * Get the formatter for classifcation output
 *
 * @return the formatter for classification output
 */
public Object getClassificationOutputFormatter() {
 return m_ClassificationOutputEditor.getValue();
}
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void actionPerformed(ActionEvent e) {
  Classifier newCopy = (Classifier) copyObject(m_ClassifierEditor
   .getValue());
  addNewAlgorithm(newCopy);
 }
});
origin: Waikato/weka-trunk

 @Override
 public void actionPerformed(ActionEvent e) {
  Classifier newCopy = (Classifier) copyObject(m_ClassifierEditor
   .getValue());
  addNewAlgorithm(newCopy);
 }
});
origin: Waikato/weka-trunk

 public void actionPerformed(ActionEvent e) {
  applyFilter((Filter) m_FilterEditor.getValue());
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

 public void actionPerformed(ActionEvent e) {
  applyFilter((Filter) m_FilterEditor.getValue());
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void propertyChange(PropertyChangeEvent e) {
  m_Exp.setResultListener((ResultListener) m_RLEditor.getValue());
  m_Support.firePropertyChange("", null, null);
  repaint();
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void propertyChange(PropertyChangeEvent evt) {
  m_classifier = (Classifier) m_classifierEditor.getValue();
  try {
   int classIndex = m_classAttBox.getSelectedIndex();
   if (m_trainingInstances != null && m_classifier != null
    && (m_trainingInstances.attribute(classIndex).isNominal())) {
    m_startBut.setEnabled(true);
   }
  } catch (Exception ex) {
  }
  ;
 }
});
origin: Waikato/weka-trunk

 @Override
 public void propertyChange(PropertyChangeEvent e) {
  m_Exp.setResultListener((ResultListener) m_RLEditor.getValue());
  m_Support.firePropertyChange("", null, null);
  repaint();
 }
});
origin: nz.ac.waikato.cms.moa/moa

  @Override
  public void actionPerformed(ActionEvent e) {
    Object obj = goe.getValue();
    String s = obj.getClass().getName();
    if (obj instanceof weka.core.OptionHandler) {
      s += " " + Utils.joinOptions(((weka.core.OptionHandler) obj).getOptions());
    }
    setEditState(s.trim());
  }
});
origin: Waikato/weka-trunk

 @Override
 public void propertyChange(PropertyChangeEvent e) {
  m_Exp.setResultProducer((ResultProducer) m_RPEditor.getValue());
  m_Exp.setUsePropertyIterator(false);
  m_Exp.setPropertyArray(null);
  m_Exp.setPropertyPath(null);
  m_GeneratorPropertyPanel.setExperiment(m_Exp);
  repaint();
 }
});
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void propertyChange(PropertyChangeEvent e) {
  m_Exp.setResultProducer((ResultProducer) m_RPEditor.getValue());
  m_Exp.setUsePropertyIterator(false);
  m_Exp.setPropertyArray(null);
  m_Exp.setPropertyPath(null);
  m_GeneratorPropertyPanel.setExperiment(m_Exp);
  repaint();
 }
});
weka.guiGenericObjectEditorgetValue

Javadoc

Gets the current Object.

Popular methods of GenericObjectEditor

  • <init>
    Constructor that allows specifying whether it is possible to change the class within the editor dial
  • determineClasses
  • 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.
  • 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 post requests using okhttp
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • From CI to AI: The AI layer in your organization
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