com.arsdigita.bebop.form
Class Date.MonthFragment

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.form.Widget
                      extended bycom.arsdigita.bebop.form.OptionGroup
                          extended bycom.arsdigita.bebop.form.Select
                              extended bycom.arsdigita.bebop.form.SingleSelect
                                  extended bycom.arsdigita.bebop.form.Date.MonthFragment
All Implemented Interfaces:
BebopConstants, Cloneable, Component, Lockable
Enclosing class:
Date

protected class Date.MonthFragment
extends SingleSelect


Nested Class Summary
 
Nested classes inherited from class com.arsdigita.bebop.form.Widget
Widget.ValidationGuard
 
Field Summary
protected  Date parent
           
 
Fields inherited from class com.arsdigita.bebop.form.SingleSelect
versionId
 
Fields inherited from class com.arsdigita.bebop.form.OptionGroup
m_xmlElement
 
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.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
Date.MonthFragment(String name, Date parent)
           
 
Method Summary
protected  ParameterData getParameterData(PageState ps)
           
 Object getValue(PageState ps)
          Get the value associated with this widget in the request described by ps.
 
Methods inherited from class com.arsdigita.bebop.form.SingleSelect
getElementTag, isMultiple
 
Methods inherited from class com.arsdigita.bebop.form.Select
generateWidget, getType, setSize
 
Methods inherited from class com.arsdigita.bebop.form.OptionGroup
addOption, addOption, clearOptions, clone, getOptions, getOptions, isCompound, removeOption, removeOption, removeOption, removeOption, setOptionSelected, setOptionSelected
 
Methods inherited from class com.arsdigita.bebop.form.Widget
addError, addError, addPrintListener, addValidationListener, createParameterListener, firePrintEvent, fireValidation, generateErrors, generateXML, getDefaultValue, getErrors, getForm, getName, getParameterModel, isPassIn, register, removePrintListener, removeValidationListener, respond, setDefaultValue, setDisabled, setForm, setHint, setOnBlur, setOnChange, setOnFocus, setOnKeyUp, setOnSelect, setParameterModel, setPassIn, setPrintListener, setReadOnly, setValidateInvisible, setValidationGuard, setValue, toString, validateInvisible
 
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
children, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, 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, wait, wait, wait
 

Field Detail

parent

protected Date parent
Constructor Detail

Date.MonthFragment

public Date.MonthFragment(String name,
                          Date parent)
Method Detail

getParameterData

protected ParameterData getParameterData(PageState ps)
Overrides:
getParameterData in class Widget
Returns:
the parameter value for this widget

getValue

public Object getValue(PageState ps)
Description copied from class: Widget
Get the value associated with this widget in the request described by ps. The type of the returned object depends on the ParameterModel underlying this widget. This method is typically called in a FormProcessListener to access the value that was submitted for a Widget in the Form.

Overrides:
getValue in class Widget
Parameters:
ps - describes the request currently being processed


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