ASP.NET Pack Programmer's Guide
DiagramApplet Members
Constructors Fields Methods
 


The DiagramApplet class implements a Java applet that hosts a Diagram instance inside a scroll pane.

The following tables list the members exposed by the DiagramApplet type.

 Public Constructors

  Name Description

DiagramApplet

Initializes a new instance of the DiagramApplet class.

 Public Fields

  Name Description

_behaviors

 

_events

 

control

 

disabled

 

dispose

 

hasInitialized

 

hasStarted

Returns whether start() method has completed successfully. (Inherited from AppletEx.)

 Public Methods

  Name Description

actionRecorded

Calls a JavaScript function to handle the respective DiagramListener event.

actionRecording

Calls a JavaScript function to handle the respective DiagramListener event.

actionRedone

Calls a JavaScript function to handle the respective DiagramListener event.

actionUndone

Calls a JavaScript function to handle the respective DiagramListener event.

activeLayerChanged

Calls a JavaScript function to handle the respective DiagramListener event.

appletLoadedCheck

  (Inherited from AppletEx.)

cellClicked

Calls a JavaScript function to handle the respective DiagramListener event.

cellDoubleClicked

Calls a JavaScript function to handle the respective DiagramListener event.

cellTextEdited

Calls a JavaScript function to handle the respective DiagramListener event.

cellTextEditing

Calls a JavaScript function to handle the respective DiagramListener event.

clicked

Calls a JavaScript function to handle the respective DiagramListener event.

containerChildAdded

Calls a JavaScript function to handle the respective DiagramListener event.

containerChildRemoved

Calls a JavaScript function to handle the respective DiagramListener event.

containerFolded

Calls a JavaScript function to handle the respective DiagramListener event.

containerUnfolded

Calls a JavaScript function to handle the respective DiagramListener event.

copyToClipboard

Overloaded. Copies the current selection of items to a local clipboard.

cutToClipboard

Overloaded. Cuts the currently selected items to a local clipboard.

deserializeControl

Implements DiagramListener.deserializeControl.

deserializeTag

Calls a JavaScript function to handle the respective DiagramListener event.

doubleClicked

Calls a JavaScript function to handle the respective DiagramListener event.

drawAdjustmentHandles

Calls a JavaScript function to handle the respective DiagramListener event.

drawAnchorPoint

Calls a JavaScript function to handle the respective DiagramListener event.

drawBackground

Calls a JavaScript function to handle the respective DiagramListener event.

drawCell

Calls a JavaScript function to handle the respective DiagramListener event.

drawForeground

Calls a JavaScript function to handle the respective DiagramListener event.

drawLink

Calls a JavaScript function to handle the respective DiagramListener event.

drawNode

Calls a JavaScript function to handle the respective DiagramListener event.

enterInplaceEditMode

Called when entering in-place editing mode.

expandButtonClicked

Calls a JavaScript function to handle the respective DiagramListener event.

getDiagram

Gets the Diagram whose content is displayed inside the DiagramView hosted inside this applet.

getDiagramView

Gets the DiagramView hosted inside this applet.

getHasStarted

Returns whether start() method has completed successfully. (Inherited from AppletEx.)

getOverview

Gets the Overview hosted inside this applet.

getRuler

Gets the Ruler hosted inside this applet.

getScriptHelper

Returns an object providing helper methods useful when accessing the JDiagram API from JavaScript.

getShapeListBox

Gets the ShapeListBox hosted inside this applet.

groupDestroyed

Calls a JavaScript function to handle the respective DiagramListener event.

hitTestAdjustmentHandles

Calls a JavaScript function to handle the respective DiagramListener event.

imageLoaded

 

init

Called by the browser after creating the applet instance.

initializeLink

Calls a JavaScript function to handle the respective DiagramListener event.

initializeNode

Calls a JavaScript function to handle the respective DiagramListener event.

itemAdded

Calls a JavaScript function to handle the respective DiagramListener event.

itemLoaded

Implements DiagramListener.itemLoaded.

itemRemoved

Calls a JavaScript function to handle the respective DiagramListener event.

leaveInplaceEditMode

Called when an in-place editing is accepted or rejected.

linkActivated

Calls a JavaScript function to handle the respective DiagramListener event.

linkClicked

Calls a JavaScript function to handle the respective DiagramListener event.

linkCreated

Calls a JavaScript function to handle the respective DiagramListener event.

linkCreating

Calls a JavaScript function to handle the respective DiagramListener event.

linkDeactivated

Calls a JavaScript function to handle the respective DiagramListener event.

linkDeleted

Calls a JavaScript function to handle the respective DiagramListener event.

linkDeleting

Calls a JavaScript function to handle the respective DiagramListener event.

linkDeselected

Calls a JavaScript function to handle the respective DiagramListener event.

linkDoubleClicked

Calls a JavaScript function to handle the respective DiagramListener event.

linkModified

Calls a JavaScript function to handle the respective DiagramListener event.

linkModifying

Calls a JavaScript function to handle the respective DiagramListener event.

linkPointerEnter

Calls a JavaScript function to handle the respective DiagramListener event.

linkPointerLeave

Calls a JavaScript function to handle the respective DiagramListener event.

linkRouted

Calls a JavaScript function to handle the respective DiagramListener event.

linkSelected

Calls a JavaScript function to handle the respective DiagramListener event.

linkSelecting

Calls a JavaScript function to handle the respective DiagramListener event.

linkStartModifying

Calls a JavaScript function to handle the respective DiagramListener event.

linkTextEdited

Calls a JavaScript function to handle the respective DiagramListener event.

linkTextEditing

Calls a JavaScript function to handle the respective DiagramListener event.

loadFromString

Loads the diagram from a string created by saveToString.

loadImage

Loads an image file from the specified URL.

mouseWheelMoved

Calls a JavaScript function to handle the respective DiagramListener event.

nodeActivated

Calls a JavaScript function to handle the respective DiagramListener event.

nodeClicked

Calls a JavaScript function to handle the respective DiagramListener event.

nodeCreated

Calls a JavaScript function to handle the respective DiagramListener event.

nodeCreating

Calls a JavaScript function to handle the respective DiagramListener event.

nodeDeactivated

Calls a JavaScript function to handle the respective DiagramListener event.

nodeDeleted

Calls a JavaScript function to handle the respective DiagramListener event.

nodeDeleting

Calls a JavaScript function to handle the respective DiagramListener event.

nodeDeselected

Calls a JavaScript function to handle the respective DiagramListener event.

nodeDoubleClicked

Calls a JavaScript function to handle the respective DiagramListener event.

nodeModified

Calls a JavaScript function to handle the respective DiagramListener event.

nodeModifying

Calls a JavaScript function to handle the respective DiagramListener event.

nodePointerEnter

Calls a JavaScript function to handle the respective DiagramListener event.

nodePointerLeave

Calls a JavaScript function to handle the respective DiagramListener event.

nodeSelected

Calls a JavaScript function to handle the respective DiagramListener event.

nodeSelecting

Calls a JavaScript function to handle the respective DiagramListener event.

nodeStartModifying

Calls a JavaScript function to handle the respective DiagramListener event.

nodeTextEdited

Calls a JavaScript function to handle the respective DiagramListener event.

nodeTextEditing

Calls a JavaScript function to handle the respective DiagramListener event.

pasteFromClipboard

Overloaded. Pastes diagram items from a local clipboard.

repaint

Calls a JavaScript function to handle the respective DiagramListener event.

requestCacheReset

Calls a JavaScript function to handle the respective DiagramListener event.

requestImage

 

runInAppletThread

  (Inherited from AppletEx.)

saveToString

Saves the diagram data into an XML string.

selectionChanged

Calls a JavaScript function to handle the respective DiagramListener event.

selectionModified

 

selectionModifying

 

serializeControl

Implements DiagramListener.serializeControl.

serializeTag

Calls a JavaScript function to handle the respective DiagramListener event.

setSelfLoopShape

Calls a JavaScript function to handle the respective DiagramListener event.

start

Called by the browser when displaying the page that contains the applet.

tableColumnResized

 

tableColumnResizing

 

tableRowResized

 

tableRowResizing

 

tableSectionCollapsed

Calls a JavaScript function to handle the respective DiagramListener event.

tableSectionExpanded

Calls a JavaScript function to handle the respective DiagramListener event.

treeCollapsed

Calls a JavaScript function to handle the respective DiagramListener event.

treeExpanded

Calls a JavaScript function to handle the respective DiagramListener event.

treeItemTextEdited

Calls a JavaScript function to handle the respective DiagramListener event.

validateAnchorPoint

Calls a JavaScript function to handle the respective DiagramListener event.

viewportChanged

Calls a JavaScript function to handle the respective DiagramListener event.

viewRemoved

Calls a JavaScript function to handle the respective DiagramListener event.

 Protected Methods

  Name Description

createDiagramView

Creates a new DiagramView object. Override this method to return a custom subclass of DiagramView if needed.

 See Also

DiagramApplet Class
com.mindfusion.diagramming Namespace