Gridarta Editor
net.sf.gridarta.gui.utils.AsynchronousProgress Class Reference

Implements a Progress that forwards to another. More...

+ Inheritance diagram for net.sf.gridarta.gui.utils.AsynchronousProgress:
+ Collaboration diagram for net.sf.gridarta.gui.utils.AsynchronousProgress:

Public Member Functions

 AsynchronousProgress (@NotNull final Progress progress)
 Creates a new instance. More...
 
void finished ()
 
Component getParentComponent ()
 
void setLabel (final String msg, final int max)
 
void setValue (final int value)
 

Private Attributes

final Progress progress
 The Progress instance to forward to. More...
 

Detailed Description

Implements a Progress that forwards to another.

Progress

instance but can be used from threads other than EDT.

Author
Andreas Kirschbaum

Definition at line 33 of file AsynchronousProgress.java.

Constructor & Destructor Documentation

◆ AsynchronousProgress()

net.sf.gridarta.gui.utils.AsynchronousProgress.AsynchronousProgress ( @NotNull final Progress  progress)

Creates a new instance.

Parameters
progressthe
Progress
instance to forward to

Definition at line 45 of file AsynchronousProgress.java.

References net.sf.gridarta.gui.utils.AsynchronousProgress.progress.

Member Function Documentation

◆ finished()

void net.sf.gridarta.gui.utils.AsynchronousProgress.finished ( )

Definition at line 50 of file AsynchronousProgress.java.

◆ getParentComponent()

Component net.sf.gridarta.gui.utils.AsynchronousProgress.getParentComponent ( )

Definition at line 61 of file AsynchronousProgress.java.

◆ setLabel()

void net.sf.gridarta.gui.utils.AsynchronousProgress.setLabel ( final String  msg,
final int  max 
)

Definition at line 66 of file AsynchronousProgress.java.

◆ setValue()

void net.sf.gridarta.gui.utils.AsynchronousProgress.setValue ( final int  value)

Definition at line 78 of file AsynchronousProgress.java.

Member Data Documentation

◆ progress

final Progress net.sf.gridarta.gui.utils.AsynchronousProgress.progress
private

The Progress instance to forward to.

Definition at line 39 of file AsynchronousProgress.java.

Referenced by net.sf.gridarta.gui.utils.AsynchronousProgress.AsynchronousProgress().


The documentation for this class was generated from the following file: