TrustGrapher  r52
A playabale simulator for modelling trust between agents
cu.trustGrapher.eventplayer.TimeCounter Class Reference
Inheritance diagram for cu.trustGrapher.eventplayer.TimeCounter:
Collaboration diagram for cu.trustGrapher.eventplayer.TimeCounter:

List of all members.

Public Member Functions

 TimeCounter ()
 TimeCounter (long increment)
 TimeCounter (long increment, long startTime)
 TimeCounter (long increment, long startTime, long lowerBound, long upperBound)
long getTime ()
synchronized void setTime (long time)
long getIncrement ()
long getLowerBound ()
long getUpperBound ()
void setIncrement (long increment)
void setLowerBound (long bound)
void setUpperBound (long bound)
void doIncrement ()
void actionPerformed (ActionEvent ae)

Detailed Description

Definition at line 6 of file TimeCounter.java.


Constructor & Destructor Documentation

cu.trustGrapher.eventplayer.TimeCounter.TimeCounter ( )

Default Constructor

  • Sets initial time as 0
  • Sets increment as 1
  • Sets lower bound as 0
  • Sets upper bound as 100

Definition at line 23 of file TimeCounter.java.

cu.trustGrapher.eventplayer.TimeCounter.TimeCounter ( long  increment)
  • Sets initial time as 0
  • Sets increment as passed increment value
  • Sets lower bound as 0
  • Sets upper bound as 100
Parameters:
incrementThe value to increment the time as for each call of run.

Definition at line 36 of file TimeCounter.java.

cu.trustGrapher.eventplayer.TimeCounter.TimeCounter ( long  increment,
long  startTime 
)
  • Sets initial time as passed start time
  • Sets increment as passed increment value
  • Sets lower bound as 0
  • Sets upper bound as 100
Parameters:
incrementThe value to increment the time as for each call of run.
startTimeThe initial value of the counter.

Definition at line 50 of file TimeCounter.java.

cu.trustGrapher.eventplayer.TimeCounter.TimeCounter ( long  increment,
long  startTime,
long  lowerBound,
long  upperBound 
)
  • Sets initial time as passed start time
  • Sets increment as passed increment value
  • Sets lower bound as passed lower bound
  • Sets upper bound as passed upper bound
Parameters:
incrementThe value to increment the time as for each call of run.
startTimeThe initial value of the counter.
lowerBoundThe lower bound on the Counter.
upperBoundThe upper bound on the Counter.

Definition at line 66 of file TimeCounter.java.


Member Function Documentation

void cu.trustGrapher.eventplayer.TimeCounter.actionPerformed ( ActionEvent  ae)

Definition at line 115 of file TimeCounter.java.

Here is the call graph for this function:

void cu.trustGrapher.eventplayer.TimeCounter.doIncrement ( )

Definition at line 104 of file TimeCounter.java.

Here is the call graph for this function:

Here is the caller graph for this function:

long cu.trustGrapher.eventplayer.TimeCounter.getIncrement ( )

Definition at line 81 of file TimeCounter.java.

long cu.trustGrapher.eventplayer.TimeCounter.getLowerBound ( )

Definition at line 85 of file TimeCounter.java.

long cu.trustGrapher.eventplayer.TimeCounter.getTime ( )

Definition at line 73 of file TimeCounter.java.

long cu.trustGrapher.eventplayer.TimeCounter.getUpperBound ( )

Definition at line 89 of file TimeCounter.java.

void cu.trustGrapher.eventplayer.TimeCounter.setIncrement ( long  increment)

Definition at line 93 of file TimeCounter.java.

void cu.trustGrapher.eventplayer.TimeCounter.setLowerBound ( long  bound)

Definition at line 97 of file TimeCounter.java.

synchronized void cu.trustGrapher.eventplayer.TimeCounter.setTime ( long  time)

Definition at line 77 of file TimeCounter.java.

Here is the caller graph for this function:

void cu.trustGrapher.eventplayer.TimeCounter.setUpperBound ( long  bound)

Definition at line 100 of file TimeCounter.java.


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