C# Class Uiml.Rendering.ConditionLinker

Inheritance: IEventLinker
Mostrar archivo Open project: jozilla/Uiml.net Class Usage Examples

Public Methods

Method Description
ConditionLinker ( IRenderer renderer ) : System
Link ( Structure uiStruct, Behavior uiBehavior ) : void

Links the different rules in the behavior with the parts of the structure. This method uses link(Rule, Part) for each rule that is available in the behavior section.

Protected Methods

Method Description
link ( Rule r, Part p ) : void
link ( Rule r, Part p, IEventLink sel ) : void

Searches the parts that are used in the condition of Rule r. Events of a certain type emitted by thow parts are connected to the condition of Rule r so it can be evaluated if such an event occurs

Private Methods

Method Description
LinkEqual ( Object ie, Part part ) : void
LinkEvent ( Object ie, Part part ) : void
LinkOp ( Object ie, Part part ) : void
LinkProperty ( System.Property p, Part part ) : void
PropertyLinked ( string name, string theClass ) : bool

Method Details

ConditionLinker() public method

public ConditionLinker ( IRenderer renderer ) : System
renderer IRenderer
return System

Link() public method

Links the different rules in the behavior with the parts of the structure. This method uses link(Rule, Part) for each rule that is available in the behavior section.
public Link ( Structure uiStruct, Behavior uiBehavior ) : void
uiStruct Structure
uiBehavior Behavior
return void

link() protected method

protected link ( Rule r, Part p ) : void
r Rule
p Part
return void

link() protected method

Searches the parts that are used in the condition of Rule r. Events of a certain type emitted by thow parts are connected to the condition of Rule r so it can be evaluated if such an event occurs
protected link ( Rule r, Part p, IEventLink sel ) : void
r Rule The rule with a condition and action
p Part A part where p itself or one of it subparts will emit events that are of interest ///for the condition of Rule r
sel IEventLink
return void