|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.SimpleContainer
com.arsdigita.cms.ui.PartyAddForm
Form for adding multiple parties to a role.
Field Summary | |
static String |
versionId
|
Fields inherited from class com.arsdigita.bebop.BlockStylable |
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP |
Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
Constructor Summary | |
PartyAddForm(com.arsdigita.bebop.form.Widget search)
Constructor. |
Method Summary | |
protected void |
addParties(com.arsdigita.bebop.PageState state,
com.arsdigita.bebop.form.OptionGroup target)
Adds parties to the option group. |
void |
generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent)
Displays the appropriate frame. |
com.arsdigita.bebop.Form |
getForm()
Fetches the form for adding parties. |
protected com.arsdigita.bebop.form.Widget |
getSearchWidget()
Fetches the widget that contains the search string. |
void |
init(com.arsdigita.bebop.event.FormSectionEvent event)
Stores the search query in the hidden field. |
boolean |
isCancelled(com.arsdigita.bebop.PageState state)
Return true if the form is cancelled, false otherwise. |
protected com.arsdigita.bebop.Form |
makeForm()
Build the form used to add parties. |
protected abstract com.arsdigita.persistence.DataQuery |
makeQuery(com.arsdigita.bebop.PageState state)
Generates a DataQuery that encapsulates
search results. |
abstract void |
process(com.arsdigita.bebop.event.FormSectionEvent event)
Process listener for the "Add parties" form. |
Methods inherited from class com.arsdigita.bebop.SimpleContainer |
add, add, children, contains, generateChildrenXML, generateParent, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size |
Methods inherited from class com.arsdigita.bebop.BlockStylable |
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment |
Methods inherited from class com.arsdigita.bebop.TextStylable |
setBackgroundColor, setColor |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, 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 |
Methods inherited from interface com.arsdigita.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, register, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked, lock |
Field Detail |
public static final String versionId
Constructor Detail |
public PartyAddForm(com.arsdigita.bebop.form.Widget search)
search
- The widget on the search form that contains the value
of the search string.Method Detail |
protected com.arsdigita.bebop.Form makeForm()
public com.arsdigita.bebop.Form getForm()
protected com.arsdigita.bebop.form.Widget getSearchWidget()
public boolean isCancelled(com.arsdigita.bebop.PageState state)
state
- The page state
protected void addParties(com.arsdigita.bebop.PageState state, com.arsdigita.bebop.form.OptionGroup target)
state
- The page statetarget
- The option groupprotected abstract com.arsdigita.persistence.DataQuery makeQuery(com.arsdigita.bebop.PageState state)
DataQuery
that encapsulates
search results.
state
- The page statepublic void init(com.arsdigita.bebop.event.FormSectionEvent event) throws com.arsdigita.bebop.FormProcessException
init
in interface com.arsdigita.bebop.event.FormInitListener
event
- The form event
com.arsdigita.bebop.FormProcessException
public abstract void process(com.arsdigita.bebop.event.FormSectionEvent event) throws com.arsdigita.bebop.FormProcessException
process
in interface com.arsdigita.bebop.event.FormProcessListener
event
- The form event
com.arsdigita.bebop.FormProcessException
public void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
generateXML
in interface com.arsdigita.bebop.Component
state
- The page stateparent
- The parent DOM element
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |