Fluency Engine

Fluency Engine

Fluency Engine is the module which loads the XML representation of the Fluency Model. Class name: FluencyEngine.java

Note: When we are opening a already existing Fluency file, the Fluency Engine takes the XML file path location as input. When running the engine from the Fluency Editor, the Fluency Editor first converts the Fluency Model into its XML representation and the Fluency Engine takes this XML String and loads the Fluency Application.

Description

Fluency Engine maintains a list of all the Fluency Widgets and their harbors that are present in the XML.
It also has a JComponent , in which all the visual components of the Fluency Widgets present in the XML file are added. What we then see is this view.

Note: Non Visual Fluency Widgets are not added in the view , they are maintained in the globalWidgetList.

Fluency Loader.

Fluency Engine uses the Fluency Loader to parse the XML file (or XML String). Fluency Loader handles all the XML parsing stuff. See Fluency Loader for more details.

Clock.

Fluency Engine maintains a clock which fires all the harbors that are present in XML. For more details on the Clock go through the Fluency Clock section.

Event Handling in Fluency Engine Mode

Events in Fleuncy Engine Mode are governed by the Clock and managed using the Ship-Harbor trade mechanism. For more information on Events are handled go through the Event Handling section.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.