C# Class Treefrog.Framework.Model.ObjectClass

Inheritance: INamedResource, INotifyPropertyChanged, IPropertyProvider
显示文件 Open project: jaquadro/Treefrog Class Usage Examples

Private Properties

Property Type Description
NamePropertyChangedHandler void
ObjectClass System
RaisePropertyChanged void

Public Methods

Method Description
BeginModify ( ) : ResourceReleaser
FromXProxy ( LibraryX proxy, ITexturePool texturePool ) : ObjectClass
ObjectClass ( string name ) : System
ObjectClass ( string name, ObjectClass template ) : System
ObjectClass ( string name, TextureResource image ) : System
ObjectClass ( string name, TextureResource image, Rectangle maskBounds ) : System
ObjectClass ( string name, TextureResource image, Rectangle maskBounds, Point origin ) : System
ResetModified ( ) : void
ToXProxy ( ObjectClass objClass ) : LibraryX.ObjectClassX
TrySetName ( string name ) : bool

Protected Methods

Method Description
OnModified ( EventArgs e ) : void
OnPropertyChanged ( PropertyChangedEventArgs e ) : void
OnPropertyProviderNameChanged ( EventArgs e ) : void

Private Methods

Method Description
NamePropertyChangedHandler ( object sender, EventArgs e ) : void
ObjectClass ( LibraryX proxy, ITexturePool texturePool ) : System
RaisePropertyChanged ( string name ) : void

Method Details

BeginModify() public method

public BeginModify ( ) : ResourceReleaser
return ResourceReleaser

FromXProxy() public static method

public static FromXProxy ( LibraryX proxy, ITexturePool texturePool ) : ObjectClass
proxy LibraryX
texturePool ITexturePool
return ObjectClass

ObjectClass() public method

public ObjectClass ( string name ) : System
name string
return System

ObjectClass() public method

public ObjectClass ( string name, ObjectClass template ) : System
name string
template ObjectClass
return System

ObjectClass() public method

public ObjectClass ( string name, TextureResource image ) : System
name string
image Treefrog.Framework.Imaging.TextureResource
return System

ObjectClass() public method

public ObjectClass ( string name, TextureResource image, Rectangle maskBounds ) : System
name string
image Treefrog.Framework.Imaging.TextureResource
maskBounds Treefrog.Framework.Imaging.Rectangle
return System

ObjectClass() public method

public ObjectClass ( string name, TextureResource image, Rectangle maskBounds, Point origin ) : System
name string
image Treefrog.Framework.Imaging.TextureResource
maskBounds Treefrog.Framework.Imaging.Rectangle
origin Point
return System

OnModified() protected method

protected OnModified ( EventArgs e ) : void
e System.EventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs
return void

OnPropertyProviderNameChanged() protected method

protected OnPropertyProviderNameChanged ( EventArgs e ) : void
e System.EventArgs
return void

ResetModified() public method

public ResetModified ( ) : void
return void

ToXProxy() public static method

public static ToXProxy ( ObjectClass objClass ) : LibraryX.ObjectClassX
objClass ObjectClass
return LibraryX.ObjectClassX

TrySetName() public method

public TrySetName ( string name ) : bool
name string
return bool