Tizen Native API  6.0

ItemView class is a scrollable container that can contain many items.

Classes

class  Dali::Toolkit::ItemFactory
 ItemFactory is for providing actors to ItemView. More...
struct  Dali::Toolkit::ItemRange
 A support class for managing ranges of items. More...
class  Dali::Toolkit::ItemLayout
 An ItemLayout describes the constraints which are imposed on items in the layout. More...
class  Dali::Toolkit::ItemView
 ItemView is a scrollable layout container. More...

Namespaces

namespace  Dali::Toolkit::DefaultItemLayoutProperty
 

Default item layout property.


namespace  Dali::Toolkit::DefaultItemLayout
 

Enumeration for default item layout mode.


Enumerations

enum  Dali::Toolkit::DefaultItemLayoutProperty::Property
 The properties of each type of item layout. More...

Typedefs

typedef IntrusivePtr< ItemLayout > Dali::Toolkit::ItemLayoutPtr
 Pointer to a Dali::Toolkit::ItemLayout object.
typedef unsigned int Dali::Toolkit::ItemId
 Unique identity for each item in the view.
typedef std::vector< ItemId > Dali::Toolkit::ItemIdContainer
 Item id container type.
typedef ItemIdContainer::iterator Dali::Toolkit::ItemIdIter
 Item id iterator type.
typedef
ItemIdContainer::const_iterator 
Dali::Toolkit::ConstItemIdIter
 Item id const iterator type.
typedef std::pair< ItemId, Actor > Dali::Toolkit::Item
 Item type.
typedef std::vector< Item > Dali::Toolkit::ItemContainer
 Item container type.
typedef ItemContainer::iterator Dali::Toolkit::ItemIter
 Item iterator type.
typedef
ItemContainer::const_iterator 
Dali::Toolkit::ConstItemIter
 Item const iterator type.

Typedef Documentation

typedef ItemIdContainer::const_iterator Dali::Toolkit::ConstItemIdIter

Item id const iterator type.

Since:
3.0, DALi version 1.0.0
typedef ItemContainer::const_iterator Dali::Toolkit::ConstItemIter

Item const iterator type.

Since:
3.0, DALi version 1.0.0
typedef std::pair<ItemId, Actor> Dali::Toolkit::Item

Item type.

Since:
3.0, DALi version 1.0.0
typedef std::vector<Item> Dali::Toolkit::ItemContainer

Item container type.

Since:
3.0, DALi version 1.0.0
typedef unsigned int Dali::Toolkit::ItemId

Unique identity for each item in the view.

Since:
3.0, DALi version 1.0.0
typedef std::vector<ItemId> Dali::Toolkit::ItemIdContainer

Item id container type.

Since:
3.0, DALi version 1.0.0
typedef ItemIdContainer::iterator Dali::Toolkit::ItemIdIter

Item id iterator type.

Since:
3.0, DALi version 1.0.0
typedef ItemContainer::iterator Dali::Toolkit::ItemIter

Item iterator type.

Since:
3.0, DALi version 1.0.0
typedef IntrusivePtr< ItemLayout > Dali::Toolkit::ItemLayoutPtr

Pointer to a Dali::Toolkit::ItemLayout object.

Since:
3.0, DALi version 1.0.0

Enumeration Type Documentation

The properties of each type of item layout.

Since:
4.0, DALi version 1.2.60
Enumerator:
TYPE 

The type of the Layout.

Name "type", type Dali::Toolkit::DefaultItemLayout::Type (Property::INTEGER).

Since:
4.0, DALi version 1.2.60
Note:
Mandatory.
ITEM_SIZE 

The size of each item in the Layout.

Name "itemSize", type Property::VECTOR3

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, see ItemLayout::GetDefaultItemSize().
ORIENTATION 

The internal orientation of the Layout.

Name "orientation", type Dali::Toolkit::ControlOrientation::Type (Property::INTEGER).

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is ControlOrientation::Up, The contents of control are in a vertical layout, from top to bottom.
GRID_COLUMN_NUMBER 

The number of columns in the GridLayout.

Name "gridColumnNumber", type Property::INTEGER.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 4.
GRID_ROW_SPACING 

The spacing between rows in the GridLayout.

Name "gridRowSpacing", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 20.0f.
GRID_COLUMN_SPACING 

The spacing between columns in the GridLayout.

Name "gridColumnSpacing", type Property::FLOAT

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 20.0f.
GRID_TOP_MARGIN 

The margin in the top of the GridLayout.

Name "gridTopMargin", type Property::FLOAT

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 95.0f.
GRID_BOTTOM_MARGIN 

The margin in the bottom of the GridLayout.

Name "gridBottomMargin", type Property::FLOAT

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 20.0f.
GRID_SIDE_MARGIN 

The margin in the left and right of the GridLayout.

Name "gridSideMargin", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 20.0f.
GRID_SCROLL_SPEED_FACTOR 

The factor used to customise the scroll speed while dragging and swiping the GridLayout.

Name "gridScrollSpeedFactor", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 0.03f.
GRID_MAXIMUM_SWIPE_SPEED 

The maximum swipe speed in pixels per second of GridLayout.

Name "gridMaximumSwipSpeed", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 100.0f.
GRID_ITEM_FLICK_ANIMATION_DURATION 

The duration of the flick animation in seconds of GridLayout.

Name "gridItemFlickAnimationDuration", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
This is the time taken to animate each item to its next layout position (e.g. from 1.0 to 2.0) when a flick animation is triggered by a swipe gesture.
Must be greater than zero;If not supplied, the default is 0.015f.
DEPTH_COLUMN_NUMBER 

The number of columns in the DepthLayout.

Name "depthColumnNumber", type Property::INTEGER.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 3.
DEPTH_ROW_NUMBER 

The number of rows in the DepthLayout.

Name "depthRowNumber", type Property::INTEGER.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 26.
DEPTH_ROW_SPACING 

The spacing between rows in the DepthLayout.

Name "depthRowSpacing", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 55.0f.
DEPTH_SCROLL_SPEED_FACTOR 

The factor used to customise the scroll speed while dragging and swiping the DepthLayout.

Name "depthScrollSpeedFactor", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 0.02f.
DEPTH_MAXIMUM_SWIPE_SPEED 

The maximumSwipSpeed of the DepthLayout.

Name "depthMaximumSwipSpeed", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 50.0f.
DEPTH_ITEM_FLICK_ANIMATION_DURATION 

The duration of the flick animation in seconds of DepthLayout.

Name "depthItemFlickAnimationDuration", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
This is the time taken to animate each item to its next layout position (e.g. from 1.0 to 2.0) when a flick animation is triggered by a swipe gesture.
Must be greater than zero; If not supplied, the default is 0.03f.
DEPTH_TILT_ANGLE 

The tilt angle of DepthLayout.

Name "depthTiltAngle",Property::FLOAT

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is (Math::PI)*0.15f.
This is clamped between -45 & 45 degrees.
DEPTH_ITEM_TILT_ANGLE 

The tilt angle of the individual items in the DepthLayout.

Name "depthItemTiltAngle", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is -(Math::PI)*0.025f.
SPIRAL_ITEM_SPACING 

The spacing angle between items in the SpiralLayout.

Name "spiralItemSpacing", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 9.5f.
SPIRAL_SCROLL_SPEED_FACTOR 

The factor used to customise the scroll speed while dragging and swiping the SpiralLayout.

Name "spiralScrollSpeedFactor", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 0.01f.
SPIRAL_MAXIMUM_SWIPE_SPEED 

The maximum swipe speed in pixels per second of the SpiralLayout.

Name "spiralMaximumSwipSpeed", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 30.0f.
SPIRAL_ITEM_FLICK_ANIMATION_DURATION 

The duration of the flick animation in seconds of the SpiralLayout.

Name "spiralItemFlickAnimationDuration", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
This is the time taken to animate each item to its next layout position (e.g. from 1.0 to 2.0) when a flick animation is triggered by a swipe gesture.
Must be greater than zero; If not supplied, the default is 0.1f.
SPIRAL_REVOLUTION_DISTANCE 

The vertical distance for one revolution of the SpiralLayout.

Name "spiralRevolutionDistance", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
If not supplied, the default is 190.0f.
SPIRAL_TOP_ITEM_ALIGNMENT 

The alignment of the top-item, when at the beginning of the SpiralLayout.

Name "spiralTopItemAlignment", type Property::FLOAT.

Since:
4.0, DALi version 1.2.60
Note:
Optional.
When at the beginning of the spiral (with a first-item layout-position of zero).A value of 0 indicates that the top-item is centered in the middle of the layout. A value of -0.5 or 0.5 indicates that the top-item is centred at the top or bottom of the layout respectively.
If not supplied, the default is (-0.125f).