com.arsdigita.search.ui
Class FilterComponent
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.search.ui.FilterComponent
- All Implemented Interfaces:
- Cloneable, Component, FilterGenerator, Lockable
- Direct Known Subclasses:
- FilterWidget
- public abstract class FilterComponent
- extends SimpleComponent
- implements FilterGenerator
This class provides a base for filter components
which don't have any form state parameters.
- See Also:
FilterGenerator
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
FilterComponent
public FilterComponent(FilterType type)
- Creates a filter component
- Parameters:
type
- the filter type
generateXML
public void generateXML(PageState state,
Element parent)
- Description copied from class:
SimpleComponent
- Adds [J]DOM nodes for this component. Specifically for
base class SimpleComponent, does nothing.
- Specified by:
generateXML
in interface Component
- Overrides:
generateXML
in class SimpleComponent
generateBodyXML
protected abstract void generateBodyXML(PageState state,
Element parent)
- THis method must generate the body of the component,
typically a list of possible values for the filter
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC