com.arsdigita.formbuilder.ui.editors
Class OptionGroupEditor

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.SimpleContainer
                      extended bycom.arsdigita.formbuilder.ui.PropertiesEditor
                          extended bycom.arsdigita.formbuilder.ui.editors.OptionGroupEditor
All Implemented Interfaces:
Cloneable, Component, Container, Lockable
Direct Known Subclasses:
CheckboxGroupEditor, MultipleSelectEditor, RadioGroupEditor, SingleSelectEditor

public class OptionGroupEditor
extends PropertiesEditor


Nested Class Summary
 
Nested classes inherited from class com.arsdigita.formbuilder.ui.PropertiesEditor
PropertiesEditor.PropertiesFormProcessListener, PropertiesEditor.PropertiesFormSubmissionListener
 
Field Summary
 
Fields inherited from class com.arsdigita.bebop.SimpleContainer
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
OptionGroupEditor(String name, SingleSelectionModel form, SingleSelectionModel control, OptionGroupForm frm, OptionEditor editor)
           
 
Method Summary
 void addProcessListener(FormProcessListener l)
           
 void generateXML(PageState state, Element parent)
          Generates the XML for this container.
 boolean isCancelled(PageState state)
           
 boolean isComplete(PageState state)
           
 
Methods inherited from class com.arsdigita.formbuilder.ui.PropertiesEditor
addSubmissionListener, getApplication, getPropertiesForm, setApplication
 
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
 

Constructor Detail

OptionGroupEditor

public OptionGroupEditor(String name,
                         SingleSelectionModel form,
                         SingleSelectionModel control,
                         OptionGroupForm frm,
                         OptionEditor editor)
Method Detail

generateXML

public void generateXML(PageState state,
                        Element parent)
Description copied from class: SimpleContainer
Generates the XML for this container. If the tag property is nonempty, wraps the children in the specified XML tag.

Specified by:
generateXML in interface Component
Overrides:
generateXML in class SimpleContainer
Parameters:
state - represents the current request
parent - the parent XML element
See Also:
SimpleContainer.setTag(String), SimpleContainer.setNamespace(String)

addProcessListener

public void addProcessListener(FormProcessListener l)
Overrides:
addProcessListener in class PropertiesEditor

isComplete

public boolean isComplete(PageState state)
Overrides:
isComplete in class PropertiesEditor

isCancelled

public boolean isCancelled(PageState state)
Overrides:
isCancelled in class PropertiesEditor


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