junit.awtui
Class ProgressBar

Canvas
   |
   +--junit.awtui.ProgressBar

public class ProgressBar
extends Canvas

Field Summary
public fError
          
public fProgress
          
public fProgressX
          
public fTotal
          
Constructor Summary
ProgressBar()
           
 
Method Summary
private ColorgetStatusColor()
          
public voidpaint(Graphics g)
          
public voidpaintBackground(Graphics g)
          
public voidpaintStatus(Graphics g)
          
private voidpaintStep(int startX, int endX)
          
public voidreset()
          
public intscale(int value)
          
public voidsetBounds(int x, int y, int w, int h)
          
public voidstart(int total)
          
public voidstep(boolean successful)
          
Field Detail

fError

public boolean fError
References to the field:
junit/awtui/ProgressBar.java 17
junit/awtui/ProgressBar.java 52
junit/awtui/ProgressBar.java 78
junit/awtui/ProgressBar.java 79

fProgress

public int fProgress
References to the field:
junit/awtui/ProgressBar.java 51
junit/awtui/ProgressBar.java 64
junit/awtui/ProgressBar.java 73
junit/awtui/ProgressBar.java 76

fProgressX

public int fProgressX
References to the field:
junit/awtui/ProgressBar.java 41
junit/awtui/ProgressBar.java 50
junit/awtui/ProgressBar.java 64
junit/awtui/ProgressBar.java 74
junit/awtui/ProgressBar.java 76
junit/awtui/ProgressBar.java 82

fTotal

public int fTotal
References to the field:
junit/awtui/ProgressBar.java 57
junit/awtui/ProgressBar.java 58
junit/awtui/ProgressBar.java 68
Constructor Detail

ProgressBar

public  ProgressBar()
Call sites to the constructor:
junit/awtui/TestRunner.java 191
Method Detail

getStatusColor

private Color getStatusColor()
Call sites to the method:
junit/awtui/ProgressBar.java 40

paint

public void paint(Graphics g)

Locals in the method:
g Line 23, Line 24

paintBackground

public void paintBackground(Graphics g)
Click to Locals in the Method
Call sites to the method:
junit/awtui/ProgressBar.java 23

Locals in the method:
g Line 28, Line 30, Line 31, Line 32, Line 33, Line 34, Line 35, Line 36
r Line 30, Line 30, Line 32, Line 33, Line 35, Line 35, Line 35, Line 36, Line 36, Line 36

paintStatus

public void paintStatus(Graphics g)
Click to Locals in the Method
Call sites to the method:
junit/awtui/ProgressBar.java 24

Locals in the method:
g Line 40, Line 42
r Line 42, Line 42

paintStep

private void paintStep(int startX, int endX)
Click to Locals in the Method
Call sites to the method:
junit/awtui/ProgressBar.java 82

Locals in the method:
endX Line 46
startX Line 46, Line 46

reset

public void reset()
Call sites to the method:
junit/awtui/ProgressBar.java 69
junit/awtui/TestRunner.java 360

scale

public int scale(int value)
Click to Locals in the Method
Call sites to the method:
junit/awtui/ProgressBar.java 64
junit/awtui/ProgressBar.java 76

Locals in the method:
value Line 58, Line 59

setBounds

public void setBounds(int x, int y, int w, int h)

Locals in the method:
y Line 63
w Line 63
h Line 63
x Line 63

start

public void start(int total)
Click to Locals in the Method
Call sites to the method:
junit/awtui/TestRunner.java 399

Locals in the method:
total Line 68

step

public void step(boolean successful)
Click to Locals in the Method
Call sites to the method:
junit/awtui/TestRunner.java 292

Locals in the method:
successful Line 78
x Line 80, Line 82