C# Class XSDDiagram.Rendering.Diagram

Show file Open project: dgis/xsddiagram Class Usage Examples

Public Methods

Method Description
Add ( XMLSchema childElement, string nameSpace ) : DiagramItem
AddAny ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
AddComplexType ( DiagramItem parentDiagramElement, XMLSchema childElement, bool isReference, string nameSpace ) : DiagramItem
AddComplexType ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
AddComplexType ( XMLSchema childElement, string nameSpace ) : DiagramItem
AddCompositors ( DiagramItem parentDiagramElement, XMLSchema childGroup, DiagramItemGroupType type, string nameSpace ) : DiagramItem
AddCompositors ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
AddCompositors ( XMLSchema childElement, string nameSpace ) : DiagramItem
AddElement ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
AddElement ( XMLSchema childElement, string nameSpace ) : DiagramItem
Clear ( ) : void
Diagram ( ) : System
ExpandChildren ( DiagramItem parentDiagramElement ) : void
ExpandOneLevel ( ) : void
HitTest ( Point point, DiagramItem &element, DiagramHitTestRegion &region ) : void
Layout ( Graphics g ) : void
Remove ( DiagramItem element ) : void
RemoveAll ( ) : void
ScaleInt ( int integer ) : int
ScalePoint ( Point point ) : Point
ScaleRectangle ( Rectangle rectangle ) : Rectangle
ScaleSize ( Size point ) : Size
SelectElement ( DiagramItem element ) : void

Private Methods

Method Description
ExpandAnnotated ( DiagramItem parentDiagramElement, XMLSchema annotated, string nameSpace ) : void
ExpandComplexType ( DiagramItem parentDiagramElement, XMLSchema complexTypeElement ) : void
ExpandOneLevel ( DiagramItem parentItem ) : void
GetChildrenInfo ( XMLSchema complexTypeElement, bool &hasChildren, bool &isSimpleType ) : void

Method Details

Add() public method

public Add ( XMLSchema childElement, string nameSpace ) : DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddAny() public method

public AddAny ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddComplexType() public method

public AddComplexType ( DiagramItem parentDiagramElement, XMLSchema childElement, bool isReference, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childElement XMLSchema
isReference bool
nameSpace string
return DiagramItem

AddComplexType() public method

public AddComplexType ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddComplexType() public method

public AddComplexType ( XMLSchema childElement, string nameSpace ) : DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddCompositors() public method

public AddCompositors ( DiagramItem parentDiagramElement, XMLSchema childGroup, DiagramItemGroupType type, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childGroup XMLSchema
type DiagramItemGroupType
nameSpace string
return DiagramItem

AddCompositors() public method

public AddCompositors ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddCompositors() public method

public AddCompositors ( XMLSchema childElement, string nameSpace ) : DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddElement() public method

public AddElement ( DiagramItem parentDiagramElement, XMLSchema childElement, string nameSpace ) : DiagramItem
parentDiagramElement DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

AddElement() public method

public AddElement ( XMLSchema childElement, string nameSpace ) : DiagramItem
childElement XMLSchema
nameSpace string
return DiagramItem

Clear() public method

public Clear ( ) : void
return void

Diagram() public method

public Diagram ( ) : System
return System

ExpandChildren() public method

public ExpandChildren ( DiagramItem parentDiagramElement ) : void
parentDiagramElement DiagramItem
return void

ExpandOneLevel() public method

public ExpandOneLevel ( ) : void
return void

HitTest() public method

public HitTest ( Point point, DiagramItem &element, DiagramHitTestRegion &region ) : void
point Point
element DiagramItem
region DiagramHitTestRegion
return void

Layout() public method

public Layout ( Graphics g ) : void
g System.Drawing.Graphics
return void

Remove() public method

public Remove ( DiagramItem element ) : void
element DiagramItem
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void

ScaleInt() public method

public ScaleInt ( int integer ) : int
integer int
return int

ScalePoint() public method

public ScalePoint ( Point point ) : Point
point Point
return Point

ScaleRectangle() public method

public ScaleRectangle ( Rectangle rectangle ) : Rectangle
rectangle System.Drawing.Rectangle
return System.Drawing.Rectangle

ScaleSize() public method

public ScaleSize ( Size point ) : Size
point System.Drawing.Size
return System.Drawing.Size

SelectElement() public method

public SelectElement ( DiagramItem element ) : void
element DiagramItem
return void