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

How to use
setEnabled
method
in
weka.gui.GenericObjectEditor

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

origin: fiji/Trainable_Segmentation

/**
 * Update component enabling based on plugin status
 */
void updateComponentEnabling()
{
  this.channelSelectionPanel.setEnabled( true );
  for( int i=0; i<channelCheckbox.length; i++ )
    channelCheckbox[ i ].setEnabled( true );
  this.pixelSlider.setEnabled( true );
  this.samplePanel.setEnabled( true );
  this.clustererPanel.setEnabled( true );
  this.clustererEditor.setEnabled( true );
  this.runClusterButton.setEnabled( true );
  this.opacitySlider.setEnabled( true );
  this.createFile.setEnabled( true );
  this.createResult.setEnabled( finishedClustering );
  this.createProbabilityMap.setEnabled( finishedClustering );
  this.visualizeData.setEnabled( true );
  this.saveClusterer.setEnabled( finishedClustering );
  this.loadClusterer.setEnabled( true );
}
/**
origin: fiji/Trainable_Segmentation

/**
 * Enable/disable all GUI components
 * @param flag boolean flag to enable or disable all GUI components
 */
void enableComponents( boolean flag )
{
  this.channelSelectionPanel.setEnabled( flag );
  for( int i=0; i<channelCheckbox.length; i++ )
    channelCheckbox[ i ].setEnabled( flag );
  this.pixelSlider.setEnabled( flag );
  this.samplePanel.setEnabled( flag );
  this.clustererPanel.setEnabled( flag );
  this.clustererEditor.setEnabled( flag );
  for( Component c : this.clustererEditor.getCustomPanel().getComponents() )
    c.setEnabled( flag );
  this.runClusterButton.setEnabled( flag );
  this.opacitySlider.setEnabled( flag );
  this.createFile.setEnabled( flag );
  this.createResult.setEnabled( flag );
  this.createProbabilityMap.setEnabled( flag );
  this.visualizeData.setEnabled( flag );
  this.saveClusterer.setEnabled( flag );
  this.loadClusterer.setEnabled( flag );
}
/**
origin: nz.ac.waikato.cms.weka/weka-stable

m_RPEditor.setEnabled(false);
m_RPEditor.addPropertyChangeListener(new PropertyChangeListener() {
 @Override
m_RLEditor.setEnabled(false);
m_RLEditor.addPropertyChangeListener(new PropertyChangeListener() {
 @Override
origin: Waikato/weka-trunk

m_RPEditor.setEnabled(false);
m_RPEditor.addPropertyChangeListener(new PropertyChangeListener() {
 @Override
m_RLEditor.setEnabled(false);
m_RLEditor.addPropertyChangeListener(new PropertyChangeListener() {
 @Override
origin: nz.ac.waikato.cms.weka/weka-stable

m_SaveBut.setEnabled(true);
m_RPEditor.setValue(m_Exp.getResultProducer());
m_RPEditor.setEnabled(true);
m_RPEditorPanel.setEnabled(true);
m_RPEditorPanel.repaint();
m_RLEditor.setValue(m_Exp.getResultListener());
m_RLEditor.setEnabled(true);
m_RLEditorPanel.setEnabled(true);
m_RLEditorPanel.repaint();
origin: Waikato/weka-trunk

m_SaveBut.setEnabled(true);
m_RPEditor.setValue(m_Exp.getResultProducer());
m_RPEditor.setEnabled(true);
m_RPEditorPanel.setEnabled(true);
m_RPEditorPanel.repaint();
m_RLEditor.setValue(m_Exp.getResultListener());
m_RLEditor.setEnabled(true);
m_RLEditorPanel.setEnabled(true);
m_RLEditorPanel.repaint();
weka.guiGenericObjectEditorsetEnabled

Javadoc

Sets whether the editor is "enabled", meaning that the current values will be painted.

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.
  • 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
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Free Sublime Text 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