| |
|
| java.lang.Object org.apache.cocoon.forms.formmodel.AbstractWidget org.apache.cocoon.forms.formmodel.ImageMap
ImageMap | public class ImageMap extends AbstractWidget implements ActionListenerEnabled(Code) | | A server-side map widget. An ImageMap widget can cause a
ImageMapEvent to be triggered
on the server side, which will be handled by either the event handlers defined in the
form definition, and/or by the
org.apache.cocoon.forms.event.FormHandler FormHandler registered with the form, if any. An ImageMap widget is basically an Action widget
displayed as an image and with mouse coordinates stored upon clicking.
The image's URI can be set or get, or bind via the binding framework, mouse coordinates
can be either retrieved from the ImageMapEvent triggered or from the widget itself.
version: $Id: ImageMap.java 462520 2006-10-10 19:39:14Z vgritsenko $ since: 2.1.8 |
addActionListener | public void addActionListener(ActionListener listener)(Code) | | Adds an ActionListener to this widget instance. Listeners defined
on the widget instance will be executed in addtion to any listeners
that might have been defined in the widget definition.
|
getXMLElementAttributes | public AttributesImpl getXMLElementAttributes()(Code) | | Adds the @imageuri attribute to the XML element
|
handleActivate | protected void handleActivate()(Code) | | Handle the fact that this action was activated. The default here is to end the
current form processing and redisplay the form, which means that actual behaviour
should be implemented in event listeners.
|
validate | public boolean validate()(Code) | | Always return true (an action has no validation)
|
Fields inherited from org.apache.cocoon.forms.formmodel.AbstractWidget | protected boolean wasValid(Code)(Java Doc)
|
|
|
|