org.pf.joi.renderer
Class IconRenderer

java.lang.Object
  extended by org.pf.joi.renderer.IconRenderer
All Implemented Interfaces:
ObjectRenderer, ObjectRenderer2

public class IconRenderer
extends java.lang.Object
implements ObjectRenderer2

Provides a JLabel containing the icon.

Version:
1.0
Author:
Manfred Duchrow

Constructor Summary
IconRenderer()
          Initialize the new instance with default values.
 
Method Summary
 java.awt.Component inspectComponent(java.lang.Object obj)
          Returns the visual representation of the given object.
 java.lang.String inspectString(java.lang.Object obj)
          Returns the string representation of the specified object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconRenderer

public IconRenderer()
Initialize the new instance with default values.

Method Detail

inspectComponent

public java.awt.Component inspectComponent(java.lang.Object obj)
Description copied from interface: ObjectRenderer2
Returns the visual representation of the given object.

Specified by:
inspectComponent in interface ObjectRenderer2
See Also:
ObjectRenderer2.inspectComponent(java.lang.Object)

inspectString

public java.lang.String inspectString(java.lang.Object obj)
Description copied from interface: ObjectRenderer
Returns the string representation of the specified object.

Specified by:
inspectString in interface ObjectRenderer
See Also:
ObjectRenderer.inspectString(java.lang.Object)