net.sf.jga.util
Interface Formattable<T>

All Known Implementing Classes:
GenericListCellRenderer, GenericTableCellRenderer

public interface Formattable<T>

Interface for classes that can support the formatting of values via a UnaryFunctor.

Copyright © 2005 David A. Hall


Method Summary
 void setFormat(UnaryFunctor<T,java.lang.String> formatter)
          Sets the functor that will be used to format values by the implementation.
 

Method Detail

setFormat

void setFormat(UnaryFunctor<T,java.lang.String> formatter)
               throws java.lang.IllegalArgumentException
Sets the functor that will be used to format values by the implementation.

Throws:
java.lang.IllegalArgumentException - if the given formatter is null


Copyright © 2002-2006 David A. Hall. All Rights Reserved.