org.yawlfoundation.yawl.resourcing.jsf.dynform
Class DynFormComponentBuilder

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.jsf.dynform.DynFormComponentBuilder

public class DynFormComponentBuilder
extends Object

Author: Michael Adams Creation Date: 10/08/2008


Constructor Summary
DynFormComponentBuilder()
           
DynFormComponentBuilder(DynFormFactory factory)
           
 
Method Summary
 Hashtable<javax.faces.component.UIComponent,DynFormField> getComponentFieldMap()
           
 int getMaxDropDownWidth()
           
 int getMaxFieldWidth()
           
 int getMaxImageWidth()
           
 int getMaxLabelWidth()
           
 int getMaxTextValueWidth()
           
 boolean hasOnlyCheckboxes()
           
 com.sun.rave.web.ui.component.Calendar makeCalendar(DynFormField input)
           
 com.sun.rave.web.ui.component.Checkbox makeCheckbox(DynFormField input)
           
 DocComponent makeDocumentField(DynFormField input, com.sun.rave.web.ui.component.Label label)
           
 com.sun.rave.web.ui.component.DropDown makeEnumeratedList(DynFormField input)
           
 com.sun.rave.web.ui.component.StaticText makeHeaderText(String text, String defText)
           
 DynFormComponentList makeInputField(DynFormField input)
           
 com.sun.rave.web.ui.component.Label makeLabel(DynFormField input)
           
 DynFormComponentList makePeripheralComponents(DynFormField input, boolean above)
           
 com.sun.rave.web.ui.component.RadioButton makeRadioButton(DynFormField input)
           
 com.sun.rave.web.ui.component.Label makeSimpleLabel(String text)
           
 SubPanel makeSubPanel(DynFormField field, SubPanelController spc)
           
 com.sun.rave.web.ui.component.TextArea makeTextArea(DynFormField input)
           
 com.sun.rave.web.ui.component.TextField makeTextField(DynFormField input)
           
 boolean setFocus(javax.faces.component.UIComponent component)
           
 void setMaxImageWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynFormComponentBuilder

public DynFormComponentBuilder()

DynFormComponentBuilder

public DynFormComponentBuilder(DynFormFactory factory)
Method Detail

makeSubPanel

public SubPanel makeSubPanel(DynFormField field,
                             SubPanelController spc)

makeInputField

public DynFormComponentList makeInputField(DynFormField input)

makePeripheralComponents

public DynFormComponentList makePeripheralComponents(DynFormField input,
                                                     boolean above)

makeLabel

public com.sun.rave.web.ui.component.Label makeLabel(DynFormField input)

makeSimpleLabel

public com.sun.rave.web.ui.component.Label makeSimpleLabel(String text)

makeHeaderText

public com.sun.rave.web.ui.component.StaticText makeHeaderText(String text,
                                                               String defText)

makeCheckbox

public com.sun.rave.web.ui.component.Checkbox makeCheckbox(DynFormField input)

makeCalendar

public com.sun.rave.web.ui.component.Calendar makeCalendar(DynFormField input)

makeEnumeratedList

public com.sun.rave.web.ui.component.DropDown makeEnumeratedList(DynFormField input)

makeTextArea

public com.sun.rave.web.ui.component.TextArea makeTextArea(DynFormField input)

makeTextField

public com.sun.rave.web.ui.component.TextField makeTextField(DynFormField input)

makeDocumentField

public DocComponent makeDocumentField(DynFormField input,
                                      com.sun.rave.web.ui.component.Label label)

makeRadioButton

public com.sun.rave.web.ui.component.RadioButton makeRadioButton(DynFormField input)

setFocus

public boolean setFocus(javax.faces.component.UIComponent component)

getMaxLabelWidth

public int getMaxLabelWidth()

getMaxDropDownWidth

public int getMaxDropDownWidth()

getMaxTextValueWidth

public int getMaxTextValueWidth()

setMaxImageWidth

public void setMaxImageWidth(int width)

getMaxImageWidth

public int getMaxImageWidth()

hasOnlyCheckboxes

public boolean hasOnlyCheckboxes()

getMaxFieldWidth

public int getMaxFieldWidth()

getComponentFieldMap

public Hashtable<javax.faces.component.UIComponent,DynFormField> getComponentFieldMap()


Copyright © 2004-2012 The YAWL Foundation.