Package chemaxon.core.util
Interface MProgressMonitor
- All Superinterfaces:
ProgressMonitor
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JAN_01_2027)
public interface MProgressMonitor
extends ProgressMonitor
Deprecated, for removal: This API element is subject to removal in a future version.
Progress monitor interface.
- Since:
- Marvin 4.0, 07/12/2005
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()Deprecated, for removal: This API element is subject to removal in a future version.Gets the child of this progress monitor.intgetLevel()Deprecated, for removal: This API element is subject to removal in a future version.Gets the level of this progress monitor.intDeprecated, for removal: This API element is subject to removal in a future version.Gets the maximum progress value.default voidDeprecated, for removal: This API element is subject to removal in a future version.Initializes progress monitoring.voidinitProgressMonitor(String note, int min, int max) Deprecated, for removal: This API element is subject to removal in a future version.Create a progress monitor.booleanDeprecated, for removal: This API element is subject to removal in a future version.Tests whether the user canceled the dialog.booleanDeprecated, for removal: This API element is subject to removal in a future version.Tests whether the dialog is visible.Deprecated, for removal: This API element is subject to removal in a future version.Creates new monitor with same parent, message, levels.voidsetMaximum(int v) Deprecated, for removal: This API element is subject to removal in a future version.Gets the maximum value.booleansetProgressValue(int x) Deprecated, for removal: This API element is subject to removal in a future version.Set progress.default voidsetValue(int value) Deprecated, for removal: This API element is subject to removal in a future version.Sets the current progress value.Methods inherited from interface chemaxon.core.util.ProgressMonitor
init
-
Method Details
-
init
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ProgressMonitorInitializes progress monitoring. Resets progress if it was set before.- Specified by:
initin interfaceProgressMonitor- Parameters:
note- optional note that describes the process (e.g. to display in a dialog)max- maximum progress value
-
setValue
default void setValue(int value) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ProgressMonitorSets the current progress value. It must be between 0 andProgressMonitor.getMaximum().- Specified by:
setValuein interfaceProgressMonitor- Parameters:
value- the current progress value
-
getMaximum
int getMaximum()Deprecated, for removal: This API element is subject to removal in a future version.Gets the maximum progress value.- Specified by:
getMaximumin interfaceProgressMonitor- Returns:
- the maximum progress value
-
initProgressMonitor
Deprecated, for removal: This API element is subject to removal in a future version.Create a progress monitor.- Parameters:
note- text to appear in the dialogmin- initial progress valuemax- final progress value
-
setProgressValue
boolean setProgressValue(int x) Deprecated, for removal: This API element is subject to removal in a future version.Set progress.- Parameters:
x- the current progress value- Returns:
- true if progressing fine, false if canceled
-
setMaximum
void setMaximum(int v) Deprecated, for removal: This API element is subject to removal in a future version.Gets the maximum value.- Parameters:
v- the maximum value
-
isCanceled
boolean isCanceled()Deprecated, for removal: This API element is subject to removal in a future version.Tests whether the user canceled the dialog.- Specified by:
isCanceledin interfaceProgressMonitor- Returns:
- true if the progress dialog is canceled, false otherwise
-
getChild
MProgressMonitor getChild()Deprecated, for removal: This API element is subject to removal in a future version.Gets the child of this progress monitor.- Returns:
- the child or null
-
getLevel
int getLevel()Deprecated, for removal: This API element is subject to removal in a future version.Gets the level of this progress monitor.- Returns:
- the level
-
isDialogVisible
boolean isDialogVisible()Deprecated, for removal: This API element is subject to removal in a future version.Tests whether the dialog is visible.- Returns:
- true if the progress dialog is visible, false otherwise
-
newInstance
MProgressMonitor newInstance()Deprecated, for removal: This API element is subject to removal in a future version.Creates new monitor with same parent, message, levels.- Returns:
- the new progress monitor
-
ProgressMonitorinstead.