|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Widget
getLocation
in class AbstractWidget
public String getId()
AbstractWidget
getId
in interface Widget
getId
in class AbstractWidget
public Widget getParent()
Widget
getParent
in interface Widget
getParent
in class AbstractWidget
public Form getForm()
Widget
Form
to which this widget belongs. The form is the top-most ancestor
of the widget.
getForm
in interface Widget
getForm
in class AbstractWidget
public String getNamespace()
Widget
Widget.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 Widget
getNamespace
in class AbstractWidget
public String getFullyQualifiedId()
Widget
getFullyQualifiedId
in interface Widget
getFullyQualifiedId
in class AbstractWidget
public void setParent(Widget widget)
Widget
setParent
in interface Widget
setParent
in class AbstractWidget
public boolean validate(FormContext formContext)
Widget
Widget.generateSaxFragment(ContentHandler, Locale)
method.
validate
in interface Widget
validate
in class AbstractContainerWidget
public void generateLabel(ContentHandler contentHandler) throws SAXException
Widget
generateLabel
in interface Widget
generateLabel
in class AbstractWidget
SAXException
public void generateSaxFragment(ContentHandler contentHandler, Locale locale) throws SAXException
Widget
SAXException
public void broadcastEvent(WidgetEvent event)
Widget
broadcastEvent
in interface Widget
broadcastEvent
in class AbstractWidget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |