anl.aida.viz3d
Class StackItemDateFormatter

java.lang.Object
  extended by anl.aida.viz3d.StackItemDateFormatter
All Implemented Interfaces:
StackItemTextFormatter

public class StackItemDateFormatter
extends java.lang.Object
implements StackItemTextFormatter

Formats the sorting index of a StackItem as Date.


Field Summary
private static java.text.DateFormat formatter
           
 
Constructor Summary
StackItemDateFormatter()
           
 
Method Summary
 java.lang.String format(StackItem2 item)
          Formats the StackItem into a string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formatter

private static java.text.DateFormat formatter
Constructor Detail

StackItemDateFormatter

public StackItemDateFormatter()
Method Detail

format

public java.lang.String format(StackItem2 item)
Description copied from interface: StackItemTextFormatter
Formats the StackItem into a string representation.

Specified by:
format in interface StackItemTextFormatter
Parameters:
item - the item to format
Returns:
a String representation of the stack item.