Package repast.simphony.ui.plugin
Interface TickCountFormatter
-
- All Known Implementing Classes:
DefaultTickCountFormatter
public interface TickCountFormatter
Interface for class that want to implement Tick Count formatting.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
format(double tick)
Receives the current tick as an argument and returns a String.String
getInitialValue()
Gets the initial text to display before the simulation clock has started.
-
-
-
Method Detail
-
format
String format(double tick)
Receives the current tick as an argument and returns a String. For example, given a tick N, the String might be "Tick Count: N".- Parameters:
tick
- the tick to format- Returns:
- a String representing the formatted tick.
-
getInitialValue
String getInitialValue()
Gets the initial text to display before the simulation clock has started.- Returns:
- the initial text to display before the simulation clock has started.
-
-