C# Class Uiml.Rendering.WXnet.WxRenderer

Inheritance: Uiml.Rendering.Renderer, IPropertySetter
Afficher le fichier Open project: jozilla/Uiml.net

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat System.Object

LoadAdHocProperties() protected méthode

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
Résultat System.Object

PreRender() public méthode

public PreRender ( UimlDocument uimlDoc ) : IRenderedInstance
uimlDoc UimlDocument
Résultat IRenderedInstance

WxRenderer() public méthode

public WxRenderer ( ) : System
Résultat System