com.arsdigita.formbuilder.ui.editors
Class OptionEditor

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.formbuilder.ui.editors.OptionEditor
All Implemented Interfaces:
Cloneable, Component, Container, Lockable

public abstract class OptionEditor
extends FormSection


Field Summary
 
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.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
OptionEditor(SingleSelectionModel control)
          Constructor
 
Method Summary
protected  PersistentOptionGroup fetchOptionGroup(PageState pageState)
           
protected abstract  PersistentOptionGroup getOptionGroup(BigDecimal id)
           
protected  String getOptionName(FormData formData, PersistentOption option)
          Sub classes may opt to not have the admin enter the HTML names of the options by overriding the showOptionValue() and getOptionName() methods
protected  boolean showOptionValue()
          Sub classes may opt to not have the admin enter the HTML names of the options by overriding the showOptionValue() and getOptionName() methods
 
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, register, 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, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Constructor Detail

OptionEditor

public OptionEditor(SingleSelectionModel control)
Constructor

Method Detail

showOptionValue

protected boolean showOptionValue()
Sub classes may opt to not have the admin enter the HTML names of the options by overriding the showOptionValue() and getOptionName() methods


getOptionName

protected String getOptionName(FormData formData,
                               PersistentOption option)
Sub classes may opt to not have the admin enter the HTML names of the options by overriding the showOptionValue() and getOptionName() methods


fetchOptionGroup

protected PersistentOptionGroup fetchOptionGroup(PageState pageState)

getOptionGroup

protected abstract PersistentOptionGroup getOptionGroup(BigDecimal id)
                                                 throws DataObjectNotFoundException
Throws:
DataObjectNotFoundException


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