com.arsdigita.formbuilder.ui
Class OptionGroupPage

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.Page
                      extended bycom.arsdigita.formbuilder.ui.TemplatePage
                          extended bycom.arsdigita.formbuilder.ui.OptionGroupPage
All Implemented Interfaces:
Cloneable, Component, Container, Lockable

public class OptionGroupPage
extends TemplatePage

On this page the admin can specify the options of an OptionGroup (examples of OptionGroups are radio groups, checbox groups and selects). Each option has a value (gets submitted) and a label (gets displayed).

Version:
$Id: //core-platform/dev/src/com/arsdigita/formbuilder/ui/OptionGroupPage.java#13 $
Author:
Peter Marklund

Field Summary
 BigDecimalParameter m_formID
           
 IntegerParameter m_nOptions
           
 StringParameter m_pageMode
           
 StringParameter m_widgetClass
           
 BigDecimalParameter m_widgetID
           
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.Page
m_invisible, m_panel
 
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
 
Method Summary
protected  void buildPage()
          This method builds the Component structure specific to a certain Page in the Form Builder service.
 BigDecimal getFormID(PageState pageState)
           
 Integer getNOptions(PageState pageState)
           
 String getRelativeURL()
           
static String getStaticTitle()
           
 String getWidgetClass(PageState pageState)
           
 BigDecimal getWidgetID(PageState pageState)
           
static OptionGroupPage instance()
          Provide access to the single instance of this page.
 
Methods inherited from class com.arsdigita.bebop.Page
add, add, addActionListener, addClientStylesheet, addComponent, addComponentStateParam, addGlobalStateParam, addRequestListener, buildDocument, children, contains, fireActionEvent, fireRequestEvent, generateXML, generateXML, generateXMLHelper, get, getComponent, getComponentParameters, getErrorDisplay, getPanel, getParameters, getStateModel, getTitle, getTitle, indexOf, isEmpty, isUsingHttpSession, isVisibleDefault, lock, parameterName, parameterName, prepare, process, process, removeActionListener, removeRequestListener, respond, setErrorDisplay, setPanel, setStyleSheet, setTitle, setTitle, setUsingHttpSession, setVisibleDefault, size, stateContains, stateIndex, stateSize
 
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, register, 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, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

m_formID

public BigDecimalParameter m_formID

m_widgetID

public BigDecimalParameter m_widgetID

m_widgetClass

public StringParameter m_widgetClass

m_nOptions

public IntegerParameter m_nOptions

m_pageMode

public StringParameter m_pageMode
Method Detail

instance

public static OptionGroupPage instance()
Provide access to the single instance of this page.


getStaticTitle

public static String getStaticTitle()

getRelativeURL

public String getRelativeURL()
Specified by:
getRelativeURL in class TemplatePage

buildPage

protected void buildPage()
Description copied from class: TemplatePage
This method builds the Component structure specific to a certain Page in the Form Builder service.

Specified by:
buildPage in class TemplatePage

getFormID

public BigDecimal getFormID(PageState pageState)

getWidgetID

public BigDecimal getWidgetID(PageState pageState)

getWidgetClass

public String getWidgetClass(PageState pageState)

getNOptions

public Integer getNOptions(PageState pageState)


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