com.arsdigita.cms.ui
Class ItemSearchWidget

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.cms.ui.ItemSearchWidget
All Implemented Interfaces:
com.arsdigita.bebop.util.BebopConstants, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, EventListener, com.arsdigita.bebop.event.FormInitListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.util.Lockable

public class ItemSearchWidget
extends com.arsdigita.bebop.FormSection
implements com.arsdigita.bebop.util.BebopConstants, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.bebop.event.FormInitListener

A class representing a content item search field in an HTML form.

Version:
$Id: //cms/dev/src/com/arsdigita/cms/ui/ItemSearchWidget.java#6 $
Author:
Scott Seago (sseago@redhat.com)

Field Summary
static String BEBOP_ITEM_SEARCH
           
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel, versionId
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA, versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormSubmissionListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormInitListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ItemSearchWidget(com.arsdigita.bebop.parameters.ParameterModel model)
          Construct a new ItemSearchWidget.
ItemSearchWidget(com.arsdigita.bebop.parameters.ParameterModel model, ContentType contentType)
          Construct a new ItemSearchWidget.
ItemSearchWidget(String name)
           
ItemSearchWidget(String name, ContentType contentType)
           
ItemSearchWidget(String name, String objectType)
           
 
Method Summary
 com.arsdigita.bebop.form.Submit getClearButton()
           
 com.arsdigita.bebop.form.TextField getItemField()
           
 com.arsdigita.bebop.form.Submit getSearchButton()
           
 void init(com.arsdigita.bebop.event.FormSectionEvent e)
           
 void register(com.arsdigita.bebop.Page p)
           
 void submitted(com.arsdigita.bebop.event.FormSectionEvent e)
           
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, generateXML, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, 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
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

BEBOP_ITEM_SEARCH

public static final String BEBOP_ITEM_SEARCH
See Also:
Constant Field Values
Constructor Detail

ItemSearchWidget

public ItemSearchWidget(com.arsdigita.bebop.parameters.ParameterModel model)
Construct a new ItemSearchWidget. The model must be an ItemSearchParameter


ItemSearchWidget

public ItemSearchWidget(com.arsdigita.bebop.parameters.ParameterModel model,
                        ContentType contentType)
Construct a new ItemSearchWidget. The model must be an ItemSearchParameter


ItemSearchWidget

public ItemSearchWidget(String name)

ItemSearchWidget

public ItemSearchWidget(String name,
                        String objectType)
                 throws com.arsdigita.domain.DataObjectNotFoundException

ItemSearchWidget

public ItemSearchWidget(String name,
                        ContentType contentType)
Method Detail

register

public void register(com.arsdigita.bebop.Page p)
Specified by:
register in interface com.arsdigita.bebop.Component

getSearchButton

public com.arsdigita.bebop.form.Submit getSearchButton()

getClearButton

public com.arsdigita.bebop.form.Submit getClearButton()

getItemField

public com.arsdigita.bebop.form.TextField getItemField()

init

public void init(com.arsdigita.bebop.event.FormSectionEvent e)
          throws com.arsdigita.bebop.FormProcessException
Specified by:
init in interface com.arsdigita.bebop.event.FormInitListener
Throws:
com.arsdigita.bebop.FormProcessException

submitted

public void submitted(com.arsdigita.bebop.event.FormSectionEvent e)
               throws com.arsdigita.bebop.FormProcessException
Specified by:
submitted in interface com.arsdigita.bebop.event.FormSubmissionListener
Throws:
com.arsdigita.bebop.FormProcessException


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