SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Day 3
Exploring Layouts and
Providers
Senthil Kumar
Srinivasan
Work Smart Not hard …..

UI Development is not
about making the screens
look better also we need
to know about the
container and layout
other wise …
Containers
Containers can hold other containers( Nested Containers ) or
controls
 2 categories of containers
 layout containers : control sizing / Positioning of their
children
 Navigator containers : control user movement / navigation
among multiple child containers
Flex offers wide variety of container
 canvas , Panel, Title, Title window , H box and Vbox
Flex layout and Containers
 Vertical - lays out each child component vertically from
the top of the application to the bottom in the specified
order.
 Horizontal - lays out each child component horizontally
from the left of the application to the right in the specified
order.
 Absolute - Absolute positioning does no automatic
layout and requires you to explicitly define the location of
each child component.
Horizontal layout
Padding Top
Padding Right
Gap

Gap

Padding Left

Padding Bottom
Vertical Align

Top

Middle

Bottom

Horizontal Align

Left

Center

Right
Vertical Layout

Horizontal Align

Padding Top

Padding
Left

Padding
Right
Gap

Left

Center

Right

Vertical Align
Gap

Padding Bottom

Top

Middle

Bottom
Canvas container - absolute positioning
 Canvas is the only container that lets you explicitly specify
the location of its children within the container.


Canvas has only one layout value – absolute.

 Use the x and y properties of child components for pixelperfect layouts
 If the display window is resized, the child components stay
fixed in place and may appear cut off.
Absolute Layout – canvas
Displaying the data using lists of items
Flex provides a number of sophisticated list controls that
simplify the display of list data (e.g. displays typically
found on store sites, photo browser sites, etc
 DataGrid

 Item renderers
 Lists
 TileList
Flex list-based controls function similarly to the select form
element in HTML.

Data Providers provide a useful interface for populating lists
with data
Don't use Repeaters to generate components for large
amounts of data.
Customize the display of List data by using Item Renderers.
Features include:

Resizeable columns
Customizable columns and row headers

Editable
Multiple modes of selection

Use of custom item renderer
Paging of data

Drag and drop capability
Item Renderers
Each list-based control has a default item renderer. There are three
types of custom item renderers
 Inline - For complete control over item rendering. Use
<mx:Component> tag
 Component - Custom components written in MXML or
ActionScript used as Item renderer
Lists
The List control displays a vertical list of items. Features include:
Items displayed are contained within the dataProvider property
Custom item renderers can be specified
Custom item editors can also be used
Single or multiple items can be selected
The HorizontalList, TileList, DataGrid, Menu, and Tree controls all
inherit from the List control
TileList
The TileList control displays a number of items laid out in tiles.
1.The items are tiled in vertical columns or horizontal rows.
2.Specify the size of the tiles by using the rowHeight or
columnWidth properties
3.The default item renderer displays text and an icon

4.Custom item renderers can be used for more complex item
displays
5.The user can interact with the items being displayed
Multi-page applications
Subtopics:





Accordion
TabBar and LinkBar
TabNavigator
ViewStack

 1.To show different "pages" or "screens", use a ViewStack-style
control.
 2.A ViewStack is similar to the common UI element Tab Panel
 3.Each ViewStack page is loaded at start, so if you're loading a
lot of data, you'll need to implement Lazy loading.
Accordion
 An Accordion is a navigator container that displays its
children containers as a series of panels

 Only one panel or pleat displays at a time
 Users navigate by clicking a pleat
 The selectedIndex property contains the current active
panel index
TabBar

 A TabBar defines a vertical or horizontal row of tabs
that control a ViewStack container
 A LinkBar defines a vertical or horizontal row of links
that control a ViewStack container
 Bind the ViewStack id to the dataProvider property of
the LinkBar or TabBar control
View Stack :
A ViewStack is a navigator container that contains other
child containers stacked on top of each other like a deck of
cards.

 Only one child container can be visible or active at a time
 There is no built-in mechanism to switch between child
containers
 You can create your own logic to manage active views or
use a LinkBar, TabBar, ButtonBar, or ToggleButtonBar control

 The ViewStack's child containers are indexed from 0 to n-1
Creating view states
In general, a state is understood as a situation or a
condition of an object.

@ Which Place we need to Use : Consider for example an application which lets you
choose from many phones to select one for yourself. Such
an application can have two states for the phone display.
One state displays minimal details about the phone. If the
user is interested in the phone he can click on the display to
go another display state containing more details.
Exploring Layouts and Providers

Weitere ähnliche Inhalte

Was ist angesagt?

Dataweavewithflowreflookup
DataweavewithflowreflookupDataweavewithflowreflookup
Dataweavewithflowreflookuphimajareddys
 
Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.Yogesh Chandr
 
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)Abdul Rafay
 
What’s new in Visual Studio 2010
What’s new in Visual Studio 2010What’s new in Visual Studio 2010
What’s new in Visual Studio 2010Sandun Perera
 
Creating Single Page Applications with Oracle Apex
Creating Single Page Applications with Oracle ApexCreating Single Page Applications with Oracle Apex
Creating Single Page Applications with Oracle ApexDick Dral
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentalsAmit Sharma
 
Intro To Asp Net And Web Forms
Intro To Asp Net And Web FormsIntro To Asp Net And Web Forms
Intro To Asp Net And Web FormsSAMIR BHOGAYTA
 
New Features of ASP.NET 4.0
New Features of ASP.NET 4.0New Features of ASP.NET 4.0
New Features of ASP.NET 4.0Buu Nguyen
 
Introduction to apex code
Introduction to apex codeIntroduction to apex code
Introduction to apex codeEdwinOstos
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interfaceAmit Sharma
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentalsGopal Ji Singh
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraGajanand Bohra
 
Developing a Web Page
Developing a Web PageDeveloping a Web Page
Developing a Web PageFrank Fucile
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migrationAmit Sharma
 

Was ist angesagt? (20)

Dataweavewithflowreflookup
DataweavewithflowreflookupDataweavewithflowreflookup
Dataweavewithflowreflookup
 
MVC Training Part 1
MVC Training Part 1MVC Training Part 1
MVC Training Part 1
 
Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.
 
Web forms in ASP.net
Web forms in ASP.netWeb forms in ASP.net
Web forms in ASP.net
 
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)
Installing Oracle 11g and Oracle Apex 5.1 ( Easy Way To install)
 
What’s new in Visual Studio 2010
What’s new in Visual Studio 2010What’s new in Visual Studio 2010
What’s new in Visual Studio 2010
 
Creating Single Page Applications with Oracle Apex
Creating Single Page Applications with Oracle ApexCreating Single Page Applications with Oracle Apex
Creating Single Page Applications with Oracle Apex
 
Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentals
 
Intro To Asp Net And Web Forms
Intro To Asp Net And Web FormsIntro To Asp Net And Web Forms
Intro To Asp Net And Web Forms
 
New Features of ASP.NET 4.0
New Features of ASP.NET 4.0New Features of ASP.NET 4.0
New Features of ASP.NET 4.0
 
Introduction to apex code
Introduction to apex codeIntroduction to apex code
Introduction to apex code
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interface
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentals
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
 
Developing a Web Page
Developing a Web PageDeveloping a Web Page
Developing a Web Page
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migration
 
Tutorial 1
Tutorial 1Tutorial 1
Tutorial 1
 

Ähnlich wie Exploring Layouts and Providers

Introduction to silverlight control 3
Introduction to silverlight control  3Introduction to silverlight control  3
Introduction to silverlight control 3msarangam
 
Combo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.pptCombo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.pptUjwala Junghare
 
Android and IOS UI Development (Android 5.0 and iOS 9.0)
Android and IOS UI Development (Android 5.0 and iOS 9.0)Android and IOS UI Development (Android 5.0 and iOS 9.0)
Android and IOS UI Development (Android 5.0 and iOS 9.0)Michael Shrove
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01Ankit Dubey
 
Building a simple user interface lesson2
Building a simple user interface lesson2Building a simple user interface lesson2
Building a simple user interface lesson2Kalluri Vinay Reddy
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01JONDHLEPOLY
 
Oracle 10g Forms Lesson 6
Oracle 10g Forms Lesson  6Oracle 10g Forms Lesson  6
Oracle 10g Forms Lesson 6KAMA3
 
Adobe Flex Introduction
Adobe Flex IntroductionAdobe Flex Introduction
Adobe Flex IntroductionAmal Biswas
 
Basics of expression blend4
Basics of expression blend4Basics of expression blend4
Basics of expression blend4Samson Tennela
 
Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)NexThoughts Technologies
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Shyamala Prayaga
 
Lecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptxLecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptxGevitaChinnaiah
 

Ähnlich wie Exploring Layouts and Providers (20)

Introduction to silverlight control 3
Introduction to silverlight control  3Introduction to silverlight control  3
Introduction to silverlight control 3
 
Combo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.pptCombo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.ppt
 
Android and IOS UI Development (Android 5.0 and iOS 9.0)
Android and IOS UI Development (Android 5.0 and iOS 9.0)Android and IOS UI Development (Android 5.0 and iOS 9.0)
Android and IOS UI Development (Android 5.0 and iOS 9.0)
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01
 
Building a simple user interface lesson2
Building a simple user interface lesson2Building a simple user interface lesson2
Building a simple user interface lesson2
 
A complete guide to flexbox
A complete guide to flexboxA complete guide to flexbox
A complete guide to flexbox
 
layout and UI.pptx
layout and UI.pptxlayout and UI.pptx
layout and UI.pptx
 
Ui 5
Ui   5Ui   5
Ui 5
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01
 
Oracle 10g Forms Lesson 6
Oracle 10g Forms Lesson  6Oracle 10g Forms Lesson  6
Oracle 10g Forms Lesson 6
 
Les06
Les06Les06
Les06
 
Adobe Flex Introduction
Adobe Flex IntroductionAdobe Flex Introduction
Adobe Flex Introduction
 
unit3.2 (1).pptx
unit3.2 (1).pptxunit3.2 (1).pptx
unit3.2 (1).pptx
 
Hello Android
Hello AndroidHello Android
Hello Android
 
Basics of expression blend4
Basics of expression blend4Basics of expression blend4
Basics of expression blend4
 
Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)
 
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
 
Lecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptxLecture 2 Styling and Layout in React Native.pptx
Lecture 2 Styling and Layout in React Native.pptx
 
iOS Development (Part 2)
iOS Development (Part 2)iOS Development (Part 2)
iOS Development (Part 2)
 
4. listbox
4. listbox4. listbox
4. listbox
 

Mehr von senthil0809

First look on python
First look on pythonFirst look on python
First look on pythonsenthil0809
 
Enterprise search with apache solr
Enterprise search with apache solrEnterprise search with apache solr
Enterprise search with apache solrsenthil0809
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R langsenthil0809
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreducesenthil0809
 
Big data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'sBig data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'ssenthil0809
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )senthil0809
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction senthil0809
 
Multi Touch presentation
Multi Touch presentationMulti Touch presentation
Multi Touch presentationsenthil0809
 

Mehr von senthil0809 (8)

First look on python
First look on pythonFirst look on python
First look on python
 
Enterprise search with apache solr
Enterprise search with apache solrEnterprise search with apache solr
Enterprise search with apache solr
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R lang
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreduce
 
Big data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'sBig data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner's
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction
 
Multi Touch presentation
Multi Touch presentationMulti Touch presentation
Multi Touch presentation
 

Kürzlich hochgeladen

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Kürzlich hochgeladen (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Exploring Layouts and Providers

  • 1. Day 3 Exploring Layouts and Providers Senthil Kumar Srinivasan
  • 2. Work Smart Not hard ….. UI Development is not about making the screens look better also we need to know about the container and layout other wise …
  • 3. Containers Containers can hold other containers( Nested Containers ) or controls  2 categories of containers  layout containers : control sizing / Positioning of their children  Navigator containers : control user movement / navigation among multiple child containers Flex offers wide variety of container  canvas , Panel, Title, Title window , H box and Vbox
  • 4. Flex layout and Containers
  • 5.  Vertical - lays out each child component vertically from the top of the application to the bottom in the specified order.  Horizontal - lays out each child component horizontally from the left of the application to the right in the specified order.  Absolute - Absolute positioning does no automatic layout and requires you to explicitly define the location of each child component.
  • 6. Horizontal layout Padding Top Padding Right Gap Gap Padding Left Padding Bottom Vertical Align Top Middle Bottom Horizontal Align Left Center Right
  • 7. Vertical Layout Horizontal Align Padding Top Padding Left Padding Right Gap Left Center Right Vertical Align Gap Padding Bottom Top Middle Bottom
  • 8. Canvas container - absolute positioning  Canvas is the only container that lets you explicitly specify the location of its children within the container.  Canvas has only one layout value – absolute.  Use the x and y properties of child components for pixelperfect layouts  If the display window is resized, the child components stay fixed in place and may appear cut off.
  • 10.
  • 11.
  • 12. Displaying the data using lists of items Flex provides a number of sophisticated list controls that simplify the display of list data (e.g. displays typically found on store sites, photo browser sites, etc  DataGrid  Item renderers  Lists  TileList
  • 13. Flex list-based controls function similarly to the select form element in HTML. Data Providers provide a useful interface for populating lists with data Don't use Repeaters to generate components for large amounts of data. Customize the display of List data by using Item Renderers.
  • 14. Features include: Resizeable columns Customizable columns and row headers Editable Multiple modes of selection Use of custom item renderer Paging of data Drag and drop capability
  • 15.
  • 16. Item Renderers Each list-based control has a default item renderer. There are three types of custom item renderers  Inline - For complete control over item rendering. Use <mx:Component> tag  Component - Custom components written in MXML or ActionScript used as Item renderer
  • 17.
  • 18.
  • 19. Lists The List control displays a vertical list of items. Features include: Items displayed are contained within the dataProvider property Custom item renderers can be specified Custom item editors can also be used Single or multiple items can be selected The HorizontalList, TileList, DataGrid, Menu, and Tree controls all inherit from the List control
  • 20.
  • 21. TileList The TileList control displays a number of items laid out in tiles. 1.The items are tiled in vertical columns or horizontal rows. 2.Specify the size of the tiles by using the rowHeight or columnWidth properties 3.The default item renderer displays text and an icon 4.Custom item renderers can be used for more complex item displays 5.The user can interact with the items being displayed
  • 22.
  • 23. Multi-page applications Subtopics:     Accordion TabBar and LinkBar TabNavigator ViewStack  1.To show different "pages" or "screens", use a ViewStack-style control.  2.A ViewStack is similar to the common UI element Tab Panel  3.Each ViewStack page is loaded at start, so if you're loading a lot of data, you'll need to implement Lazy loading.
  • 24. Accordion  An Accordion is a navigator container that displays its children containers as a series of panels  Only one panel or pleat displays at a time  Users navigate by clicking a pleat  The selectedIndex property contains the current active panel index
  • 25.
  • 26. TabBar  A TabBar defines a vertical or horizontal row of tabs that control a ViewStack container  A LinkBar defines a vertical or horizontal row of links that control a ViewStack container  Bind the ViewStack id to the dataProvider property of the LinkBar or TabBar control
  • 27.
  • 28. View Stack : A ViewStack is a navigator container that contains other child containers stacked on top of each other like a deck of cards.  Only one child container can be visible or active at a time  There is no built-in mechanism to switch between child containers  You can create your own logic to manage active views or use a LinkBar, TabBar, ButtonBar, or ToggleButtonBar control  The ViewStack's child containers are indexed from 0 to n-1
  • 29.
  • 30. Creating view states In general, a state is understood as a situation or a condition of an object. @ Which Place we need to Use : Consider for example an application which lets you choose from many phones to select one for yourself. Such an application can have two states for the phone display. One state displays minimal details about the phone. If the user is interested in the phone he can click on the display to go another display state containing more details.