Class FilterPanelComponent

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.engine.ILogger, org.pentaho.platform.api.ui.IUIComponent, org.pentaho.platform.api.ui.IXMLComponent

    public class FilterPanelComponent
    extends XmlComponent
    This class provides a user interface that lets users select items from lists or radio buttons. The selections are used by other components to filter queries used to populate data.
    James Dixon
    See Also:
    Serialized Form
    • Constructor Detail

      • FilterPanelComponent

        public FilterPanelComponent​(String definitionPath,
                                    String xslName,
                                    org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
                                    List messages)
    • Method Detail

      • setDefaultValue

        public void setDefaultValue​(String filterName,
                                    String[] defaultValue)
      • validate

        public boolean validate()
        Specified by:
        validate in interface org.pentaho.platform.api.ui.IUIComponent
        Specified by:
        validate in class BaseUIComponent
      • getFilters

        public List getFilters()
      • init

        public boolean init()
      • getXmlContent

        public org.dom4j.Document getXmlContent()
        Specified by:
        getXmlContent in interface org.pentaho.platform.api.ui.IXMLComponent
        Specified by:
        getXmlContent in class XmlComponent