C# Class Uiml.Rendering.GTKsharp.GtkRenderer

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

Méthodes publiques

Свойство Type Description
LAYOUT string[]

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.

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

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

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

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

GtkRenderer() public méthode

public GtkRenderer ( ) : System
Résultat System

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

LoadAdHocPropertiesAfter() protected méthode

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

PreRender() public méthode

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

Property Details

LAYOUT public_oe property

public string[] LAYOUT
Résultat string[]