S | |
select | |
setAutomaticRepaint | |
setConnector, Connection | |
setDefaultScope | |
setDetachable, Connection | |
setDragAllowedWhenFull, Endpoint | |
setDraggable | |
setElement, Endpoint | |
setEnabled, Endpoint | |
setHover | |
setHoverPaintStyle | |
setId | |
setIdChanged | |
setImage, Endpoints.Image | |
setLabel | |
setPaintStyle | |
setParameter | |
setRenderMode | |
setRepaintFunction | |
setSourceEnabled | |
setStyle, Endpoint | |
setSuspendDrawing | |
setTargetEnabled | |
setVisible, Endpoint | |
show | |
showOverlay | |
sizeCanvas | |
StateMachine constructor, Overlays.Label | |
T | |
toggleDraggable | |
toggleSourceEnabled | |
toggleTargetEnabled | |
toggleVisible | |
U | |
unbind | |
unload | |
unmakeEverySource | |
unmakeEveryTarget | |
unmakeSource | |
unmakeTarget |
Selects a set of Connections, using the filter options from the getConnections method, and returns an object that allows you to perform an operation on all of the Connections at once.
this.select = function( params )
this.setConnector = function( connector, doNotRepaint )
Sets the default scope for Connections and Endpoints.
this.setDefaultScope = function( scope )
Sets whether or not this connection is detachable.
this.setDetachable = function( detachable )
Sets whether or not connections can be dragged from this Endpoint once it is full.
this.setDragAllowedWhenFull = function( allowed )
Sets the DOM element this Endpoint is attached to.
this.setElement = function( el, container )
Sets whether or not the Endpoint is enabled for drag/drop connections.
this.setEnabled = function( e )
Changes the id of some element, adjusting all connections and endpoints
this.setId = function( el, newId, doNotSetAttribute )
Notify jsPlumb that the element with oldId has had its id changed to newId.
this.setIdChanged = function( oldId, newId )
Sets the Image to use in this Endpoint.
_endpoint.setImage = function( img, onload )
Sets the Connection’s label.
this.setLabel = function( l )
sets the label’s, um, label.
this.setLabel = function( l )
Sets render mode: jsPlumb.CANVAS, jsPlumb.SVG or jsPlumb.VML.
this.setRenderMode = function( mode )
Sets the function to fire when the window size has changed and a repaint was fired.
this.setRepaintFunction = function( f )
Sets the enabled state of one or more elements that were previously made a connection source with the makeSource method.
this.setSourceEnabled = function( el, state )
Sets the enabled state of one or more elements that were previously made a connection target with the makeTarget method.
this.setTargetEnabled = function( el, state )
Sets whether or not the Endpoint is currently visible.
this.setVisible = function( v, doNotChangeConnections, doNotNotifyOtherEndpoint )
Sets an element’s connections to be visible.
this.show = function( el, changeEndpoints )
Shows the overlay specified by the given id.
this.showOverlay = function( id )
Helper to size a canvas.
this.sizeCanvas = function( canvas, x, y, w, h )
Toggles the source enabled state of the given element or elements.
this.toggleSourceEnabled = function( el )
Toggles the target enabled state of the given element or elements.
this.toggleTargetEnabled = function( el )
Unloads jsPlumb, deleting all storage.
this.unload = function()
Resets all elements in this instance of jsPlumb so that none of them are connection sources.
this.unmakeEverySource = function()
Resets all elements in this instance of jsPlumb so that none of them are connection targets.
this.unmakeEveryTarget = function()
Sets the given element to no longer be a connection source.
this.unmakeSource = function( el, doNotClearArrays )
Sets the given element to no longer be a connection target.
this.unmakeTarget = function( el, doNotClearArrays )