|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.woody.formmodel.AbstractWidget
org.apache.cocoon.woody.formmodel.AbstractContainerWidget
org.apache.cocoon.woody.formmodel.Repeater.RepeaterRow
public class Repeater.RepeaterRow
| Field Summary |
|---|
| Fields inherited from class org.apache.cocoon.woody.formmodel.AbstractContainerWidget |
|---|
widgets |
| Fields inherited from class org.apache.cocoon.woody.formmodel.AbstractWidget |
|---|
definition |
| Constructor Summary | |
|---|---|
Repeater.RepeaterRow(AbstractWidgetDefinition definition)
|
|
| Method Summary | |
|---|---|
void |
broadcastEvent(WidgetEvent event)
Broadcast an event previously queued by this widget to its event listeners. |
void |
generateLabel(ContentHandler contentHandler)
Generates SAX events for the label of this widget. |
void |
generateSaxFragment(ContentHandler contentHandler,
Locale locale)
Generates an XML representation of this widget. |
Form |
getForm()
Get the Form to which this widget belongs. |
String |
getFullyQualifiedId()
Returns the id prefixed with the namespace, this name should be unique accross all widgets on the form. |
String |
getId()
Gets the id of this widget. |
String |
getLocation()
Gets the source location of this widget. |
String |
getNamespace()
Gets the namespace of this widget. |
Widget |
getParent()
Gets the parent of this widget. |
void |
setParent(Widget widget)
This method is called on a widget when it is added to a container. |
boolean |
validate(FormContext formContext)
Validates this widget and returns the outcome. |
| Methods inherited from class org.apache.cocoon.woody.formmodel.AbstractContainerWidget |
|---|
addWidget, generateSaxFragment, getChildren, getWidget, hasWidget, readFromRequest |
| Methods inherited from class org.apache.cocoon.woody.formmodel.AbstractWidget |
|---|
addValidator, generateItemSaxFragment, generateSaxFragment, getValue, isRequired, removeValidator, setDefinition, setLocation, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.woody.formmodel.Widget |
|---|
getValue, isRequired, setValue |
| Constructor Detail |
|---|
public Repeater.RepeaterRow(AbstractWidgetDefinition definition)
| Method Detail |
|---|
public String getLocation()
AbstractWidget
getLocation in interface WidgetgetLocation in class AbstractWidgetpublic String getId()
AbstractWidget
getId in interface WidgetgetId in class AbstractWidgetpublic Widget getParent()
Widget
getParent in interface WidgetgetParent in class AbstractWidgetpublic Form getForm()
WidgetForm to which this widget belongs. The form is the top-most ancestor
of the widget.
getForm in interface WidgetgetForm in class AbstractWidgetpublic String getNamespace()
WidgetWidget.getId() gives the widget a form-wide unique name.
In practice, the namespace consists of the id's of the widget's parent widgets,
separated by dots.
getNamespace in interface WidgetgetNamespace in class AbstractWidgetpublic String getFullyQualifiedId()
Widget
getFullyQualifiedId in interface WidgetgetFullyQualifiedId in class AbstractWidgetpublic void setParent(Widget widget)
Widget
setParent in interface WidgetsetParent in class AbstractWidgetpublic boolean validate(FormContext formContext)
WidgetWidget.generateSaxFragment(ContentHandler, Locale) method.
validate in interface Widgetvalidate in class AbstractContainerWidget
public void generateLabel(ContentHandler contentHandler)
throws SAXException
Widget
generateLabel in interface WidgetgenerateLabel in class AbstractWidgetSAXException
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale)
throws SAXException
Widget
SAXExceptionpublic void broadcastEvent(WidgetEvent event)
Widget
broadcastEvent in interface WidgetbroadcastEvent in class AbstractWidget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||