Uses of Interface
org.apache.cocoon.forms.formmodel.Widget

Packages that use Widget
org.apache.cocoon.forms.binding   
org.apache.cocoon.forms.event   
org.apache.cocoon.forms.event.impl   
org.apache.cocoon.forms.formmodel   
org.apache.cocoon.forms.formmodel.algorithms   
org.apache.cocoon.forms.formmodel.tree   
org.apache.cocoon.forms.generation   
org.apache.cocoon.forms.samples   
org.apache.cocoon.forms.samples.bindings   
org.apache.cocoon.forms.transformation   
org.apache.cocoon.forms.util   
org.apache.cocoon.forms.validation   
org.apache.cocoon.forms.validation.impl   
 

Uses of Widget in org.apache.cocoon.forms.binding
 

Methods in org.apache.cocoon.forms.binding that return Widget
protected  Widget JXPathBindingBase.selectWidget(Widget parent, String id)
          Helper method that selects a child-widget with a given id from a parent.
 

Methods in org.apache.cocoon.forms.binding with parameters of type Widget
 void JavaScriptJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void JavaScriptJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void UnionJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void UnionJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void AggregateJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void AggregateJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void InsertNodeJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Do-nothing implementation of the interface.
 void InsertNodeJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Registers a JXPath Factory on the JXPath Context.
 void InsertBeanJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Do-nothing implementation of the interface.
 void InsertBeanJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Registers a JXPath Factory on the JXPath Context.
 void SetAttributeJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Do-Nothing implementation.
 void SetAttributeJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Sets the attribute value on the passed JXPathContext
 void StructJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void StructJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void ImportJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void ImportJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void DeleteNodeJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void DeleteNodeJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Removes the current context-bean from the jxpath context.
 void MultiValueJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void MultiValueJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void TempRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void TempRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void CaseJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void CaseJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void EnhancedRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void EnhancedRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void CustomJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Delegates the actual loading operation to the provided Custom Binding Class after narrowing down on the selected widget (@id) and context (@path)
 void CustomJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Delegates the actual saving operation to the provided Custom Binding Class after narrowing down on the selected widget (@id) and context (@path)
 void NewJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void NewJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void ClassJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void ClassJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void TreeModelJXPath.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the ObjectModel wrapped in a jxpath context to the CForms-form-widget specified in this object.
 void TreeModelJXPath.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void ContextJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the ObjectModel wrapped in a jxpath context to the CocoonForm.
 void ContextJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the CocoonForm to the ObjectModel wrapped in a jxpath context.
 void GroupJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void GroupJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Narrows the scope on the form-model to the member widget-field, and narrows the scope on the object-model to the member xpath-context before continuing the binding over the child-bindings.
 void RepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Binds the unique-id of the repeated rows, and narrows the context on objectModelContext and Repeater to the repeated rows before handing over to the actual binding-children.
 void RepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Uses the mapped identity of each row to detect if rows have been updated, inserted or removed.
 void SimpleRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void SimpleRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void ComposedJXPathBindingBase.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the ObjectModel to the CForms-form by passing the task onto it's children.
 void ComposedJXPathBindingBase.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the CForms-form to the ObjectModel by passing the task onto it's children.
 void ValueJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the ObjectModel wrapped in a jxpath context to the CForms-form-widget specified in this object.
 void ValueJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Actively performs the binding from the CForms-form to the ObjectModel wrapped in a jxpath context
protected  Widget JXPathBindingBase.selectWidget(Widget parent, String id)
          Helper method that selects a child-widget with a given id from a parent.
abstract  void JXPathBindingBase.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Performs the actual load binding regardless of the configured value of the "direction" attribute.
 void JXPathBindingBase.loadFormFromModel(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Redefines the Binding action as working on a JXPathContext Type rather then on generic objects.
 void JXPathBindingBase.loadFormFromModel(Widget frmModel, Object objModel)
          Hooks up with the more generic Binding of any objectModel by wrapping it up in a JXPathContext object and then transfering control over to the new overloaded version of this method.
abstract  void JXPathBindingBase.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Performs the actual save binding regardless of the configured value of the "direction" attribute.
 void JXPathBindingBase.saveFormToModel(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          Redefines the Binding action as working on a JXPathContext Type rather then on generic objects.
 void JXPathBindingBase.saveFormToModel(Widget frmModel, Object objModel)
          Hooks up with the more generic Binding of any objectModel by wrapping it up in a JXPathContext object and then transfering control over to the new overloaded version of this method.
 void Binding.loadFormFromModel(Widget frmModel, Object objModel)
          Loads the information-elements from the objModel to the frmModel.
 void Binding.saveFormToModel(Widget frmModel, Object objModel)
          Saves the infortmation-elements to the objModel from the frmModel.
 void AbstractCustomBinding.loadFormFromModel(Widget frmModel, Object objModel)
          Binding service method called upon loading.
 void AbstractCustomBinding.saveFormToModel(Widget frmModel, Object objModel)
          Binding service method called upon saving.
protected abstract  void AbstractCustomBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext context)
           
protected abstract  void AbstractCustomBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext context)
           
 

Uses of Widget in org.apache.cocoon.forms.event
 

Methods in org.apache.cocoon.forms.event that return Widget
 Widget WidgetEvent.getSourceWidget()
          The widget on which this event occured.
 

Constructors in org.apache.cocoon.forms.event with parameters of type Widget
DeferredValueChangedEvent(Widget source, Object oldValue)
           
ImageMapEvent(Widget source, String actionCommand)
           
RepeaterEvent(Widget sourceWidget, RepeaterEventAction action)
           
RepeaterEvent(Widget sourceWidget, RepeaterEventAction action, int row)
           
ActionEvent(Widget source, String actionCommand)
           
ValueChangedEvent(Widget source, Object oldValue, Object newValue)
           
CreateEvent(Widget source)
           
WidgetEvent(Widget sourceWidget)
           
 

Uses of Widget in org.apache.cocoon.forms.event.impl
 

Methods in org.apache.cocoon.forms.event.impl with parameters of type Widget
 void RequiredControl.RequiredDescription.process(Widget form)
           
 

Uses of Widget in org.apache.cocoon.forms.formmodel
 

Subinterfaces of Widget in org.apache.cocoon.forms.formmodel
 interface ContainerWidget
          Interface to be implemented by Widgets which contain other widgets.
 interface DataWidget
           
 interface SelectableWidget
          A Widget that can have a selection list.
 

Classes in org.apache.cocoon.forms.formmodel that implement Widget
 class AbstractContainerWidget
          A general-purpose abstract Widget which can hold zero or more widgets.
 class AbstractWidget
          Abstract base class for Widget implementations.
 class Action
          An Action widget.
 class AggregateField
          An aggregated field allows to represent one value as multiple input fields, or several values as one field.
 class BooleanField
          A widget to select a boolean value.
 class CalculatedField
          A field which calculates its value.
 class CaptchaField
          A Field for CAPTCHA validation.
 class EnhancedRepeater
           
 class Field
          A general-purpose Widget that can hold one value.
 class Form
          A widget that serves as a container for other widgets, the top-level widget in a form description file.
 class GoogleMap
           
 class Group
          A container Widget which can hold zero or more child widgets.
 class ImageMap
          A server-side map widget.
 class Messages
          A widget to output one or messages.
 class MultiValueField
          A MultiValueField is mostly the same as a normal Field, but can hold multiple values.
 class Output
          An Output widget can be used to show a non-editable value to the user.
 class Repeater
          A repeater is a widget that repeats a number of other widgets.
 class Repeater.RepeaterRow
           
 class RepeaterAction
          An action that acts on a repeater.
 class RepeaterFilterField
           
 class RowAction
           
static class RowAction.MoveDownAction
           
static class RowAction.MoveUpAction
           
 class Struct
          Deprecated. replaced by Group
 class Submit
          A submit is an action that exits of the current form.
 class Union
          A discriminated union that references a discriminant value in another widget and contains one of several cases (widgets).
 class Upload
          A file-uploading Widget.
 

Methods in org.apache.cocoon.forms.formmodel that return Widget
 Widget SubmitDefinition.createInstance()
           
 Widget UploadDefinition.createInstance()
           
 Widget UnionDefinition.createInstance()
           
 Widget Union.getChild(String id)
           
 Widget RepeaterActionDefinition.createInstance()
           
 Widget StructDefinition.createInstance()
          Deprecated.  
 Widget CalculatedFieldDefinition.createInstance()
           
 Widget RowActionDefinition.createInstance()
           
 Widget MessagesDefinition.createInstance()
           
 Widget GoogleMapDefinition.createInstance()
           
 Widget CaptchaFieldDefinition.createInstance()
           
 Widget GroupDefinition.createInstance()
           
 Widget BooleanFieldDefinition.createInstance()
           
 Widget AggregateFieldDefinition.createInstance()
           
 Widget AggregateField.getChild(String id)
           
 Widget ImageMapDefinition.createInstance()
           
 Widget RepeaterFilterFieldDefinition.createInstance()
           
 Widget OutputDefinition.createInstance()
           
 Widget RepeaterDefinition.createInstance()
           
 Widget Repeater.getChild(String id)
          Overrides AbstractWidget.getChild(String) to return the repeater-row indicated by the index in 'id'
 Widget Repeater.getWidget(int rowIndex, String id)
          Gets a widget on a certain row.
 Widget ActionDefinition.createInstance()
           
 Widget ClassDefinition.createInstance()
           
 Widget NewDefinition.createInstance()
           
 Widget FieldDefinition.createInstance()
           
 Widget MultiValueFieldDefinition.createInstance()
           
 Widget WidgetList.getWidget(String id)
          Looks for a widget in this list by using the provided id as a lookup key.
 Widget ContainerWidget.getChild(String id)
          Gets the child widget with the given id.
 Widget AbstractWidget.getParent()
           
 Widget AbstractWidget.lookupWidget(String path)
           
protected  Widget AbstractWidget.getChild(String id)
          Concrete widgets that contain actual child widgets should override to return the actual child-widget.
 Widget AbstractWidget.getWidget(String id)
           
 Widget AbstractContainerWidget.getChild(String id)
           
 Widget Form.getSubmitWidget()
          Get the widget that triggered the current processing.
 Widget Widget.getParent()
           
 Widget Widget.getWidget(String id)
          Deprecated. getWidget got removed, use lookupWidget or getChild instead.
 Widget Widget.lookupWidget(String path)
          Finds a widget relative to this one based on a path-like string (/-delimted) into the widget-tree structure.
 Widget FormDefinition.createInstance()
           
 Widget WidgetDefinition.createInstance()
          Creates and returns a widget based on this widget definition.
 

Methods in org.apache.cocoon.forms.formmodel with parameters of type Widget
 void AggregateField.addChild(Widget widget)
           
static Repeater.RepeaterRow Repeater.getParentRow(Widget widget)
          Crawls up the parents of a widget up to finding a repeater row.
 Object CalculatedFieldAlgorithm.calculate(Form form, Widget parent, Datatype datatype)
          Performs the actual calculation.
 void WidgetList.addWidget(Widget widget)
          Adds a widget to the list of contained Widget's
 void ContainerWidget.addChild(Widget widget)
          Adds a child widget.
 void AbstractWidget.setParent(Widget widget)
          Sets the parent-widget of this widget.
 void AbstractContainerWidget.addChild(Widget widget)
           
 boolean Form.addWidgetUpdate(Widget widget)
          Mark a widget as being updated.
 void Form.setSubmitWidget(Widget widget)
          Set the widget that triggered the current form processing.
 void WidgetDefinitionList.createWidget(Widget parent, String id)
           
 void WidgetDefinitionList.createWidgets(Widget parent)
           
 void Widget.setParent(Widget widget)
          This method is called on a widget when it is added to a container.
 void ContainerDefinition.createWidget(Widget parent, String id)
          Create a widget from a contained widget definition.
 void ContainerDefinition.createWidgets(Widget parent)
          Create widgets from the contained widget definitions.
 void AbstractWidgetDefinition.widgetCreated(Widget widget)
           
 boolean AbstractWidgetDefinition.validate(Widget widget)
           
 void AbstractContainerDefinition.createWidget(Widget parent, String id)
           
 void AbstractContainerDefinition.createWidgets(Widget parent)
           
 boolean WidgetDefinition.validate(Widget widget)
          Validate a widget using the validators that were defined in its definition.
 

Constructors in org.apache.cocoon.forms.formmodel with parameters of type Widget
ExpressionContextImpl(Widget widget)
           
ExpressionContextImpl(Widget widget, boolean referenceChildren)
           
 

Uses of Widget in org.apache.cocoon.forms.formmodel.algorithms
 

Methods in org.apache.cocoon.forms.formmodel.algorithms with parameters of type Widget
 Object JavaScript.calculate(Form form, Widget parent, Datatype datatype)
           
 Object RepeatedFormula.calculate(Form form, Widget parent, Datatype datatype)
           
 Object SimpleFormula.calculate(Form form, Widget parent, Datatype datatype)
           
 

Uses of Widget in org.apache.cocoon.forms.formmodel.tree
 

Classes in org.apache.cocoon.forms.formmodel.tree that implement Widget
 class Tree
          A tree widget, heavily inspired by Swing's JTree.
 

Methods in org.apache.cocoon.forms.formmodel.tree that return Widget
 Widget TreeDefinition.createInstance()
           
 Widget Tree.getWidgetForPath(TreePath path)
           
 

Uses of Widget in org.apache.cocoon.forms.generation
 

Methods in org.apache.cocoon.forms.generation that return Widget
 Widget JXMacrosHelper.peekWidget()
           
 Widget JXMacrosHelper.getWidget(Widget currentWidget, String path)
          Get a child widget of a given widget, throwing an exception if no such child exists.
 

Methods in org.apache.cocoon.forms.generation with parameters of type Widget
 Widget JXMacrosHelper.getWidget(Widget currentWidget, String path)
          Get a child widget of a given widget, throwing an exception if no such child exists.
 void JXMacrosHelper.generateWidget(Widget widget, Map arguments)
          Generate a widget's SAX fragment, buffering the root element's endElement() event so that the template can insert styling information in it.
 void JXMacrosHelper.generateWidgetLabel(Widget widget, String id)
           
 void JXMacrosHelper.generateRepeaterWidgetLabel(Widget widget, String id, String widgetId)
           
 void JXMacrosHelper.generateRepeaterSize(Widget widget, String id)
           
 boolean JXMacrosHelper.isSelectedCase(Widget unionWidget, String caseValue)
           
 boolean JXMacrosHelper.isVisible(Widget widget)
           
 boolean JXMacrosHelper.isModified(Widget widget)
           
 

Uses of Widget in org.apache.cocoon.forms.samples
 

Methods in org.apache.cocoon.forms.samples with parameters of type Widget
 boolean CustomBirthDateValidator.validate(Widget widget)
           
 

Uses of Widget in org.apache.cocoon.forms.samples.bindings
 

Methods in org.apache.cocoon.forms.samples.bindings with parameters of type Widget
 void CustomValueWrapBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          This unwraps the value from the model by removing the 2 prefix and suffix-chars before setting it onto the model Method signature and semantics complies to AbstractCustomBinding.doLoad(Widget, JXPathContext)
 void CustomValueWrapBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
          This wraps the value from the form between 2 prefix and suffix-chars before saving to the model Method signature and semantics complies to AbstractCustomBinding.doSave(Widget, JXPathContext)
 

Uses of Widget in org.apache.cocoon.forms.transformation
 

Fields in org.apache.cocoon.forms.transformation declared as Widget
protected  Widget EffectWidgetReplacingPipe.contextWidget
           
protected  Widget EffectWidgetReplacingPipe.widget
           
 

Methods in org.apache.cocoon.forms.transformation with parameters of type Widget
 void EffectWidgetReplacingPipe.init(Widget contextWidget, FormsPipelineConfig pipeContext)
           
protected  boolean EffectWidgetReplacingPipe.isVisible(Widget widget)
           
 

Uses of Widget in org.apache.cocoon.forms.util
 

Methods in org.apache.cocoon.forms.util that return Widget
 Widget ContainerWidgetAsMap.getWidget(String path)
          Get a widget relative to the container wrapped by this Map
 Widget RepeaterAsList.getWidget(String path)
          Get a widget relative to the repeater wrapped by this List
 

Constructors in org.apache.cocoon.forms.util with parameters of type Widget
XMLAdapter(Widget widget)
          Wrap a Form with an XMLAdapter
WidgetFinder(Widget context, Iterator paths, boolean keepUpdated)
          Searches for widgets.
WidgetFinder(Widget context, String path, boolean keepUpdated)
          Searches for widgets.
 

Uses of Widget in org.apache.cocoon.forms.validation
 

Methods in org.apache.cocoon.forms.validation with parameters of type Widget
 boolean WidgetValidator.validate(Widget widget)
          Validate a widget.
 

Uses of Widget in org.apache.cocoon.forms.validation.impl
 

Methods in org.apache.cocoon.forms.validation.impl with parameters of type Widget
 boolean CaptchaValidator.validate(Widget widget)
           
 boolean ValidationRuleValidator.validate(Widget widget)
           
 boolean JavaScriptValidator.validate(Widget widget)
           
 



Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.