org.ejtools.adwt.util
Class ObjectWrapper

java.lang.Object
  |
  +--org.ejtools.adwt.util.ObjectWrapper
All Implemented Interfaces:
java.beans.beancontext.BeanContextChildComponentProxy

public class ObjectWrapper
extends java.lang.Object
implements java.beans.beancontext.BeanContextChildComponentProxy

Version:
$Revision: 1.3 $
Author:
Laurent Etiemble

Constructor Summary
ObjectWrapper(java.lang.Object object)
          Constructor for the ContextNode object
 
Method Summary
 java.awt.Component getComponent()
          Gets the Component attribute of the ContextNode object
 javax.swing.Icon getIcon()
          Returns the icon.
 java.lang.Object getUserObject()
          Gets the UserObject attribute of the ContextNode object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectWrapper

public ObjectWrapper(java.lang.Object object)
Constructor for the ContextNode object

Parameters:
object - Description of the Parameter
Method Detail

getComponent

public java.awt.Component getComponent()
Gets the Component attribute of the ContextNode object

Specified by:
getComponent in interface java.beans.beancontext.BeanContextChildComponentProxy
Returns:
The Component value

getIcon

public javax.swing.Icon getIcon()
Returns the icon.

Returns:
Icon

getUserObject

public java.lang.Object getUserObject()
Gets the UserObject attribute of the ContextNode object

Returns:
The UserObject value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Returned Value


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