com.pow2.webgui.window
Class Pow2WindowDrawer

java.lang.Object
  extended by com.pow2.webgui.WidgetStrategy
      extended by com.pow2.webgui.WidgetDrawer
          extended by com.pow2.webgui.window.WindowDrawer
              extended by com.pow2.webgui.window.Pow2WindowDrawer

public class Pow2WindowDrawer
extends WindowDrawer

"Pow2" WindowDrawer class.
This class provides concrete implementation of getTemplateDescription method.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.webgui.WidgetStrategy
widget
 
Constructor Summary
Pow2WindowDrawer(Widget widget)
          Constructor.
 
Method Summary
protected  StringBuffer getTemplateDescription(Window window, org.apache.velocity.VelocityContext context)
          Gets the description of the Window template.
 
Methods inherited from class com.pow2.webgui.window.WindowDrawer
draw
 
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

Pow2WindowDrawer

public Pow2WindowDrawer(Widget widget)
Constructor.

Parameters:
widget - the widget to draw
Method Detail

getTemplateDescription

protected StringBuffer getTemplateDescription(Window window,
                                              org.apache.velocity.VelocityContext context)
Gets the description of the Window template.

Specified by:
getTemplateDescription in class WindowDrawer
Parameters:
window - the window widget
context - the current Velocity context
Returns:
the description of the Window template


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