org.mindswap.pellet.utils.progress
Class SwingProgressMonitor

java.lang.Object
  extended by org.mindswap.pellet.utils.progress.AbstractProgressMonitor
      extended by org.mindswap.pellet.utils.progress.SwingProgressMonitor
All Implemented Interfaces:
ProgressMonitor

public class SwingProgressMonitor
extends AbstractProgressMonitor

Title: SwingProgressMonitor

Description: Very simple implementation of the Pellet progress monitor using Swing widgets.

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Mike Smith

Constructor Summary
SwingProgressMonitor()
           
SwingProgressMonitor(int length)
           
 
Method Summary
 boolean isCanceled()
           
 void setProgressMessage(java.lang.String progressMessage)
           
 void taskFinished()
           
 
Methods inherited from class org.mindswap.pellet.utils.progress.AbstractProgressMonitor
getProgress, getProgressLength, getProgressMessage, getProgressPercent, getProgressTitle, incrementProgress, setProgress, setProgressLength, setProgressTitle, taskStarted
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingProgressMonitor

public SwingProgressMonitor()

SwingProgressMonitor

public SwingProgressMonitor(int length)
Method Detail

isCanceled

public boolean isCanceled()
Specified by:
isCanceled in interface ProgressMonitor
Overrides:
isCanceled in class AbstractProgressMonitor

setProgressMessage

public void setProgressMessage(java.lang.String progressMessage)
Specified by:
setProgressMessage in interface ProgressMonitor
Overrides:
setProgressMessage in class AbstractProgressMonitor

taskFinished

public void taskFinished()
Specified by:
taskFinished in interface ProgressMonitor
Overrides:
taskFinished in class AbstractProgressMonitor


Copyright © 2004 Evren Sirin. All Rights Reserved.