Codota Logo
Monitor
Code IndexAdd Codota to your IDE (free)

How to use
Monitor
in
uk.ac.ebi.intact.application.dataConversion.psiUpload.gui

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiUpload.gui.Monitor (Showing top 20 results out of 315)

  • Common ways to obtain Monitor
private void myMethod () {
Monitor m =
  • Codota IconCollection collection;String str;new Monitor(collection.size(), str)
  • Codota IconString str;new Monitor(int1, str)
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  public static void main( String[] args ) {

    Monitor monitor = new Monitor( 3000, "Protein update" );
    monitor.show();
    monitor.testIt( monitor );
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

public Monitor( final int max, final String name ) {
  if ( max <= 0 ) {
    throw new IllegalArgumentException( "The count has to be greater than 0, you gave" + max + "." );
  }
  this.name = name;
  this.max = max;
  init();
}
origin: uk.ac.ebi.intact.app/data-conversion

public void updateProteinProcessedCound( final int newCount, final String status ) {
  // update status
  setStatus( status );
  // update current element and progress bar
  updateProteinProcessedCound( newCount );
}
origin: uk.ac.ebi.intact.util/data-conversion

Monitor monitor = null;
if ( guiEnabled ) {
  monitor = new Monitor( interactions.size(), "Interaction creation" );
  monitor.setStatus( "Waiting for the persister to start..." );
  monitor.show();
        status = "No interaction created";
      monitor.setStatus( status );
    monitor.updateProteinProcessedCound( ++current );
  monitor.hide();
origin: uk.ac.ebi.intact.app/data-conversion

public void updateProteinProcessedCound( final int newCount ) {
  if ( progressBar == null ) {
    throw new NullPointerException( "The progress bar hasn't been created." );
  }
  // update current element
  current = newCount;
  currentLabel.setText( "Current: " + current );
  currentLabel.update( frame.getGraphics() );
  // update the progress bar
  progressBar.setValue( current );
  frame.setTitle( getWindowsTitle() );
}
origin: uk.ac.ebi.intact.app/data-conversion

monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

Monitor monitor = null;
if ( guiEnabled ) {
  monitor = new Monitor( interactions.size(), "Interaction creation" );
  monitor.setStatus( "Waiting for the persister to start..." );
  monitor.show();
        status = "No interaction created";
      monitor.setStatus( status );
    monitor.updateProteinProcessedCound( ++current );
  monitor.hide();
origin: uk.ac.ebi.intact.util/data-conversion

public void updateProteinProcessedCound( final int newCount ) {
  if ( progressBar == null ) {
    throw new NullPointerException( "The progress bar hasn't been created." );
  }
  // update current element
  current = newCount;
  currentLabel.setText( "Current: " + current );
  currentLabel.update( frame.getGraphics() );
  // update the progress bar
  progressBar.setValue( current );
  frame.setTitle( getWindowsTitle() );
}
origin: uk.ac.ebi.intact.util/data-conversion

monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
origin: uk.ac.ebi.intact.app/data-conversion

Monitor monitor = null;
if ( guiEnabled ) {
  monitor = new Monitor( interactions.size(), "Interaction creation" );
  monitor.setStatus( "Waiting for the persister to start..." );
  monitor.show();
        status = "No interaction created";
      monitor.setStatus( status );
    monitor.updateProteinProcessedCound( ++current );
  monitor.hide();
origin: uk.ac.ebi.intact.app/data-conversion

  public static void main( String[] args ) {

    Monitor monitor = new Monitor( 3000, "Protein update" );
    monitor.show();
    monitor.testIt( monitor );
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

public void updateProteinProcessedCound( final int newCount, final String status ) {
  // update status
  setStatus( status );
  // update current element and progress bar
  updateProteinProcessedCound( newCount );
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public void updateProteinProcessedCound( final int newCount ) {
  if ( progressBar == null ) {
    throw new NullPointerException( "The progress bar hasn't been created." );
  }
  // update current element
  current = newCount;
  currentLabel.setText( "Current: " + current );
  currentLabel.update( frame.getGraphics() );
  // update the progress bar
  progressBar.setValue( current );
  frame.setTitle( getWindowsTitle() );
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public Monitor( final int max, final String name ) {
  if ( max <= 0 ) {
    throw new IllegalArgumentException( "The count has to be greater than 0, you gave" + max + "." );
  }
  this.name = name;
  this.max = max;
  init();
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
origin: uk.ac.ebi.intact.util/data-conversion

boolean displayProgressBar = guiEnabled && keys.size() > 0;
if ( displayProgressBar ) {
  monitor = new Monitor( keys.size(), "Protein update" );
  monitor.setStatus( "Waiting for the checker to start..." );
  monitor.show();
      taxid = proteinInteractor.getOrganism().getTaxId();
    monitor.setStatus( "Checking " + uniprotID + " (" + taxid + ")" );
    monitor.updateProteinProcessedCound( ++current );
  monitor.hide();
  monitor = new Monitor( interactions.size(), "Interaction checking" );
  monitor.setStatus( "Waiting for the checker to start..." );
  monitor.show();
      name = "no shortlabel specified";
    monitor.setStatus( "Checking " + name );
    monitor.updateProteinProcessedCound( ++current );
  monitor.setStatus( "finished..." );
  monitor.hide();
origin: uk.ac.ebi.intact.util/data-conversion

  public static void main( String[] args ) {

    Monitor monitor = new Monitor( 3000, "Protein update" );
    monitor.show();
    monitor.testIt( monitor );
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public void updateProteinProcessedCound( final int newCount, final String status ) {
  // update status
  setStatus( status );
  // update current element and progress bar
  updateProteinProcessedCound( newCount );
}
origin: uk.ac.ebi.intact.app/data-conversion

public void setStatus( final String status ) {
  // update status
  statusLabel.setText( status );
  statusLabel.update( frame.getGraphics() );
  frame.setTitle( getWindowsTitle() );
}
origin: uk.ac.ebi.intact.app/data-conversion

public Monitor( final int max, final String name ) {
  if ( max <= 0 ) {
    throw new IllegalArgumentException( "The count has to be greater than 0, you gave" + max + "." );
  }
  this.name = name;
  this.max = max;
  init();
}
uk.ac.ebi.intact.application.dataConversion.psiUpload.guiMonitor

Javadoc

That class allows us to display the progress of .

Most used methods

  • <init>
  • getWindowsTitle
  • hide
  • init
  • setStatus
  • show
  • testIt
    D E M O
  • updateProteinProcessedCound

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now