Package openllet.core.utils.progress
Class AbstractProgressMonitor
- java.lang.Object
-
- openllet.core.utils.progress.AbstractProgressMonitor
-
- All Implemented Interfaces:
ProgressMonitor
- Direct Known Subclasses:
ConsoleProgressMonitor
,SilentProgressMonitor
,SwingProgressMonitor
public abstract class AbstractProgressMonitor extends java.lang.Object implements ProgressMonitor
Copyright: Copyright (c) 2006
Company: Clark & Parsia, LLC.
- Author:
- Evren Sirin
-
-
Constructor Summary
Constructors Constructor Description AbstractProgressMonitor()
AbstractProgressMonitor(int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getProgress()
int
getProgressLength()
java.lang.String
getProgressMessage()
int
getProgressPercent()
java.lang.String
getProgressTitle()
void
incrementProgress()
boolean
isCanceled()
void
setProgress(int progress)
void
setProgressLength(int progressLength)
void
setProgressMessage(java.lang.String progressMessage)
void
setProgressTitle(java.lang.String progressTitle)
void
taskFinished()
void
taskStarted()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface openllet.core.utils.progress.ProgressMonitor
getEchoInterval, getLastEcho
-
-
-
-
Method Detail
-
getProgress
public int getProgress()
- Specified by:
getProgress
in interfaceProgressMonitor
-
getProgressLength
public int getProgressLength()
-
getProgressMessage
public java.lang.String getProgressMessage()
-
getProgressPercent
public int getProgressPercent()
- Specified by:
getProgressPercent
in interfaceProgressMonitor
-
getProgressTitle
public java.lang.String getProgressTitle()
-
incrementProgress
public void incrementProgress()
- Specified by:
incrementProgress
in interfaceProgressMonitor
-
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled
in interfaceProgressMonitor
-
setProgress
public void setProgress(int progress)
- Specified by:
setProgress
in interfaceProgressMonitor
-
setProgressLength
public void setProgressLength(int progressLength)
- Specified by:
setProgressLength
in interfaceProgressMonitor
-
setProgressMessage
public void setProgressMessage(java.lang.String progressMessage)
- Specified by:
setProgressMessage
in interfaceProgressMonitor
-
setProgressTitle
public void setProgressTitle(java.lang.String progressTitle)
- Specified by:
setProgressTitle
in interfaceProgressMonitor
-
taskFinished
public void taskFinished()
- Specified by:
taskFinished
in interfaceProgressMonitor
-
taskStarted
public void taskStarted()
- Specified by:
taskStarted
in interfaceProgressMonitor
-
-