com.pow2.webgui
Class WidgetDrawer

java.lang.Object
  extended by com.pow2.webgui.WidgetStrategy
      extended by com.pow2.webgui.WidgetDrawer
Direct Known Subclasses:
AmazonListerDrawer, AmazonTabbedDrawer, AmazonTabDrawer, BOTabDrawer, TabbedDrawer, WindowDrawer

public abstract class WidgetDrawer
extends WidgetStrategy

WidgetDrawer abstract class.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.webgui.WidgetStrategy
widget
 
Constructor Summary
WidgetDrawer(Widget widget)
          Constructor.
 
Method Summary
abstract  StringBuffer draw()
          Gets the string representation of the widget.
 
Methods inherited from class com.pow2.webgui.WidgetStrategy
getWidget, setWidget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetDrawer

public WidgetDrawer(Widget widget)
Constructor.

Parameters:
widget - the widget to draw
Method Detail

draw

public abstract StringBuffer draw()
                           throws Exception
Gets the string representation of the widget.

Returns:
the string representation of the widget
Throws:
Exception - if any error occurs


Copyright © 2002-2005 Power Of Two S.r.l. All Rights Reserved.