|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--taxisrus.implementation.CabConsole.Meter
Simulates the meter on the cabConsole
| Constructor Summary | |
Meter()
Creates a Meter |
|
| Method Summary | |
void |
ClearCustomerTotal()
Clears the customer total to $0.00 |
void |
ClearShiftTotal()
Clears the total shift total to $0.00 |
double |
getCustomerMileage()
Get Mileage |
double |
getCustomerTotal()
Get customer total |
double |
getShiftTotal()
Get Total Amount for the shift |
void |
startMeter()
Start meter |
void |
stopMeter()
Stops the meter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Meter()
| Method Detail |
public void ClearCustomerTotal()
public void ClearShiftTotal()
public double getCustomerTotal()
public double getCustomerMileage()
public double getShiftTotal()
public void startMeter()
public void stopMeter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||