C# 클래스 Uiml.Rendering.Renderer

This class implements widget set independent behavior for the widget set specific backends. It implements the general core (widget creation, applying properties on widgets) of the rendering backends.
상속: IRenderer
파일 보기 프로젝트 열기: jozilla/Uiml.net

보호된 프로퍼티들

프로퍼티 타입 설명
m_stopOnError bool

공개 메소드들

메소드 설명
ApplyProperty ( Part part, System.Property prop ) : void

This is the implementation of the method specified in the IPropertySetter Interface For now it is implemented in the rendering engine itself, but when it becomes too complex the IPropertySetter implementation will be isolated from this rendering class.

If part is null, the top part will be assumed

GetMemberInfo ( string setter, Type classType, Part part, System.Property p ) : MemberInfo
GetMethodWithRightParameters ( DParam dparams, MethodInfo methods ) : MethodInfo
PreRender ( UimlDocument uimlDoc ) : IRenderedInstance
Render ( UimlDocument uimlDoc ) : IRenderedInstance
Renderer ( ) : Uiml

보호된 메소드들

메소드 설명
ApplyProperties ( System uiObject, Part part, Style style ) : Object

Applies several properties to an individual concrete widget instance. It implements two stages: - In the first stage the widget properties are applied completely dynamic: relying on the reflection mechanisms the Style properties are queried and loaded - When the first stage fails, another method is called using ad hoc knowledge about the widget and its properties

LoadAdHocProperties ( System &uiObject, Part part, Style s ) : Object
LoadAdHocPropertiesAfter ( System &uiObject, Part part, Style s ) : Object

Used to set ad-hoc properties after the other properties have been set.

ResolveProperty ( Type baseT, String newT, Type &retType, System &nextValue ) : MemberInfo

Dissects the method information for a specific property

SearchMembers ( Type t, string setter ) : System.Reflection.MemberInfo[]

비공개 메소드들

메소드 설명
AddDefaultProperties ( Part part, Style style ) : void
ApplyProperty ( System &uiObject, System.Property p, Part part, Type tclassType ) : Object

This method sets the concrete property on a concrete widget. It is the most important method to get the defined properties reflected in the User Interface

InvokeMethod ( System targetObject, Part part, System.Property prop, MethodInfo mInfo ) : void

Invokes the method "setter" that sets the value of the property prop for the object targetObject

LoadClassProperties ( System &uiObject, Part part, Style style ) : Object

Loads the class properties available in style for the gtkObject widget

LoadNamedProperties ( System &uiObject, Part part, Style style ) : Object

Loads the named properties available in style for the gtkObject widget

LoadPartProperties ( System &uiObject, Part part ) : Object
SetProperty ( System targetObject, System.Property prop, PropertyInfo pInfo ) : void

Sets the value of property p for the object targetobject

메소드 상세

ApplyProperties() 보호된 메소드

Applies several properties to an individual concrete widget instance. It implements two stages: - In the first stage the widget properties are applied completely dynamic: relying on the reflection mechanisms the Style properties are queried and loaded - When the first stage fails, another method is called using ad hoc knowledge about the widget and its properties
protected ApplyProperties ( System uiObject, Part part, Style style ) : Object
uiObject System
part Part
style Uiml.Style
리턴 System.Object

ApplyProperty() 공개 메소드

This is the implementation of the method specified in the IPropertySetter Interface For now it is implemented in the rendering engine itself, but when it becomes too complex the IPropertySetter implementation will be isolated from this rendering class.
If part is null, the top part will be assumed
public ApplyProperty ( Part part, System.Property prop ) : void
part Part The part on which prop will be applied
prop System.Property the property that will be applied
리턴 void

GetMemberInfo() 공개 메소드

public GetMemberInfo ( string setter, Type classType, Part part, System.Property p ) : MemberInfo
setter string
classType System.Type
part Part
p System.Property
리턴 System.Reflection.MemberInfo

GetMethodWithRightParameters() 공개 메소드

public GetMethodWithRightParameters ( DParam dparams, MethodInfo methods ) : MethodInfo
dparams DParam
methods System.Reflection.MethodInfo
리턴 System.Reflection.MethodInfo

LoadAdHocProperties() 추상적인 보호된 메소드

abstract protected LoadAdHocProperties ( System &uiObject, Part part, Style s ) : Object
uiObject System
part Part
s Uiml.Style
리턴 System.Object

LoadAdHocPropertiesAfter() 보호된 메소드

Used to set ad-hoc properties after the other properties have been set.
protected LoadAdHocPropertiesAfter ( System &uiObject, Part part, Style s ) : Object
uiObject System
part Part
s Uiml.Style
리턴 System.Object

PreRender() 추상적인 공개 메소드

abstract public PreRender ( UimlDocument uimlDoc ) : IRenderedInstance
uimlDoc UimlDocument
리턴 IRenderedInstance

Render() 공개 메소드

public Render ( UimlDocument uimlDoc ) : IRenderedInstance
uimlDoc UimlDocument
리턴 IRenderedInstance

Renderer() 공개 메소드

public Renderer ( ) : Uiml
리턴 Uiml

ResolveProperty() 보호된 메소드

Dissects the method information for a specific property
protected ResolveProperty ( Type baseT, String newT, Type &retType, System &nextValue ) : MemberInfo
baseT System.Type
newT String
retType System.Type
nextValue System
리턴 System.Reflection.MemberInfo

SearchMembers() 보호된 메소드

protected SearchMembers ( Type t, string setter ) : System.Reflection.MemberInfo[]
t System.Type
setter string
리턴 System.Reflection.MemberInfo[]

프로퍼티 상세

m_stopOnError 보호되어 있는 프로퍼티

protected bool m_stopOnError
리턴 bool