Project Wonder 5.0

er.ajax
Class AjaxToggleLink

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by com.webobjects.appserver._private.WODynamicGroup
              extended by com.webobjects.appserver._private.WOHTMLDynamicElement
                  extended by er.ajax.AjaxToggleLink

public class AjaxToggleLink
extends com.webobjects.appserver._private.WOHTMLDynamicElement

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

Author:
mschrag
Bindings
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
           

Field Summary
 
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization
 
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup
_children
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
AjaxToggleLink(java.lang.String aName, com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement template)
           
 
Method Summary
static void _appendAttributesToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context, com.webobjects.appserver.WOAssociation toggleIDAssociation, com.webobjects.appserver.WOAssociation effectAssociation, com.webobjects.appserver.WOAssociation durationAssociation)
           
protected  void _appendCloseTagToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
           
protected  void _appendOpenTagToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
           
 void appendAttributesToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
           
protected static com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> processAssociations(com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations)
           
 
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement
_appendAttributesFromAssociationsToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, toString, urlAttributeAssociations
 
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxToggleLink

public AjaxToggleLink(java.lang.String aName,
                      com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations,
                      com.webobjects.appserver.WOElement template)
Method Detail

_appendOpenTagToResponse

protected void _appendOpenTagToResponse(com.webobjects.appserver.WOResponse response,
                                        com.webobjects.appserver.WOContext context)
Overrides:
_appendOpenTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement

_appendCloseTagToResponse

protected void _appendCloseTagToResponse(com.webobjects.appserver.WOResponse response,
                                         com.webobjects.appserver.WOContext context)
Overrides:
_appendCloseTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement

appendAttributesToResponse

public void appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
                                       com.webobjects.appserver.WOContext context)
Overrides:
appendAttributesToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement

_appendAttributesToResponse

public static void _appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
                                               com.webobjects.appserver.WOContext context,
                                               com.webobjects.appserver.WOAssociation toggleIDAssociation,
                                               com.webobjects.appserver.WOAssociation effectAssociation,
                                               com.webobjects.appserver.WOAssociation durationAssociation)

processAssociations

protected static com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> processAssociations(com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations)

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.