AjaxDragResizeContainer Class Reference

Inherits er::ajax::AjaxComponent.

Collaboration diagram for AjaxDragResizeContainer:

Collaboration graph
[legend]

List of all members.

Classes

class  ResizeReport

Public Member Functions

 AjaxDragResizeContainer (WOContext context)
void appendToResponse (WOResponse response, WOContext context)
NSDictionary createAjaxOptions ()
String dragResizeContainerID ()
WOActionResults handleRequest (WORequest request, WOContext context)
String style ()
boolean synchronizesVariablesWithBindings ()

Static Public Attributes

static final String EVENT_BLUR = "dragblur"
static final String EVENT_DRAG_END = "dragend"
static final String EVENT_FOCUS = "dragfocus"

Protected Member Functions

void addRequiredWebResources (WOResponse response)

Private Member Functions

String drsElementClass ()
String drsMoveHandleClass ()
String jsForElementOrHandle (String cssClass)
String jsForEvent (String event)

Private Attributes

String _actionUrl
String _dragResizeContainerID


Detailed Description

minWidth minHeight minLeft minTop maxLeft maxTop ondragfocus ondragblur ondragstart ondragmove ondragend dimensionsFromElementWithID id class drsElement drsMoveHandle report action skipContainer When set to true, the container div including nested content is omitted. Use this if you want to use an existing element as container. Make sure, this element is "position:relative" and specify it's dom id using the id binding.

Constructor & Destructor Documentation

AjaxDragResizeContainer ( WOContext  context  ) 


Member Function Documentation

void addRequiredWebResources ( WOResponse  res  )  [protected, virtual]

Override this method to append the needed scripts for this component.

Parameters:
res 

Implements AjaxComponent.

void appendToResponse ( WOResponse  res,
WOContext  ctx 
)

Overridden to call addRequiredWebResources(WOResponse).

Reimplemented from AjaxComponent.

NSDictionary createAjaxOptions (  ) 

String dragResizeContainerID (  ) 

String drsElementClass (  )  [private]

String drsMoveHandleClass (  )  [private]

WOActionResults handleRequest ( WORequest  request,
WOContext  context 
) [virtual]

Override this method to return the response for an Ajax request.

Parameters:
request 
context 

Implements AjaxComponent.

String jsForElementOrHandle ( String  cssClass  )  [private]

String jsForEvent ( String  event  )  [private]

String style (  ) 

boolean synchronizesVariablesWithBindings (  ) 


Member Data Documentation

String _actionUrl [private]

final String EVENT_BLUR = "dragblur" [static]

final String EVENT_DRAG_END = "dragend" [static]

final String EVENT_FOCUS = "dragfocus" [static]


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

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