C# Class Uiml.Rendering.CompactSWF.CompactSWFEventLinker

Links the events from the concrete widget set with the behavior specified in a UIML document
ファイルを表示 Open project: jozilla/Uiml.net

Public Methods

Method Description
CompactSWFEventLinker ( 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, CompactSWFEventLink 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

Method Details

CompactSWFEventLinker() public method

public CompactSWFEventLinker ( 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, CompactSWFEventLink 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 CompactSWFEventLink
return void