com.arsdigita.search.ui.filters
Class SimpleCategoryFilterWidget

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.search.ui.FilterComponent
              extended bycom.arsdigita.search.ui.FilterWidget
                  extended bycom.arsdigita.search.ui.filters.CategoryFilterWidget
                      extended bycom.arsdigita.search.ui.filters.SimpleCategoryFilterWidget
All Implemented Interfaces:
Cloneable, Component, FilterGenerator, Lockable

public class SimpleCategoryFilterWidget
extends CategoryFilterWidget

A simple category filter which displays all subcategories from a specified root


Field Summary
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr, versionId
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
SimpleCategoryFilterWidget(Category root)
          Creates a new category filter
SimpleCategoryFilterWidget(Category[] roots)
          Creates a new category filter
 
Method Summary
 Category[] getCategories(PageState state)
          Returns a list of categories to display for selection
 
Methods inherited from class com.arsdigita.search.ui.filters.CategoryFilterWidget
generateBodyXML, getFilter
 
Methods inherited from class com.arsdigita.search.ui.FilterWidget
generateErrorXML, getForm, getParameter, getValue, register
 
Methods inherited from class com.arsdigita.search.ui.FilterComponent
generateXML
 
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
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCategoryFilterWidget

public SimpleCategoryFilterWidget(Category root)
Creates a new category filter

Parameters:
root - the root category

SimpleCategoryFilterWidget

public SimpleCategoryFilterWidget(Category[] roots)
Creates a new category filter

Method Detail

getCategories

public Category[] getCategories(PageState state)
Description copied from class: CategoryFilterWidget
Returns a list of categories to display for selection

Specified by:
getCategories in class CategoryFilterWidget


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC