Class Index | File Index

Classes


Function Namespace vonline.Connection


Extends vonline.Base.

Defined in: connection.js.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
vonline.Connection.computePath(x1, y1, x2, y2)
Static method to compute/generate a path between the two points (x1, y1) and (x2, y2)
 
createObject(canvas)
Creates the object on the given canvas
 
 
 
 
 
 
 
 
 
 
setScale(x, y, origX, origY)
 
 
 
Methods borrowed from class vonline.Base:
adjustText, changeText, clickEventHandler, dragEventHandler, fitsIn, getId, isConnectedTo, isResizeable, setBorder, setCanvas, setClickEventMode, setColor, setSelection, toJSON, updateAnnotationHandle, updateConnectionHandles, updateInlineTextHandle, updateRotationHandles, updateSelection
Function Namespace Detail
vonline.Connection(data)
Parameters:
data
Method Detail
<static> vonline.Connection.computePath(x1, y1, x2, y2)
Static method to compute/generate a path between the two points (x1, y1) and (x2, y2)
Parameters:
{float} x1
{float} y1
{float} x2
{float} y2

createObject(canvas)
Creates the object on the given canvas
Parameters:
{vonline.Canvas} canvas

createObjectId()

createText()

getPath()

setAnnotationMode()

setConnectionMode()

setDragEventMode()

setPosition(x, y)
Parameters:
x
y

setRotation(deg)
Parameters:
deg

setRotationMode()

setScale(x, y, origX, origY)
Parameters:
x
y
origX
origY

setTextMode()

setTranslation(x, y)
Parameters:
x
y

updatePath()

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 03 2011 22:07:39 GMT+0100 (MEZ)