Below is a brief introduction which gives you a walkover of the features and the nature of Mobile applications developed using Flemil. We will go through all the controls and features available with Flemil.
Every component that can be displayed on the screen is termed as an Item in Flemil. An item is
responsible for its own repainting and should also be able to provide values for its minimum possible
display retangle dimensions. Items usually receive events such as key pressed from their parents and
either pass then on to their children or handle them themselves. If an Item cannot handle an event,
it should pass the event back to the parent so that the parent can deal with the event.
You can develop your own Item by implementig the item interface or by extending some of the
classes that might have provided implementations for some of the features you require.
This is the class that has overall control of the application and you use this class to acquire resources or features that apply to the whole application from anywhere in your applications code. This way we eliminate the need to instantiate resources more than once and encourage reuse. This class has methods that allow you to access the various features of the application such as the Style that is being currently used by the application and the various images being used for various parts of the application such as title backgrounds and menu bar background.
A window represents any component that has a title, body and an associated menu. It is not compulsory for a window to have a MenuBar since some Windows such as Popup windows make use fo their parent window's menubar for displaying their menu options.
A Style is the class that represent the theme of an application. It has a hashmap-like representation of the varuious features that are available to the applications appearance such as text items foreground color and all the othr attributes that can be set in a theme.
As you would expect a Panel is a container that contains ither items. You can have panels containing other Panels and so on. The Panel has layout and alignment attribute setting methods which gives you good control of how the components are laid out in your application. A Panel can also have both vertical and horizontal scrolling. Verticle scrolling is always enabled and happened only when necessary but horizontal scrolling has to be enabled
A Grid is a class that presents Items on eh screen in a tabular layout. The rows of the Grid as well as the must have the same size which is determined by the size of the largest Item in the Grid. A grid can be very useful for laying ut forms and other components such as images and the rest. The component within a Grid can be any Items including other Grids as well as Panels or just low lwvel components such as TextFields.
A list is a class that represents Items that have been laid out fro top to bottom and where only one item can be selected at a time. A list Item is any Item from a Panel containing other Items in it or just a single plain Item. A list can only be able to select one item at a time. To create Exclusive or Inclusive mode list, please make use of radio buttons and Checkboxes and the ChoiceGroup classes