| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

DraggableLayerController

Page history last edited by PBworks 17 years, 11 months ago

  1. DraggableLayerController
    1. Object Summary
    2. Constructor
    3. Methods
      1. DraggableLayerController.incrementCancelRegisterCount()
      2. DraggableLayerController.decrementCancelRegisterCount()
      3. DraggableLayerController.getCancelRegisterCount()
      4. DraggableLayerController.getDragIndexes()
      5. DraggableLayerController.getIgnoreIndexes()
      6. DraggableLayerController.isEventAttached()
      7. DraggableLayerController.setEventAttached(blnValue)
      8. DraggableLayerController.setCurrentAction(intState)
      9. DraggableLayerController.setCurrentKeyState(intState)
      10. DraggableLayerController.setCurrentMouseState(intState)
      11. DraggableLayerController.setActiveLayer(obj)
      12. DraggableLayerController.setBeginCoord(x,y)
      13. DraggableLayerController.setLT(left,top)
      14. DraggableLayerController.setWH(width,height)
      15. DraggableLayerController.registerDragLayer(obj)
      16. DraggableLayerController.registerIgnoreLayer(obj)
      17. DraggableLayerController.registerDragConstraint(strID,obj)
      18. DraggableLayerController.registerResizeConstraint(strID,obj)
      19. DraggableLayerController.registerDragAction(strID,obj)
      20. DraggableLayerController.getCurrentAction()
      21. DraggableLayerController.getCurrentKeyState()
      22. DraggableLayerController.getCurrentMouseState()
      23. DraggableLayerController.getActiveLayer()
      24. DraggableLayerController.getBeginCoord()
      25. DraggableLayerController.getLT()
      26. DraggableLayerController.getWH()
      27. DraggableLayerController.getDragLayer(strID)
      28. DraggableLayerController.getIgnoreLayer(strID)
      29. DraggableLayerController.getDragConstraint(strID)
      30. DraggableLayerController.getResizeConstraint(strID)
      31. DraggableLayerController.getDragAction(strID)
    4. See Also
  2. Usage Examples

 

DraggableLayerController

(extends Object)


Object Summary

 

This is a Controller object that holds various properties of DraggableLayers.

 

This object is not used directly, it is an intermediate helper object that s@rdalya API utilizes.


Constructor

This object does not have a constructor. It is statically accessed.


Methods

 

DraggableLayerController.incrementCancelRegisterCount()

 

This method is used to handle a non-standard behavior in Internet Explorer's event attachment model. It increases the total count when cancelDefaultAction is registered.


DraggableLayerController.decrementCancelRegisterCount()

 

This method is used to handle a non-standard behavior in Internet Explorer's event attachment model. It helps remember how many times cancelDefaultAction is registered during

DraggableLayer's lifetime.


DraggableLayerController.getCancelRegisterCount()

 

This method is used to handle a non-standard behavior in Internet Explorer's event attachment model. It helps remember how many times cancelDefaultAction is registered during

DraggableLayer's lifetime.


DraggableLayerController.getDragIndexes()

 

returns

The drag indexes as an array.

 

comments

Gets the drag indexes.


DraggableLayerController.getIgnoreIndexes()

 

returns

The ignore indexes as an array.

 

comments

Gets the ignore indexes.


DraggableLayerController.isEventAttached()

 

returns

true if the event is attached, false otherwise.

 

comments

Checks whether or not drag event is attached.


DraggableLayerController.setEventAttached(blnValue)

 

parameters

blnValue - the attach status.

 

comments

Sets the event attached status to blnValue.


DraggableLayerController.setCurrentAction(intState)

 

parameters

intState - A proper Constant.Mouse value.

 

comments

Sets the current action to intState.


DraggableLayerController.setCurrentKeyState(intState)

 

parameters

intState - A proper Constant.Key value.

 

comments

Sets the current key state to intState.


DraggableLayerController.setCurrentMouseState(intState)

 

parameters

intState - A proper Constant.Mouse value.

 

comments

Sets the current mouse state to intState.


DraggableLayerController.setActiveLayer(obj)

 

parameters

obj - A DynamicLayer.

 

comments

Sets the active layer.


DraggableLayerController.setBeginCoord(x,y)

 

parameters

x - Absyss.

y - Ordinate.

 

comments

Sets the beginning coordinate.


DraggableLayerController.setLT(left,top)

 

parameters

left - Absyss.

top - Ordinate.

 

comments

Sets the LT (left-top) value.


DraggableLayerController.setWH(width,height)

 

parameters

width - Absyss.

height - Ordinate.

 

comments

Sets the WH (width-height) value.


DraggableLayerController.registerDragLayer(obj)

 

parameters

obj - A DraggableLayer instance.

 

comments

Registers the drag layer.


DraggableLayerController.registerIgnoreLayer(obj)

 

parameters

obj - A DynamicLayer instance.00

 

Registers the ignore layer.


DraggableLayerController.registerDragConstraint(strID,obj)

 

parameters

strID - The DHTML index.

obj - The constraint object that limits the drag action.

 

comments

Constraints the drag action of the layer with id strID according to the limits defined in Constraint obj.


DraggableLayerController.registerResizeConstraint(strID,obj)

 

parameters

strID - The DHTML index.

obj - The constraint object that limits the resize action.

 

comments

Constraints the resize action of the layer with id strID according to the limits defined in Constraint obj.


DraggableLayerController.registerDragAction(strID,obj)

 

parameters

strID - The DHTML index.

obj - A Constant.Mouse value.

 

comments

Registers the drag action.


DraggableLayerController.getCurrentAction()

 

returns

The current Constant.Mouse action value.

 

comments

Gets the current action.


DraggableLayerController.getCurrentKeyState()

 

returns

The current Constant.Key key state.

 

comments

Gets the current key state.


DraggableLayerController.getCurrentMouseState()

 

returns

The current Constant.Mouse mouse state.

 

comments

Gets the current mouse state.


DraggableLayerController.getActiveLayer()

 

returns

The active DynamicLayer instance.

 

comments

Gets the active DynamicLayer.


DraggableLayerController.getBeginCoord()

 

returns

The beginning coordinates as a Dimension.

 

comments

Gets the active beginning coordinates as a Dimension.


DraggableLayerController.getLT()

 

returns

The LT (left,top) values as a Dimension.

 

comments

Gets LT (left,top) values as a Dimension.


DraggableLayerController.getWH()

 

returns

The WH (width,height) values as a Dimension.

 

comments

Gets WH (width,height) values as a Dimension.


DraggableLayerController.getDragLayer(strID)

 

parameters

strID - The DHTML index to query.

 

returns

 

comments

The drag layers associated strID.


DraggableLayerController.getIgnoreLayer(strID)

 

parameters

strID - The DHTML index to query.

 

return

An array of DynamicLayers.

 

comments

The ignore layers associated with strID.


DraggableLayerController.getDragConstraint(strID)

 

parameters

strID - The DHTML index to query.

 

returns

An array of Constraints.

 

comments

The drag Constraints associated with strID.


DraggableLayerController.getResizeConstraint(strID)

 

parameters

strID - The DHTML index to query.

 

returns

An array of Constraints.

 

comments

The resize Constraints associated with strID.


DraggableLayerController.getDragAction(strID)

 

parameters

strID - The DHTML index to query.

 

returns

A proper Constant.Mouse value.

 

comments

The action associated with strID.


See Also

 

None given.


Usage Examples

 

None given. Be the first one to add a usage example!

Comments (0)

You don't have permission to comment on this page.