Class HTMLWidgetConfig
- java.lang.Object
-
- org.intermine.web.logic.widget.config.WidgetConfig
-
- org.intermine.web.logic.widget.config.HTMLWidgetConfig
-
public class HTMLWidgetConfig extends WidgetConfig
dummy widget to output html widget- Author:
- julie
-
-
Constructor Summary
Constructors Constructor Description HTMLWidgetConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
Get the content of the widget.java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getExtraAttributes(InterMineBag imBag, ObjectStore os)
Widget
getWidget(InterMineBag imBag, InterMineBag populationBag, ObjectStore os, WidgetOptions options, java.lang.String ids, java.lang.String populationIds)
void
setContent(java.lang.String content)
Set the content of the widget.-
Methods inherited from class org.intermine.web.logic.widget.config.WidgetConfig
getDescription, getFilterLabel, getFilters, getFiltersValues, getId, getPathConstraints, getStartClass, getTitle, getTypeClass, getViews, setConstraints, setDescription, setFilterLabel, setFilters, setId, setPathConstraints, setStartClass, setTitle, setTypeClass, setViews
-
-
-
-
Method Detail
-
getExtraAttributes
public java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getExtraAttributes(InterMineBag imBag, ObjectStore os)
- Specified by:
getExtraAttributes
in classWidgetConfig
- Parameters:
imBag
- the InterMineBagos
- the ObjectStore- Returns:
- the getExtraAttributes
-
getWidget
public Widget getWidget(InterMineBag imBag, InterMineBag populationBag, ObjectStore os, WidgetOptions options, java.lang.String ids, java.lang.String populationIds)
- Specified by:
getWidget
in classWidgetConfig
- Parameters:
imBag
- the bag for this widgetpopulationBag
- the population bagos
- The objectstore where all the data is.options
- the options for this widget.ids
- list of IDs to analyse, use instead of intermine bagpopulationIds
- use instead of populationBag- Returns:
- the widget
-
setContent
public void setContent(java.lang.String content)
Set the content of the widget.- Parameters:
content
- content of widget
-
getContent
public java.lang.String getContent()
Get the content of the widget.- Returns:
- the content of the widget
-
-