org.walluck.oscar
Class RateMeter

java.lang.Object
  extended byorg.walluck.oscar.RateMeter

public class RateMeter
extends java.lang.Object

Aids in the creation of the rate meter usually seen under the "Send" button.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
RateMeter()
           
 
Method Summary
 int[] getRates(RateClass rc)
          Get the value of rates.
 int getWidth()
          Get the value of width.
 void setWidth(int width)
          Set the value of width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateMeter

public RateMeter()
Method Detail

getWidth

public int getWidth()
Get the value of width.

Returns:
value of width.

setWidth

public void setWidth(int width)
Set the value of width.

Parameters:
width - Value to assign to width.

getRates

public int[] getRates(RateClass rc)
Get the value of rates.

Parameters:
rc - a RateClass value
Returns:
value of rates.