Package de.esoco.j2me.util

Examples of de.esoco.j2me.util.ProgressMonitor


   * @param nCount   The number of nodes that will be processed
   * @param sMessage A message to display in the progress monitor or NULL
   */
  protected void initProgressMonitor(int nCount, String sMessage)
  {
    ProgressMonitor m = getProgressMonitor();

    if (m != null)
    {
      m.init(nCount, sMessage);
    }
  }
View Full Code Here


   * set) of a single progress step. This method will be called by the methods
   * of all nodes that are part of a long-term task like encryption.
   */
  protected void notifyProgressMonitor()
  {
    ProgressMonitor m = getProgressMonitor();

    if (m != null)
    {
      m.advance(1);
    }
  }
View Full Code Here

   * Resets the model's progress monitor after a processing of nodes has
   * finished.
   */
  protected void resetProgressMonitor()
  {
    ProgressMonitor m = getProgressMonitor();

    if (m != null)
    {
      m.reset();
    }
  }
View Full Code Here

TOP

Related Classes of de.esoco.j2me.util.ProgressMonitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.