|
|||||||||||
| 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.UserAddForm
Form for adding multiple users 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 | |
UserAddForm(com.arsdigita.bebop.form.Widget search)
Constructor. |
|
UserAddForm(com.arsdigita.bebop.form.Widget search,
String name)
|
|
UserAddForm(com.arsdigita.bebop.form.Widget search,
String name,
String text,
String submitText)
|
|
| Method Summary | |
protected void |
addUsers(com.arsdigita.bebop.PageState state,
com.arsdigita.bebop.form.OptionGroup target)
Adds users 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 users. |
protected com.arsdigita.bebop.form.Widget |
getSearchWidget()
Fetches the widget that contains the search string. |
boolean |
isCancelled(com.arsdigita.bebop.PageState state)
Return true if the form is cancelled, false otherwise. |
protected com.arsdigita.bebop.Form |
makeForm(String name)
Build the form used to add users. |
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 users" 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 UserAddForm(com.arsdigita.bebop.form.Widget search)
search - The widget on the search form that contains the value
of the search string.
public UserAddForm(com.arsdigita.bebop.form.Widget search,
String name)
public UserAddForm(com.arsdigita.bebop.form.Widget search,
String name,
String text,
String submitText)
| Method Detail |
protected com.arsdigita.bebop.Form makeForm(String name)
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 addUsers(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 state
public abstract void process(com.arsdigita.bebop.event.FormSectionEvent event)
throws com.arsdigita.bebop.FormProcessException
process in interface com.arsdigita.bebop.event.FormProcessListenerevent - 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.Componentstate - The page stateparent - The parent DOM element
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||