AjaxToggleLink Class Reference

Inherits com::webobjects::appserver::_private::WOHTMLDynamicElement.

Collaboration diagram for AjaxToggleLink:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AjaxToggleLink (String aName, NSDictionary< String, WOAssociation > associations, WOElement template)
void appendAttributesToResponse (WOResponse response, WOContext context)

Static Public Member Functions

static void _appendAttributesToResponse (WOResponse response, WOContext context, WOAssociation toggleIDAssociation, WOAssociation effectAssociation, WOAssociation durationAssociation)

Protected Member Functions

void _appendCloseTagToResponse (WOResponse response, WOContext context)
void _appendOpenTagToResponse (WOResponse response, WOContext context)

Static Protected Member Functions

static NSDictionary< String,
WOAssociation > 
processAssociations (NSDictionary< String, WOAssociation > associations)

Private Member Functions

boolean isDisabled (WOContext context)

Private Attributes

WOAssociation _disabled
WOAssociation _duration
WOAssociation _effect
WOAssociation _toggleID


Detailed Description

AjaxToggleLink provides a wrapper for calling Effect.toggle when clicking a link.

disabled if true, disables the link effect the name of the effect to use (defaults to "blind") duration the duration of the effect toggleID the id of the container to toggle

Author:
mschrag

Constructor & Destructor Documentation

AjaxToggleLink ( String  aName,
NSDictionary< String, WOAssociation >  associations,
WOElement  template 
)


Member Function Documentation

static void _appendAttributesToResponse ( WOResponse  response,
WOContext  context,
WOAssociation  toggleIDAssociation,
WOAssociation  effectAssociation,
WOAssociation  durationAssociation 
) [static]

void _appendCloseTagToResponse ( WOResponse  response,
WOContext  context 
) [protected]

void _appendOpenTagToResponse ( WOResponse  response,
WOContext  context 
) [protected]

void appendAttributesToResponse ( WOResponse  response,
WOContext  context 
)

boolean isDisabled ( WOContext  context  )  [private]

static NSDictionary<String, WOAssociation> processAssociations ( NSDictionary< String, WOAssociation >  associations  )  [static, protected]


Member Data Documentation

WOAssociation _disabled [private]

WOAssociation _duration [private]

WOAssociation _effect [private]

WOAssociation _toggleID [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:40 2012 for Project Wonder by  doxygen 1.5.8