C# Class touchvg.core.CmdObserverDefault

Inheritance: CmdObserver
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Méthodes publiques

Méthode Description
CmdObserverDefault ( ) : System
Dispose ( ) : void
addShapeActions ( MgMotion arg0, Ints arg1, int n, MgShape arg3 ) : int
createCommand ( MgMotion sender, string name ) : MgCommand
createShape ( MgMotion sender, int type ) : MgBaseShape
doAction ( MgMotion sender, int action ) : bool
doEndAction ( MgMotion sender, int action ) : bool
drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
onDocLoaded ( MgMotion sender ) : void
onEnterSelectCommand ( MgMotion sender ) : void
onShapeAdded ( MgMotion sender, MgShape sp ) : void
onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
onShapeDeleted ( MgMotion sender, MgShape sp ) : void
onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
onUnloadCommands ( MgCmdManager sender ) : void
selectActionsNeedHided ( MgMotion sender ) : bool

Private Methods

Méthode Description
CmdObserverDefault ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectoraddShapeActions ( IntPtr arg0, IntPtr arg1, int n, IntPtr arg3 ) : int
SwigDirectorcreateCommand ( IntPtr sender, string name ) : IntPtr
SwigDirectorcreateShape ( IntPtr sender, int type ) : IntPtr
SwigDirectordoAction ( IntPtr sender, int action ) : bool
SwigDirectordoEndAction ( IntPtr sender, int action ) : bool
SwigDirectordrawInSelectCommand ( IntPtr sender, IntPtr sp, int handleIndex, IntPtr gs ) : void
SwigDirectordrawInShapeCommand ( IntPtr sender, IntPtr cmd, IntPtr gs ) : void
SwigDirectoronDocLoaded ( IntPtr sender ) : void
SwigDirectoronEnterSelectCommand ( IntPtr sender ) : void
SwigDirectoronShapeAdded ( IntPtr sender, IntPtr sp ) : void
SwigDirectoronShapeCanRotated ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanTransform ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanUngroup ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanUnlock ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeDeleted ( IntPtr sender, IntPtr sp ) : void
SwigDirectoronShapeMoved ( IntPtr sender, IntPtr sp, int segment ) : void
SwigDirectoronShapeWillAdded ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeWillDeleted ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronUnloadCommands ( IntPtr sender ) : void
SwigDirectorselectActionsNeedHided ( IntPtr sender ) : bool
getCPtr ( CmdObserverDefault obj ) : HandleRef

Method Details

CmdObserverDefault() public méthode

public CmdObserverDefault ( ) : System
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

addShapeActions() public méthode

public addShapeActions ( MgMotion arg0, Ints arg1, int n, MgShape arg3 ) : int
arg0 MgMotion
arg1 Ints
n int
arg3 MgShape
Résultat int

createCommand() public méthode

public createCommand ( MgMotion sender, string name ) : MgCommand
sender MgMotion
name string
Résultat MgCommand

createShape() public méthode

public createShape ( MgMotion sender, int type ) : MgBaseShape
sender MgMotion
type int
Résultat MgBaseShape

doAction() public méthode

public doAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
Résultat bool

doEndAction() public méthode

public doEndAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
Résultat bool

drawInSelectCommand() public méthode

public drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
sender MgMotion
sp MgShape
handleIndex int
gs GiGraphics
Résultat void

drawInShapeCommand() public méthode

public drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
sender MgMotion
cmd MgCommand
gs GiGraphics
Résultat void

onDocLoaded() public méthode

public onDocLoaded ( MgMotion sender ) : void
sender MgMotion
Résultat void

onEnterSelectCommand() public méthode

public onEnterSelectCommand ( MgMotion sender ) : void
sender MgMotion
Résultat void

onShapeAdded() public méthode

public onShapeAdded ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
Résultat void

onShapeCanRotated() public méthode

public onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanTransform() public méthode

public onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanUngroup() public méthode

public onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeCanUnlock() public méthode

public onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeDeleted() public méthode

public onShapeDeleted ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
Résultat void

onShapeMoved() public méthode

public onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
sender MgMotion
sp MgShape
segment int
Résultat void

onShapeWillAdded() public méthode

public onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onShapeWillDeleted() public méthode

public onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
Résultat bool

onUnloadCommands() public méthode

public onUnloadCommands ( MgCmdManager sender ) : void
sender MgCmdManager
Résultat void

selectActionsNeedHided() public méthode

public selectActionsNeedHided ( MgMotion sender ) : bool
sender MgMotion
Résultat bool