org.ejtools.adwt.util
Class DefaultObjectRenderer

java.lang.Object
  |
  +--org.ejtools.adwt.util.DefaultObjectRenderer
All Implemented Interfaces:
ObjectRenderer

public class DefaultObjectRenderer
extends java.lang.Object
implements ObjectRenderer

Version:
$Revision: 1.3 $
Author:
Laurent Etiemble

Field Summary
protected  java.util.Map objects
          Description of the Field
 
Constructor Summary
DefaultObjectRenderer()
           
 
Method Summary
 javax.swing.Icon getIcon(java.lang.Object o)
          Gets the icon attribute of the DefaultObjectRenderer object
 java.lang.String getLabel(java.lang.Object o)
          Gets the label attribute of the DefaultObjectRenderer object
protected  ObjectWrapper getObjectWrapper(java.lang.Object o)
          Gets the objectWrapper attribute of the DefaultObjectRenderer object
protected static java.awt.Image loadImage(java.lang.String resourceName)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objects

protected java.util.Map objects
Description of the Field

Constructor Detail

DefaultObjectRenderer

public DefaultObjectRenderer()
Method Detail

getIcon

public javax.swing.Icon getIcon(java.lang.Object o)
Gets the icon attribute of the DefaultObjectRenderer object

Specified by:
getIcon in interface ObjectRenderer
Parameters:
o - Description of the Parameter
Returns:
The icon value

getLabel

public java.lang.String getLabel(java.lang.Object o)
Gets the label attribute of the DefaultObjectRenderer object

Specified by:
getLabel in interface ObjectRenderer
Parameters:
o - Description of the Parameter
Returns:
The label value

getObjectWrapper

protected ObjectWrapper getObjectWrapper(java.lang.Object o)
Gets the objectWrapper attribute of the DefaultObjectRenderer object

Parameters:
o - Description of the Parameter
Returns:
The objectWrapper value

loadImage

protected static java.awt.Image loadImage(java.lang.String resourceName)
Description of the Method

Parameters:
resourceName - Description of the Parameter
Returns:
Description of the Return Value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.