Class TableWidgetConfig


  • public class TableWidgetConfig
    extends WidgetConfig
    Author:
    Xavier Watkins
    • Constructor Detail

      • TableWidgetConfig

        public TableWidgetConfig()
    • 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 class WidgetConfig
        Parameters:
        imBag - a bag
        os - 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 class WidgetConfig
        Parameters:
        imBag - the bag for this widget
        populationBag - the population bag
        os - The objectstore where all the data is.
        options - the options for this widget.
        ids - list of IDs to analyse, use instead of intermine bag
        populationIds - use instead of populationBag
        Returns:
        the widget