C# Class Uiml.Style

Inheritance: UimlAttributes, IUimlElement, ICloneable
显示文件 Open project: jozilla/Uiml.net Class Usage Examples

Public Methods

Method Description
AddProperty ( System.Property property, Part part ) : void
Clone ( ) : object
GetClassProperties ( string className ) : IEnumerator
GetNamedProperties ( string identifier ) : IEnumerator
GetNamedPropertiesList ( string identifier ) : ArrayList
GetProperties ( string identifier, Param parameters ) : System.Property[]

Get the properties that match the given set of parameters for the identifier.

Process ( XmlNode n ) : void
RemoveProperty ( System.Property p ) : void
SearchMatchingStyle ( Type types, string tparams ) : System.Property
SearchProperty ( string partIdentifier, string partProperty ) : System.Property

Searches for a specific property of a given part

Serialize ( XmlDocument doc ) : XmlNode
Style ( ) : System
Style ( XmlNode n ) : System

Method Details

AddProperty() public method

public AddProperty ( System.Property property, Part part ) : void
property System.Property
part Part
return void

Clone() public method

public Clone ( ) : object
return object

GetClassProperties() public method

public GetClassProperties ( string className ) : IEnumerator
className string
return IEnumerator

GetNamedProperties() public method

public GetNamedProperties ( string identifier ) : IEnumerator
identifier string
return IEnumerator

GetNamedPropertiesList() public method

public GetNamedPropertiesList ( string identifier ) : ArrayList
identifier string
return System.Collections.ArrayList

GetProperties() public method

Get the properties that match the given set of parameters for the identifier.
public GetProperties ( string identifier, Param parameters ) : System.Property[]
identifier string
parameters Param
return System.Property[]

Process() public method

public Process ( XmlNode n ) : void
n System.Xml.XmlNode
return void

RemoveProperty() public method

public RemoveProperty ( System.Property p ) : void
p System.Property
return void

SearchMatchingStyle() public method

public SearchMatchingStyle ( Type types, string tparams ) : System.Property
types System.Type
tparams string
return System.Property

SearchProperty() public method

Searches for a specific property of a given part
public SearchProperty ( string partIdentifier, string partProperty ) : System.Property
partIdentifier string
partProperty string
return System.Property

Serialize() public method

public Serialize ( XmlDocument doc ) : XmlNode
doc System.Xml.XmlDocument
return System.Xml.XmlNode

Style() public method

public Style ( ) : System
return System

Style() public method

public Style ( XmlNode n ) : System
n System.Xml.XmlNode
return System