C# Class SilverlightMappingToolBasic.MapDepth.MapDepthNodeRenderer

Inheritance: NodeRenderer, INodeRenderer
显示文件 Open project: chris-tomich/Glyma

Public Methods

Method Description
MapDepthNodeRenderer ( NavigatorView parentNavigatorView, INodeProxy nodeProxy, ThemeManager themeManager, string skinName ) : System
RenderChildren ( RenderingContextInfo info ) : NodeControl
SelectChildNodes ( INodeProxy nodeProxy ) : void
SelectParentNodes ( INodeProxy nodeProxy ) : void
UnselectChildNodes ( INodeProxy nodeProxy ) : void
UnselectParentNodes ( INodeProxy nodeProxy ) : void

Protected Methods

Method Description
MapDepthNodeRenderer ( ) : System

Private Methods

Method Description
GetAllChildNodes ( INodeProxy nodeProxy ) : IEnumerable
GetMapRelationship ( INodeProxy node ) : IRelationshipProxy

Helper method for getting the relationship that matches nodes relationship to the map currently being rendered

GetNodeLocation ( MetadataContext xPosKey, MetadataContext yPosKey, double &x, double &y ) : bool
GetTransclusionRelationship ( INodeProxy node ) : IEnumerable
IsChildInCurrentView ( INodeProxy nodeProxy, System.Guid childNodeId ) : bool
IsChildRelationship ( IRelationshipProxy relationship, System.Guid parentNodeId ) : bool
IsParentInCurrentView ( INodeProxy nodeProxy, INodeProxy relatedNode ) : bool
IsParentRelationship ( IRelationshipProxy relationship, System.Guid childNodeId ) : bool
IsRelated ( IRelationshipProxy relationship, System.Guid nodeId, string descriptorType ) : bool
RenderNodeAsChild ( MetadataContext xPosKey, MetadataContext yPosKey, IDescriptorTypeProxy &descriptorType, double &x, double &y ) : void
RenderNodeAsTransclusion ( MetadataContext xPosKey, MetadataContext yPosKey, IDescriptorTypeProxy &descriptorType, double &x, double &y ) : void
ToggleChildNodes ( bool isSelected, INodeProxy nodeProxy ) : void
ToggleParentNodes ( bool isSelected, INodeProxy nodeProxy ) : void

Method Details

MapDepthNodeRenderer() protected method

protected MapDepthNodeRenderer ( ) : System
return System

MapDepthNodeRenderer() public method

public MapDepthNodeRenderer ( NavigatorView parentNavigatorView, INodeProxy nodeProxy, ThemeManager themeManager, string skinName ) : System
parentNavigatorView NavigatorView
nodeProxy INodeProxy
themeManager ThemeManager
skinName string
return System

RenderChildren() public method

public RenderChildren ( RenderingContextInfo info ) : NodeControl
info RenderingContextInfo
return SilverlightMappingToolBasic.Controls.NodeControl

SelectChildNodes() public method

public SelectChildNodes ( INodeProxy nodeProxy ) : void
nodeProxy INodeProxy
return void

SelectParentNodes() public method

public SelectParentNodes ( INodeProxy nodeProxy ) : void
nodeProxy INodeProxy
return void

UnselectChildNodes() public method

public UnselectChildNodes ( INodeProxy nodeProxy ) : void
nodeProxy INodeProxy
return void

UnselectParentNodes() public method

public UnselectParentNodes ( INodeProxy nodeProxy ) : void
nodeProxy INodeProxy
return void