C# Class Uiml.Rendering.WXnet.WxRenderer

Inheritance: Uiml.Rendering.Renderer, IPropertySetter
Show file Open project: jozilla/Uiml.net

Public Methods

Method Description
GetValue ( Part part, System.Property prop ) : Object

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==null, the property will be retrieved fro the first matching part found starting from the top-part in first-order.

PreRender ( UimlDocument uimlDoc ) : IRenderedInstance
WxRenderer ( ) : System

Protected Methods

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

Applies several properties to an individual concrete widget instance relying on hard-coded knowledge about the widgets

Private Methods

Method Description
CreateLayoutWithParams ( Type classType, Part uiPart, Style uiStyle ) : Object

This method is used when the classType does not contain a parameterless constructor. It searches for the first constructor that ``fits'' and according to the defined Style in uiStyle for the uiPart.

CreateWithParams ( Type classType, Part uiPart, Style uiStyle, Window parent ) : Window

This method is used when the classType does not contain a parameterless constructor. It searches for the first constructor that ``fits'' and according to the defined Style in uiStyle for the uiPart.

Render ( Part uiPart, Style uiStyle, Window parent ) : Window

This is the ``core'' rendering method. It will recursively descend into the Part hierarchy and using the .net reflection mechanisms to create the appropriate widgets

Method Details

GetValue() public method

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==null, the property will be retrieved fro the first matching part found starting from the top-part in first-order.
public GetValue ( Part part, System.Property prop ) : Object
part Part
prop System.Property
return System.Object

LoadAdHocProperties() protected method

Applies several properties to an individual concrete widget instance relying on hard-coded knowledge about the widgets
protected LoadAdHocProperties ( System &uiObject, Part part, Style s ) : Object
uiObject System
part Part
s Uiml.Style
return System.Object

PreRender() public method

public PreRender ( UimlDocument uimlDoc ) : IRenderedInstance
uimlDoc UimlDocument
return IRenderedInstance

WxRenderer() public method

public WxRenderer ( ) : System
return System