C# Class CADability.NamedValuesProperty

Inheritance: IShowPropertyImpl, ICommandHandler, ISerializable
Datei anzeigen Open project: SOFAgh/CADability Class Usage Examples

Public Methods

Method Description
GetCode ( ) : string
GetNamedValue ( string name ) : object
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Implements ISerializable.GetObjectData

NamedValuesProperty ( ) : CADability.UserInterface
OnCommand ( string MenuId ) : bool
OnUpdateCommand ( string MenuId, CommandState CommandState ) : bool
SetNamedValue ( string name, object val ) : void

Protected Methods

Method Description
NamedValuesProperty ( SerializationInfo info, StreamingContext context ) : CADability.UserInterface

Constructor required by deserialization

Private Methods

Method Description
FindEntry ( string name ) : IPropertyEntry
GetUniqueName ( string prefix ) : string
ICommandHandler ( MenuWithHandler selectedMenuItem, bool selected ) : void
InsertDouble ( ) : void
InsertGeoPoint ( ) : void
InsertGeoVector ( ) : void
OnGeoPointLabelChanged ( EditableProperty sender, string newLabel ) : void
OnGeoVectorLabelChanged ( EditableProperty sender, string newLabel ) : void
OnGetGeoPoint ( GeoPointProperty sender ) : GeoPoint
OnGetGeoVector ( GeoVectorProperty sender ) : GeoVector
OnGetLength ( LengthProperty sender ) : double
OnLabelChanged ( string oldName, string newLabel ) : void
OnLengthLabelChanged ( EditableProperty sender, string newLabel ) : void
OnSetGeoPoint ( GeoPointProperty sender, GeoPoint p ) : void
OnSetGeoVector ( GeoVectorProperty sender, GeoVector v ) : void
OnSetLength ( LengthProperty sender, double l ) : void
ReflectNewEntry ( string name ) : void
Remove ( string name ) : void
Rename ( string oldName, string newName ) : void

Method Details

GetCode() public method

public GetCode ( ) : string
return string

GetNamedValue() public method

public GetNamedValue ( string name ) : object
name string
return object

GetObjectData() public method

Implements ISerializable.GetObjectData
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo The to populate with data.
context StreamingContext The destination () for this serialization.
return void

NamedValuesProperty() public method

public NamedValuesProperty ( ) : CADability.UserInterface
return CADability.UserInterface

NamedValuesProperty() protected method

Constructor required by deserialization
protected NamedValuesProperty ( SerializationInfo info, StreamingContext context ) : CADability.UserInterface
info SerializationInfo SerializationInfo
context StreamingContext StreamingContext
return CADability.UserInterface

OnCommand() public method

public OnCommand ( string MenuId ) : bool
MenuId string
return bool

OnUpdateCommand() public method

public OnUpdateCommand ( string MenuId, CommandState CommandState ) : bool
MenuId string
CommandState CommandState
return bool

SetNamedValue() public method

public SetNamedValue ( string name, object val ) : void
name string
val object
return void