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.flow.java   
org.apache.cocoon.forms.flow.javascript.v2   
org.apache.cocoon.forms.flow.javascript.v3   
org.apache.cocoon.forms.formmodel   
org.apache.cocoon.forms.formmodel.tree   
org.apache.cocoon.forms.generation   
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 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
 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 TempRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void TempRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 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 SimpleRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void SimpleRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 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 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 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 MultiValueJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void MultiValueJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void JavaScriptJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void JavaScriptJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
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 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 ImportJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void ImportJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 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 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 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 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 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 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 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 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 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 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
WidgetEvent(Widget sourceWidget)
           
ValueChangedEvent(Widget source, Object oldValue, Object newValue)
           
ImageMapEvent(Widget source, String actionCommand)
           
DeferredValueChangedEvent(Widget source, Object oldValue)
           
CreateEvent(Widget source)
           
ActionEvent(Widget source, String actionCommand)
           
 

Uses of Widget in org.apache.cocoon.forms.flow.java
 

Methods in org.apache.cocoon.forms.flow.java that return Widget
 Widget FormInstance.getModel()
           
 Widget FormInstance.getChild(String name)
          Get a Widget (the java object) from the form.
 

Uses of Widget in org.apache.cocoon.forms.flow.javascript.v2
 

Methods in org.apache.cocoon.forms.flow.javascript.v2 that return Widget
 Widget ScriptableWidget.jsFunction_unwrap()
           
 

Uses of Widget in org.apache.cocoon.forms.flow.javascript.v3
 

Methods in org.apache.cocoon.forms.flow.javascript.v3 that return Widget
 Widget ScriptableWidget.jsFunction_unwrap()
           
 

Methods in org.apache.cocoon.forms.flow.javascript.v3 with parameters of type Widget
 boolean ScriptableWidget.validate(Widget widget)
           
 

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 CaptchaField
          A Field for CAPTCHA validation.
 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 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.
static class RepeaterAction.Move
           
 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 WidgetList.getWidget(String id)
          Looks for a widget in this list by using the provided id as a lookup key.
 Widget WidgetDefinition.createInstance()
          Creates and returns a widget based on this widget definition.
 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 UploadDefinition.createInstance()
           
 Widget UnionDefinition.createInstance()
           
 Widget Union.getChild(String id)
           
 Widget SubmitDefinition.createInstance()
           
 Widget StructDefinition.createInstance()
          Deprecated.  
 Widget RowActionDefinition.createInstance()
           
 Widget RepeaterDefinition.createInstance()
           
 Widget RepeaterActionDefinition.createInstance()
           
 Widget RepeaterActionDefinition.MoveRowActionDefinition.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 OutputDefinition.createInstance()
           
 Widget NewDefinition.createInstance()
           
 Widget MultiValueFieldDefinition.createInstance()
           
 Widget MessagesDefinition.createInstance()
           
 Widget ImageMapDefinition.createInstance()
           
 Widget GroupDefinition.createInstance()
           
 Widget FormDefinition.createInstance()
           
 Widget Form.getSubmitWidget()
          Get the widget that triggered the current processing.
 Widget FieldDefinition.createInstance()
           
 Widget ContainerWidget.getChild(String id)
          Gets the child widget with the given id.
 Widget ClassDefinition.createInstance()
           
 Widget CaptchaFieldDefinition.createInstance()
           
 Widget BooleanFieldDefinition.createInstance()
           
 Widget AggregateFieldDefinition.createInstance()
           
 Widget AggregateField.getChild(String id)
           
 Widget ActionDefinition.createInstance()
           
 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)
           
 

Methods in org.apache.cocoon.forms.formmodel with parameters of type Widget
 void WidgetList.addWidget(Widget widget)
          Adds a widget to the list of contained Widget's
 void WidgetDefinitionList.createWidget(Widget parent, String id)
           
 void WidgetDefinitionList.createWidgets(Widget parent)
           
 boolean WidgetDefinition.validate(Widget widget)
          Validate a widget using the validators that were defined in its definition.
 void Widget.setParent(Widget widget)
          This method is called on a widget when it is added to a container.
static Repeater.RepeaterRow Repeater.getParentRow(Widget widget)
          Crawls up the parents of a widget up to finding a repeater row.
 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 ContainerWidget.addChild(Widget widget)
          Adds a child widget.
 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 AggregateField.addChild(Widget widget)
           
 void AbstractWidgetDefinition.widgetCreated(Widget widget)
           
 boolean AbstractWidgetDefinition.validate(Widget widget)
           
 void AbstractWidget.setParent(Widget widget)
          Sets the parent-widget of this widget.
 void AbstractContainerWidget.addChild(Widget widget)
           
 void AbstractContainerDefinition.createWidget(Widget parent, String id)
           
 void AbstractContainerDefinition.createWidgets(Widget parent)
           
 

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.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.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 RepeaterAsList.getWidget(String path)
          Get a widget relative to the repeater wrapped by this List
 Widget ContainerWidgetAsMap.getWidget(String path)
          Get a widget relative to the container wrapped by this Map
 

Constructors in org.apache.cocoon.forms.util with parameters of type Widget
XMLAdapter(Widget widget)
          Wrap a Form with an XMLAdapter
 

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 ValidationRuleValidator.validate(Widget widget)
           
 boolean JavaScriptValidator.validate(Widget widget)
           
 boolean CaptchaValidator.validate(Widget widget)
           
 



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.