com.arsdigita.search.ui.filters
Class ObjectTypeFilterWidget
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.search.ui.FilterComponent
com.arsdigita.search.ui.FilterWidget
com.arsdigita.search.ui.filters.ObjectTypeFilterWidget
- All Implemented Interfaces:
- Cloneable, Component, FilterGenerator, Lockable
- public class ObjectTypeFilterWidget
- extends FilterWidget
A filter component for presenting a list of object
types to select from.
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
ObjectTypeFilterWidget
public ObjectTypeFilterWidget(ObjectType[] types)
- Creates a new filter component for selecting amongst
a number of object types
- Parameters:
types
- the types to select
getFilter
public FilterSpecification getFilter(PageState state)
- Description copied from interface:
FilterGenerator
- Returns the current filter specification
- Returns:
- a filter specification
generateBodyXML
public void generateBodyXML(PageState state,
Element parent)
- Description copied from class:
FilterWidget
- The impl of this methods adds information about any
validation errors to the output. If overriding this
method, you must call super.generateBodyXML.
- Overrides:
generateBodyXML
in class FilterWidget
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC