com.tensegrity.gui.swing.customattribute
Class DirectoryLocationRenderer

java.lang.Object
  extended bycom.tensegrity.gui.swing.customattribute.DirectoryLocationRenderer
All Implemented Interfaces:
CustomAttributeRenderer

public class DirectoryLocationRenderer
extends java.lang.Object
implements CustomAttributeRenderer

Class DirectoryLocationRenderer implements the renderer for DirectoryLocation which basically consists of a JLabel.

Version:
$Id: DirectoryLocationRenderer.java,v 1.3 2003/11/21 13:11:36 GillesIachelini Exp $
Author:
Gilles Iachelini

Constructor Summary
DirectoryLocationRenderer()
          Empty default constructor for DirectoryLocationRenderer
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryLocationRenderer

public DirectoryLocationRenderer()
Empty default constructor for DirectoryLocationRenderer

Method Detail

setValue

public void setValue(java.lang.Object value)
Description copied from interface: CustomAttributeRenderer
Notifies the renderer about the value to render.

Specified by:
setValue in interface CustomAttributeRenderer
Parameters:
value - the value this renderer must provide a Component for.
See Also:
com.tensegrity.gui.swing.control.attributetable.CustomAttributeRenderer#setValue(Object)

getComponent

public java.lang.Object getComponent()
Description copied from interface: CustomAttributeRenderer
Returns an object (usually a Component) the AttributeTable will use to render the custom value.

Specified by:
getComponent in interface CustomAttributeRenderer
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.