GoDiagram Web Reference
GoViewDataRenderer Class Members
Properties  Methods 


The following tables list the members exposed by GoViewDataRenderer.

Public Constructors
 NameDescription
Public ConstructorGoViewDataRenderer ConstructorConstructs a data renderer for a View.  
Top
Public Properties
 NameDescription
Public PropertyContextClickDefaultGets or sets the JavaScript to be executed when the user context-clicks anywhere in the view but where a click is defined.  
Public PropertyContextMenusGets or sets whether the Render method should generate JavaScript data for application-specific context menus on the client.  
Public PropertyCursorsGets or sets whether the Render method should generate JavaScript data for interactive cursors on the client.  
Public PropertyDefaultContextMenuGets or sets the default context menu to be shown in the view on the client, if no more specific context menu was found by the goDoClick JavaScript function.  
Public PropertyDoubleClickDefaultGets or sets the JavaScript to be executed when the user double-clicks anywhere in the view but where a click is defined.  
Public PropertyLabeledNodeContextClickGets or sets the default value to use for the GoPartInfo.ContextClick JavaScript property when the object is an IGoLabeledNode and is selectable.  
Public PropertyLabeledNodeDoubleClickGets or sets the default value to use for the GoPartInfo.DoubleClick JavaScript property when the object is an IGoLabeledNode and is selectable.  
Public PropertyLabeledNodeSingleClickGets or sets the default value to use for the GoPartInfo.SingleClick JavaScript property.  
Public PropertyNoClickGets or sets the JavaScript to be executed when the user does not do a single-click a double-click, or a context-click in the view.  
Public PropertyPartInfosGets or sets whether the Render method should generate JavaScript data for application-specific information on the client.  
Public PropertyPartInfosIfLabelNotEditableGets or sets whether GetStandardPartInfo should produce part information for IGoLabeledNodes even if Label.CanEdit() is false.  
Public PropertySingleClickDefaultGets or sets the JavaScript to be executed when the user clicks anywhere in the view but where a click is defined.  
Public PropertyToolTipsGets or sets whether the Render method should generate JavaScript data for interactive tooltips on the client.  
Public PropertyViewGets or sets the current GoView for which a call to Render is producing JavaScript code.  
Top
Public Methods
 NameDescription
Public MethodAddPartInfoThis is called by BuildPartInfoSearchArray for each top-level object (or immediate child of a subgraph) that is visible in the view, to possibly add information for client-side use.  
Public MethodAssociatePartInfoCall AddSearchArrayEntry(RectangleF,String) or or AddSearchArrayEntry(GoStroke,String) or another overload of that method in order to associate the JavaScript object corresponding to the GoPartInfoinfo with the location and shape of a given obj.  
Public MethodCreatePartInfoAllocate and return a GoPartInfo for this renderer.  
Public MethodGenerateContextMenuArrayRefReturn a JavaScript expression that refers to the context menu data for the current view.  
Public MethodGenerateCursorArrayRefReturn a JavaScript expression that refers to the cursor data for the current view.  
Public MethodGeneratePartInfoArrayRefReturn a JavaScript expression that refers to application-defined data for the current view.  
Public MethodGenerateToolTipArrayRefReturn a JavaScript expression that refers to the tooltip strings for the current view.  
Public MethodGenerateViewRefReturns a JavaScript expression for referring to the object representing client-side data for a GoView.  
Public MethodGetDefaultContextMenuReturns the GoContextMenu to display in the view on the client.  
Public MethodGetStandardPartInfoProduce a GoPartInfo describing a GoObject in this view.  
Public MethodHandleClientRequestThis is called by GoView.GoView.RaisePostBackEvent for handling both postback and NoPost queries that have "request" as one of the parameter names.  
Public MethodOnUpdatedThis is called by GoView.GoView.OnUpdated.  
Public MethodRenderProduce JavaScript code that provides data used for client-side interactive behavior for the current View.  
Top
Protected Methods
 NameDescription
Protected MethodAddContextMenuThis is called by BuildContextMenuSearchArray for each object that is visible in the view, to possibly add context menu information for client-side use.  
Protected MethodAddCursorThis is called by BuildCursorSearchArray for each object that is visible in the view, to possibly add cursor name information for client-side use.  
Protected MethodAddSearchArrayEntryOverloaded. Associate a string value with a given Rectangle area of the image.  
Protected MethodAddToolTipThis is called by BuildToolTipSearchArray for each object that is visible in the view, to possibly add tooltip information for client-side use.  
Protected MethodBuildContextMenuSearchArrayDefine client-side data for defining context menus for this view.  
Protected MethodBuildCursorSearchArrayDefine the client-side cursors to be used by parts of this view.  
Protected MethodBuildPartInfoSearchArrayDefine client-side information for this view.  
Protected MethodBuildScrollMarginToolTipSearchArrayProduce the client-side definitions of tooltips for the panning buttons.  
Protected MethodBuildToolTipSearchArrayDefine the client-side tooltip behavior for this view.  
Top
See Also

Reference

GoViewDataRenderer Class
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback