Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/layout/ResizeHandle.js

  • Provides:

    • dojox.layout.ResizeHandle
  • Requires:

    • dijit._Widget in common
    • dijit._Templated in common
    • dojo.fx in common
    • dojo.window in common
  • dojox.layout.ResizeHandle

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
    • summary
      A dragable handle used to resize an attached node.
    • description
      The handle on the bottom-right corner of FloatingPane or other widgets that allows
      the widget to be resized.
      Typically not used directly.
  • dojox.layout.ResizeHandle.targetId

    • type
      String
    • summary
      id of the Widget OR DomNode that I will size
  • dojox.layout.ResizeHandle.targetContainer

    • type
      DomNode
    • summary
      over-ride targetId and attch this handle directly to a reference of a DomNode
  • dojox.layout.ResizeHandle.resizeAxis

    • type
      String
    • summary
      one of: x|y|xy limit resizing to a single axis, default to xy ...
  • dojox.layout.ResizeHandle.activeResize

    • type
      Boolean
    • summary
      if true, node will size realtime with mouse movement,
      if false, node will create virtual node, and only resize target on mouseUp
  • dojox.layout.ResizeHandle.activeResizeClass

    • type
      String
    • summary
      css class applied to virtual resize node.
  • dojox.layout.ResizeHandle.animateSizing

    • type
      Boolean
    • summary
      only applicable if activeResize = false. onMouseup, animate the node to the
      new size
  • dojox.layout.ResizeHandle.animateMethod

    • type
      String
    • summary
      one of "chain" or "combine" ... visual effect only. combine will "scale"
      node to size, "chain" will alter width, then height
  • dojox.layout.ResizeHandle.animateDuration

    • type
      Integer
    • summary
      time in MS to run sizing animation. if animateMethod="chain", total animation
      playtime is 2*animateDuration
  • dojox.layout.ResizeHandle.minHeight

    • type
      Integer
    • summary
      smallest height in px resized node can be
  • dojox.layout.ResizeHandle.minWidth

    • type
      Integer
    • summary
      smallest width in px resize node can be
  • dojox.layout.ResizeHandle.constrainMax

    • type
      Boolean
    • summary
      Toggle if this widget cares about the maxHeight and maxWidth
      parameters.
  • dojox.layout.ResizeHandle.maxHeight

    • type
      Integer
    • summary
      Largest height size in px the resize node can become.
  • dojox.layout.ResizeHandle.maxWidth

    • type
      Integer
    • summary
      Largest width size in px the reize node can become.
  • dojox.layout.ResizeHandle.fixedAspect

    • type
      Boolean
    • summary
      Toggle to enable this widget to maintain the aspect
      ratio of the attached node.
  • dojox.layout.ResizeHandle.intermediateChanges

    • type
      Boolean
    • summary
      Toggle to enable/disable this widget from firing onResize
      events at every step of a resize. If <code>activeResize</code> is true,
      and this is false, onResize only fires _after_ the drop
      operation. Animated resizing is not affected by this setting.
  • dojox.layout.ResizeHandle.startTopic

    • type
      String
    • summary
      The name of the topic this resizehandle publishes when resize is starting
  • dojox.layout.ResizeHandle.endTopic

    • type
      String
    • summary
      The name of the topic this resizehandle publishes when resize is complete
  • dojox.layout.ResizeHandle.templateString

    • type
      String
  • dojox.layout.ResizeHandle.postCreate

    • summary
      setup our one major listener upon creation
    • type
      Function
  • dojox.layout.ResizeHandle._resizeHelper

    • type
      Object
  • dojox.layout.ResizeHandle.minSize

    • type
      Object
  • dojox.layout.ResizeHandle.maxSize

    • type
      Object
  • dojox.layout.ResizeHandle._resizeX

    • type
      Object
  • dojox.layout.ResizeHandle._resizeY

    • type
      Object
  • dojox.layout.ResizeHandle._beginSizing

    • parameters:
      • e: (typeof Event)
    • summary
      setup movement listeners and calculate initial size
    • type
      Function
  • dojox.layout.ResizeHandle.targetWidget

    • type
      Object
  • dojox.layout.ResizeHandle.targetDomNode

  • dojox.layout.ResizeHandle._isSizing

    • type
      bool
  • dojox.layout.ResizeHandle.startPoint

    • type
      Object
  • dojox.layout.ResizeHandle.startSize

    • type
      Object
  • dojox.layout.ResizeHandle._aspect

    • type
      Object
  • dojox.layout.ResizeHandle._pconnects

    • type
      Array
  • dojox.layout.ResizeHandle._updateSizing

    • parameters:
      • e: (typeof Event)
    • summary
      called when moving the ResizeHandle ... determines
      new size based on settings/position and sets styles.
    • type
      Function
  • dojox.layout.ResizeHandle._getNewCoords

    • parameters:
      • e: (typeof Event)
    • returns
      Object
    • type
      Function
  • dojox.layout.ResizeHandle._activeResizeLastEvent

  • dojox.layout.ResizeHandle._checkConstraints

    • parameters:
      • newW
      • newH
    • returns
      Object
    • summary
      filter through the various possible constaint possibilities.
    • type
      Function
  • dojox.layout.ResizeHandle._changeSizing

    • parameters:
      • e: (typeof Event)
    • summary
      apply sizing information based on information in (e) to attached node
    • type
      Function
  • dojox.layout.ResizeHandle._endSizing

    • parameters:
      • e: (typeof Event)
    • summary
      disconnect listenrs and cleanup sizing
    • type
      Function
  • dojox.layout.ResizeHandle.onResize

    • parameters:
      • e
    • summary
      Stub fired when sizing is done. Fired once
      after resize, or often when <code>intermediateChanges</code> is
      set to true.
    • type
      Function
  • dojox.layout._ResizeHelper

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Widget: (call)
    • summary
      A global private resize helper shared between any
      <code>dojox.layout.ResizeHandle</code> with activeSizing off.
  • dojox.layout._ResizeHelper.show

    • summary
      show helper to start resizing
    • type
      Function
  • dojox.layout._ResizeHelper.hide

    • summary
      hide helper after resizing is complete
    • type
      Function
  • dojox.layout._ResizeHelper.resize

    • parameters:
      • dim: (typeof Object)
    • summary
      size the widget and place accordingly
    • type
      Function
  • dojox.layout

    • type
      Object
  • dojox

    • type
      Object