auc.simulator
Class RunningLink

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--auc.simulator.RunningLink
All Implemented Interfaces:
java.lang.Runnable

public class RunningLink
extends java.util.TimerTask


Field Summary
static int DATA_BAR_HEIGHT
           
static int DATA_BAR_WIDTH
           
static int HORIZONTAL_LINK
           
protected  java.awt.Graphics mDrawingArea
           
protected  int mIndicatorPosition
           
protected  java.awt.Rectangle mLink
           
protected  int mOrientation
           
static int VERTICAL_LINK
           
 
Constructor Summary
RunningLink(int x, int y, int width, int height)
           
RunningLink(int x, int y, int width, int height, int orientation)
           
RunningLink(java.awt.Rectangle rect)
           
RunningLink(java.awt.Rectangle rect, int orientation)
           
 
Method Summary
 void cleanLink(java.awt.Color bkColor)
           
 void run()
           
 void setDrawingArea(java.awt.Graphics graph)
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLink

protected java.awt.Rectangle mLink

mIndicatorPosition

protected int mIndicatorPosition

mDrawingArea

protected java.awt.Graphics mDrawingArea

DATA_BAR_WIDTH

public static final int DATA_BAR_WIDTH

DATA_BAR_HEIGHT

public static final int DATA_BAR_HEIGHT

HORIZONTAL_LINK

public static final int HORIZONTAL_LINK

VERTICAL_LINK

public static final int VERTICAL_LINK

mOrientation

protected int mOrientation
Constructor Detail

RunningLink

public RunningLink(java.awt.Rectangle rect)

RunningLink

public RunningLink(int x,
                   int y,
                   int width,
                   int height)

RunningLink

public RunningLink(java.awt.Rectangle rect,
                   int orientation)

RunningLink

public RunningLink(int x,
                   int y,
                   int width,
                   int height,
                   int orientation)
Method Detail

run

public void run()
Overrides:
run in class java.util.TimerTask

setDrawingArea

public void setDrawingArea(java.awt.Graphics graph)

cleanLink

public void cleanLink(java.awt.Color bkColor)