Defining Frame Properties
Most frames consist of one or more pages (tabs). The user can switch between tabs to display a particular page. Each tab consists of one or more content panels that can be laid out vertically, horizontally or on a grid. Each content panel can display an HTML page or invoke an AwareIM command and display its results, for example, run a query or start a process. The following picture displays the home page of the CRM sample application. It has the following frames defined – the “top bar” frame at the top showing the toolbar of system operations, the left frame containing the application menu, the status bar at the bottom and the main frame. The main frame consists of several tabs. The currently active tab (Dashboard) consists of 5 content panels each showing the results of different queries, displaying calendar for this month, a list of customers, current alerts etc.
To define how a frame will look like within your visual perspective you need to select the frame you want to edit, define its properties and specify its contents. The following properties of a frame can be specified in the Selection Properties window:
Visible
Tick this checkbox if the frame should be visible in the visual perspective (note that the Main Frame is always visible)
Displays
Certan frames, such as left or right frames, can contain either an application menu or content panels. You can specify what the frame will contain.
Title
Specify the title of the frame. The title will be displayed in a special window at the top of the frame.
Show Borders
Tick this checkbox to display borders around the frame.
Can be resized
Tick this checkbox to allow the user to resize the frame.
Collapsible
Tick this checkbox to allow the user to minimize (“collapse”) the frame by clickling on the special icon. Once the frame is minimized it will be displayed as a narrow window with an icon to restore the frame to its previous size.
Show tab even if it is the only one
If this checkbox is ticked AwareIM will always show a tab even if there is only one tab defined for the frame (if the checkbox is unticked AwareIM will not show tab when there is one tab defined).
Tab bar location
Tabs can be displayed at the top, bottom, left or right of the page.
Mobile style tabs
Tick this option to display tabs in the style appropriate for mobile phones – with big font and with the top icon alignment.
Background
You can specify background properties of the frame. You can either specify the backround color or image or if you are familiar with CSS you can specify advanced background properties using the CSS dialog.
Invisibility condition
You can specify that for certain screen sizes the frame should be invisible. This option is one of the main implementation of the “responsiveness” feature.
This video tutorial describes how to make sure that your AwareIM applications are 'responsive' and look good in different screen sizes.
Initial size, maximum size, minimum size
You can specify the initial size of the frame. If you allow resizing the frame you can also specify maximum and minimum size that the frame can be resized to.