com.tensegrity.palowebviewer.modules.widgets.client
Class LabelWidgetFactory

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.widgets.client.LabelWidgetFactory
All Implemented Interfaces:
IWidgetFactory
Direct Known Subclasses:
FavoriteViewsWidgetFactory, TreeWidgetFactory

public class LabelWidgetFactory
extends java.lang.Object
implements IWidgetFactory

Kind of IWidgetFactory that generates simple Label for given object. The text for the Label is taken from Object.toString() method or "null" if the object is null.


Constructor Summary
LabelWidgetFactory()
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget createWidgetFor(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelWidgetFactory

public LabelWidgetFactory()
Method Detail

createWidgetFor

public com.google.gwt.user.client.ui.Widget createWidgetFor(java.lang.Object object)
Specified by:
createWidgetFor in interface IWidgetFactory