com.tensegrity.generic.attribute
Interface CustomAttributeRenderer

All Known Implementing Classes:
CompositeTableSpanRenderer, DirectoryLocationRenderer, ItemListAttributeRenderer

public interface CustomAttributeRenderer

Instances of CustomAttributeRenderer are used to render custom attributes. The setValue method is called to notify the renderer about the value to render.

Version:
$Id: CustomAttributeRenderer.java,v 1.2 2003/08/27 11:11:21 AndreasEbbert Exp $
Author:
Gilles Iachelini

Method Summary
 java.lang.Object getComponent()
          Returns an object (usually a Component) the AttributeTable will use to render the custom value.
 void setValue(java.lang.Object value)
          Notifies the renderer about the value to render.
 

Method Detail

setValue

public void setValue(java.lang.Object value)
Notifies the renderer about the value to render.

Parameters:
value - the value this renderer must provide a Component for.

getComponent

public java.lang.Object getComponent()
Returns an object (usually a Component) the AttributeTable will use to render the custom value.

Returns:
a component to be used as renderer for custom values.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.