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.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 SimpleRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void SimpleRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 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 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 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)
           
 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 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 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 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 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 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 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 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 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 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 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 JavaScriptJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 void JavaScriptJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jctx)
           
 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 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 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.
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 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 EnhancedRepeaterJXPathBinding.doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 void EnhancedRepeaterJXPathBinding.doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
           
 

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
ImageMapEvent(Widget source, String actionCommand)
           
DeferredValueChangedEvent(Widget source, Object oldValue)
           
ValueChangedEvent(Widget source, Object oldValue, Object newValue)
           
ActionEvent(Widget source, String actionCommand)
           
CreateEvent(Widget source)
           
RepeaterEvent(Widget sourceWidget, RepeaterEventAction action)
           
RepeaterEvent(Widget sourceWidget, RepeaterEventAction action, int row)
           
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 AggregateField.getChild(String id)
           
 Widget UploadDefinition.createInstance()
           
 Widget StructDefinition.createInstance()
          Deprecated.  
 Widget UnionDefinition.createInstance()
           
 Widget Union.getChild(String id)
           
 Widget BooleanFieldDefinition.createInstance()
           
 Widget CalculatedFieldDefinition.createInstance()
           
 Widget NewDefinition.createInstance()
           
 Widget RepeaterActionDefinition.createInstance()
           
 Widget GoogleMapDefinition.createInstance()
           
 Widget SubmitDefinition.createInstance()
           
 Widget RowActionDefinition.createInstance()
           
 Widget OutputDefinition.createInstance()
           
 Widget MessagesDefinition.createInstance()
           
 Widget ImageMapDefinition.createInstance()
           
 Widget AggregateFieldDefinition.createInstance()
           
 Widget ClassDefinition.createInstance()
           
 Widget MultiValueFieldDefinition.createInstance()
           
 Widget CaptchaFieldDefinition.createInstance()
           
 Widget FieldDefinition.createInstance()
           
 Widget RepeaterFilterFieldDefinition.createInstance()
           
 Widget ActionDefinition.createInstance()
           
 Widget GroupDefinition.createInstance()
           
 Widget FormDefinition.createInstance()
           
 Widget WidgetList.getWidget(String id)
          Looks for a widget in this list by using the provided id as a lookup key.
 Widget RepeaterDefinition.createInstance()
           
 Widget WidgetDefinition.createInstance()
          Creates and returns a widget based on this widget definition.
 Widget Form.getSubmitWidget()
          Get the widget that triggered the current processing.
 Widget ContainerWidget.getChild(String id)
          Gets the child widget with the given id.
 Widget AbstractContainerWidget.getChild(String 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 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 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.
 

Methods in org.apache.cocoon.forms.formmodel with parameters of type Widget
 void AggregateField.addChild(Widget widget)
           
 Object CalculatedFieldAlgorithm.calculate(Form form, Widget parent, Datatype datatype)
          Performs the actual calculation.
 void WidgetDefinitionList.createWidget(Widget parent, String id)
           
 void WidgetDefinitionList.createWidgets(Widget parent)
           
 void WidgetList.addWidget(Widget widget)
          Adds a widget to the list of contained Widget's
 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.
 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 AbstractContainerWidget.addChild(Widget widget)
           
 void AbstractWidget.setParent(Widget widget)
          Sets the parent-widget of this widget.
static Repeater.RepeaterRow Repeater.getParentRow(Widget widget)
          Crawls up the parents of a widget up to finding a repeater row.
 void Widget.setParent(Widget widget)
          This method is called on a widget when it is added to a container.
 

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 SimpleFormula.calculate(Form form, Widget parent, Datatype datatype)
           
 Object RepeatedFormula.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.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
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 ValidationRuleValidator.validate(Widget widget)
           
 boolean JavaScriptValidator.validate(Widget widget)
           
 boolean CaptchaValidator.validate(Widget widget)
           
 



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