C# Class Editor.Source_Files.Views.EntityEditorView

显示文件 Open project: LauriM/PropellerEngine Class Usage Examples

Public Properties

Property Type Description
nameBox System.Windows.Forms.TextBox

Public Methods

Method Description
EntityEditorView ( MainViewBase root, IntPtr inst, uint i, String name, EntityEditTargetType type ) : System
addComponent ( uint handleid, String component ) : void
addComponentClassNameToList ( ComponentInfo component ) : void
getId ( ) : uint
getTargetType ( ) : EntityEditTargetType
removeComponent ( uint handleid ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

TypeEditorView_FormClosed ( object sender, FormClosedEventArgs e ) : void
addComponentButton_Click ( object sender, EventArgs e ) : void
componentTreeView_KeyDown ( object sender, KeyEventArgs e ) : void
componentTreeView_MouseUp_1 ( object sender, MouseEventArgs e ) : void
editComponentSourceButton_Click ( object sender, EventArgs e ) : void
nameBox_KeyUp ( object sender, KeyEventArgs e ) : void
nameBox_Leave ( object sender, EventArgs e ) : void
removeAllComponents ( ) : void
setEntityType ( string entityType ) : void
tryUpdateName ( ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EntityEditorView() public method

public EntityEditorView ( MainViewBase root, IntPtr inst, uint i, String name, EntityEditTargetType type ) : System
root MainViewBase
inst IntPtr
i uint
name String
type EntityEditTargetType
return System

addComponent() public method

public addComponent ( uint handleid, String component ) : void
handleid uint
component String
return void

addComponentClassNameToList() public method

public addComponentClassNameToList ( ComponentInfo component ) : void
component ComponentInfo
return void

getId() public method

public getId ( ) : uint
return uint

getTargetType() public method

public getTargetType ( ) : EntityEditTargetType
return EntityEditTargetType

removeComponent() public method

public removeComponent ( uint handleid ) : void
handleid uint
return void

Property Details

nameBox public_oe property

public System.Windows.Forms.TextBox nameBox
return System.Windows.Forms.TextBox