net.wotonomy.web
Class WOActiveImage

java.lang.Object
  extended by net.wotonomy.web.WOElement
      extended by net.wotonomy.web.WODynamicElement
          extended by net.wotonomy.web.WOActiveImage
All Implemented Interfaces:
java.io.Serializable, WOActionResults

public class WOActiveImage
extends WODynamicElement

WOActiveImage renders a dynamically generated IMG tag, enclosed in a hyperlink. Internally, it uses a WOImage and a WOHyperlink to do the actual work. The bindings are those of WOImage and WOHyperlink combined.

Version:
$Revision: 905 $
Author:
ezamudio@nasoft.com, $Author: cgruber $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.wotonomy.web.WODynamicElement
associations, name, rootElement
 
Constructor Summary
protected WOActiveImage()
           
  WOActiveImage(java.lang.String aName, net.wotonomy.foundation.NSDictionary aMap, WOElement template)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
          This method is called on all elements of the content tree to build a response to a user request.
protected  WOHyperlink createLink(WOElement e)
           
 WOActionResults invokeAction(WORequest r, WOContext c)
          This method is called on all objects and elements of the application until a non-null value is returned.
 
Methods inherited from class net.wotonomy.web.WODynamicElement
generateResponse, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOActiveImage

protected WOActiveImage()

WOActiveImage

public WOActiveImage(java.lang.String aName,
                     net.wotonomy.foundation.NSDictionary aMap,
                     WOElement template)
Method Detail

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)
Description copied from class: WODynamicElement
This method is called on all elements of the content tree to build a response to a user request. The message should be forwarded to any child elements so that the entire tree is traversed. This implementation does nothing.

Overrides:
appendToResponse in class WODynamicElement

invokeAction

public WOActionResults invokeAction(WORequest r,
                                    WOContext c)
Description copied from class: WODynamicElement
This method is called on all objects and elements of the application until a non-null value is returned. WOElements should first check to see if they are the target of an action by checking the WOContext's senderID to see if it matches this element's elementID. If this element is the target, it should perform an appropriate action on the context's current WOComponent, usually the action specified in the binding, and return the result of that action. This implementation returns null.

Overrides:
invokeAction in class WODynamicElement

createLink

protected WOHyperlink createLink(WOElement e)


Copyright © 2006 null. All Rights Reserved.