|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pow2.webgui.WidgetStrategy
com.pow2.webgui.contentprovider.BaseContentProvider
public abstract class BaseContentProvider
ContentProvider abstract class.
Field Summary | |
---|---|
protected static org.apache.log4j.Category |
cat
Log4j category |
protected Collection |
collection
|
protected StringBuffer |
content
|
protected HashMap |
propertiesMap
|
protected String |
template
|
Fields inherited from class com.pow2.webgui.WidgetStrategy |
---|
widget |
Constructor Summary | |
---|---|
BaseContentProvider(Widget widget)
Constructor. |
Method Summary | |
---|---|
Collection |
getCollection()
Gets the list attribute of the ArrayListContentProvider object |
abstract StringBuffer |
getContent()
Gets the ContentProvider content. |
HashMap |
getPropertiesMap()
Gets the propertiesMap attribute of the BaseContentProvider object |
String |
getTemplate()
Gets the template attribute of the ContentProvider object |
void |
setCollection(Collection collection)
Sets the list attribute of the ArrayListContentProvider object |
void |
setContent(StringBuffer content)
Sets the content attribute of the ContentProvider object |
void |
setPropertiesMap(HashMap propertiesMap)
Sets the propertiesMap attribute of the BaseContentProvider object |
void |
setTemplate(String template)
Sets the template attribute of the ContentProvider object |
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 |
Field Detail |
---|
protected static org.apache.log4j.Category cat
protected StringBuffer content
protected Collection collection
protected String template
protected HashMap propertiesMap
Constructor Detail |
---|
public BaseContentProvider(Widget widget)
widget
- the parent widget to provide the content toMethod Detail |
---|
public void setCollection(Collection collection)
collection
- The new collection valuepublic void setContent(StringBuffer content)
content
- The new content valuepublic void setTemplate(String template)
template
- The new template valuepublic void setPropertiesMap(HashMap propertiesMap)
propertiesMap
- The new propertiesMap valuepublic Collection getCollection()
public abstract StringBuffer getContent() throws Exception
Exception
- if any error occurspublic String getTemplate()
public HashMap getPropertiesMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |