Class TableWidgetConfig
- java.lang.Object
-
- org.intermine.web.logic.widget.config.WidgetConfig
-
- org.intermine.web.logic.widget.config.TableWidgetConfig
-
public class TableWidgetConfig extends WidgetConfig
- Author:
- Xavier Watkins
-
-
Constructor Summary
Constructors Constructor Description TableWidgetConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<FieldDescriptor>>
getClassKeys()
Get the classKeysjava.lang.String
getColumnTitle()
java.lang.String
getDisplayFields()
java.lang.String
getExportField()
java.lang.String
getExternalLink()
java.lang.String
getExternalLinkLabel()
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getExtraAttributes(InterMineBag imBag, ObjectStore os)
Do-nothing implementation of superclass methodjava.lang.String
getPathStrings()
Comma separated list of path strings to appear in the widget, ie Employee.firstName, Employee.lastNameWebConfig
getWebConfig()
TableWidget
getWidget(InterMineBag imBag, InterMineBag populationBag, ObjectStore os, WidgetOptions options, java.lang.String ids, java.lang.String populationIds)
void
setClassKeys(java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> classKeys)
void
setColumnTitle(java.lang.String columnTitle)
void
setDisplayFields(java.lang.String fields)
void
setExportField(java.lang.String exportField)
void
setExternalLink(java.lang.String externalLink)
void
setExternalLinkLabel(java.lang.String externalLinkLabel)
void
setPathStrings(java.lang.String pathStrings)
void
setWebConfig(WebConfig webConfig)
-
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
-
getDisplayFields
public java.lang.String getDisplayFields()
- Returns:
- the fields
-
setDisplayFields
public void setDisplayFields(java.lang.String fields)
- Parameters:
fields
- the fields to set
-
getColumnTitle
public java.lang.String getColumnTitle()
- Returns:
- the title for the count column
-
setColumnTitle
public void setColumnTitle(java.lang.String columnTitle)
- Parameters:
columnTitle
- set title for count column
-
getExtraAttributes
public java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getExtraAttributes(InterMineBag imBag, ObjectStore os)
Do-nothing implementation of superclass method- Specified by:
getExtraAttributes
in classWidgetConfig
- Parameters:
imBag
- a bagos
- the objectstore- Returns:
- null
-
getWebConfig
public WebConfig getWebConfig()
- Returns:
- the webConfig
-
setWebConfig
public void setWebConfig(WebConfig webConfig)
- Parameters:
webConfig
- the webConfig to set
-
setClassKeys
public void setClassKeys(java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> classKeys)
- Parameters:
classKeys
- the classKeys to set
-
getClassKeys
public java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> getClassKeys()
Get the classKeys- Returns:
- the class keys
-
getPathStrings
public java.lang.String getPathStrings()
Comma separated list of path strings to appear in the widget, ie Employee.firstName, Employee.lastName- Returns:
- the pathStrings
-
setPathStrings
public void setPathStrings(java.lang.String pathStrings)
- Parameters:
pathStrings
- the pathString to set
-
getExternalLink
public java.lang.String getExternalLink()
-
setExternalLink
public void setExternalLink(java.lang.String externalLink)
-
getExternalLinkLabel
public java.lang.String getExternalLinkLabel()
-
setExternalLinkLabel
public void setExternalLinkLabel(java.lang.String externalLinkLabel)
-
getExportField
public java.lang.String getExportField()
- Returns:
- the exportField
-
setExportField
public void setExportField(java.lang.String exportField)
- Parameters:
exportField
- the exportField to set
-
getWidget
public TableWidget 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
-
-