com.pow2.webgui.window
Class WindowDrawer
java.lang.Object
com.pow2.webgui.WidgetStrategy
com.pow2.webgui.WidgetDrawer
com.pow2.webgui.window.WindowDrawer
- Direct Known Subclasses:
- BOWindowDrawer, Pow2WindowDrawer
public abstract class WindowDrawer
- extends WidgetDrawer
Abstract WindowDrawer class.
Use draw
as the template method
that executes getTemplateDescription
.
Concrete subclasses should provide the implementation of the method
above.
- Author:
- Luca Fossato
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowDrawer
public WindowDrawer(Widget widget)
- Constructor.
- Parameters:
widget
- the widget to draw
draw
public StringBuffer draw()
- Gets the string representation of the Window widget.
- Specified by:
draw
in class WidgetDrawer
- Returns:
- the string representation of the Window widget
getTemplateDescription
protected abstract StringBuffer getTemplateDescription(Window window,
org.apache.velocity.VelocityContext context)
- Gets the description of the Window template.
- Returns:
- the description of the Window template
Copyright © 2002-2005 Power Of Two S.r.l. All Rights Reserved.