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

    Modifier and Type
    Method
    Description
    format(double tick)
    Receives the current tick as an argument and returns a String.
    Gets the initial text to display before the simulation clock has started.
  • Method Details

    • 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.