C# Class Uiml.Rendering.GTKsharp.GtkRenderer

Inheritance: Uiml.Rendering.Renderer, IPropertySetter
Datei anzeigen Open project: jozilla/Uiml.net

Public Properties

Property Type Description
LAYOUT string[]

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.

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

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

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

Applies several properties to an individual concrete widget instance relying on hard-coded knowledge about the widgets, after all the other properties have been set first.

Private Methods

Method Description
CreateWithParams ( Type classType, Part uiPart, Style uiStyle ) : Gtk.Widget

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.

DoesLayout ( Type t ) : bool

Checks if Type t is a Type that takes care of layout management

Should be optimized to speed up rendering

Render ( Part uiPart, Style uiStyle ) : Gtk.Widget

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

GtkRenderer() public method

public GtkRenderer ( ) : System
return System

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

LoadAdHocPropertiesAfter() protected method

Applies several properties to an individual concrete widget instance relying on hard-coded knowledge about the widgets, after all the other properties have been set first.
protected LoadAdHocPropertiesAfter ( 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

Property Details

LAYOUT public_oe property

public string[] LAYOUT
return string[]