| javascript_components

# Class: Bs_ResizeGrip Source Location: /components/resizegrip/Bs_ResizeGrip.class.js.php
### Class Overview
Resize Grip to resize a window/div/whatever. #### Author(s): andrej arn <at blueshoes dot org> #### Copyright: blueshoes.org | ### Variables Bs_ResizeGrip:: $constructor $gripIcon $maxHeight $maxWidth $minHeight $minWidth $onAfterResize $onAfterResizeEnd $onAfterResizeStart $onBeforeResize $onBeforeResizeEnd $onBeforeResizeStart $_containerElm $_containerHeight $_containerId $_containerWidth $_startX $_startY | ### Methods constructor draw resize resizeEnd resizeWindowStart
### Inherited Variables | ### Inherited Methods
### Class Details [line 29] Resize Grip to resize a window/div/whatever. dependencies: /core/lang/Bs_Misc.lib.js #### Tags:
copyright: | blueshoes.org
author: | andrej arn <at blueshoes dot org>
[ Top ] ### Class Variables #### = arguments [line 32]
Type: | mixed
[ Top ] #### $constructor = [line 255]
Type: | mixed
[ Top ] #### $gripIcon = '/_bsImages/windows/resizeWindow.gif' [line 68] the full path to the grip icon. #### Tags:
var: | gripIcon
access: | public
Type: | string
[ Top ] #### $maxHeight = [line 60] max height of the window. not specified = no limit. #### Tags:
var: | maxWidth
access: | public
Type: | int
[ Top ] #### $maxWidth = [line 52] max width of the window. not specified = no limit. #### Tags:
var: | maxWidth
access: | public
Type: | int
[ Top ] #### $minHeight = 50 [line 61]
Type: | mixed
[ Top ] #### $minWidth = 50 [line 53]
Type: | mixed
[ Top ] #### $onAfterResize = [line 76]
Type: | mixed
[ Top ] #### $onAfterResizeEnd = [line 78]
Type: | mixed
[ Top ] #### $onAfterResizeStart = [line 74]
Type: | mixed
[ Top ] #### $onBeforeResize = [line 75]
Type: | mixed
[ Top ] #### $onBeforeResizeEnd = [line 77]
Type: | mixed
[ Top ] #### $onBeforeResizeStart = [line 73]
Type: | mixed
[ Top ] #### $_containerElm = document.getElementById(this._containerId) [line 34]
Type: | mixed
[ Top ] #### $_containerHeight = [line 72]
Type: | mixed
[ Top ] #### $_containerId = (a.length>1) ? a[1] : a[0] [line 33]
Type: | mixed
[ Top ] #### $_containerWidth = [line 71]
Type: | mixed
[ Top ] #### $_startX = [line 69]
Type: | mixed
[ Top ] #### $_startY = [line 70]
Type: | mixed
[ Top ] ### Class Methods ### method constructor [line 88]
`void constructor( )`
constructor. [ Top ] ### method draw [line 101]
`void draw( )`
does the rendering job; adds the resize grip to the container. #### Tags:
access: | public
[ Top ] ### method resize [line 194]
`void resize( )`
[ Top ] ### method resizeEnd [line 221]
`void resizeEnd( )`
[ Top ] ### method resizeWindowStart [line 171]
`void resizeWindowStart( element elm)`
fires when resizing of the editor window/toolbar starts. #### Parameters:
element | elm | elm
[ Top ] Documentation generated on Mon, 29 Dec 2003 22:18:28 +0100 by phpDocumentor 1.2.3