Development tools : XUI Mobile editor : Adding Mobile widgets : XUI Mobile widgets : SwapViewGroup
  
SwapViewGroup
A SwapViewGroup widget is a container that can contain a Heading, a PageIndicator, and multiple SwapView widgets. You can manually add the SwapViewGroup widget to a MobileDevice container by using the Items editor.
Property
id
A unique ID string for the widget.
tabPosition
The position of the PageIndicator.
showHeading
true
This is the default value. A heading is displayed at the top of the view.
false
No heading is displayed initially.
showPageIndicator
true
This is the default value. The PageIndicator is displayed.
false
No PageIndicator is displayed initially.
ECA editor support
You can configure the following property and functions for the SwapViewGruop widget with the ECA editor.
Property that can be configured for the SwapViewGruop widget with the ECA editor
id
A unique ID string for the widget.
Applicable ECA part: Expression in Condition
Functions that can be configured for the SwapViewGruop widget with the ECA editor
set(name,value)
Set a value for a widget property.
Applicable ECA part: Actions
hide()
Hide the widget without the transition animation.
Applicable ECA part: Actions
performTransition(moveTo,transitionDir,transition)
Transition the current view to a destination view that is specified with the moveTo value. The transition direction and effect are also specified in this function.
Applicable ECA part: Actions
show()
Show the widget without the transition animation.
Applicable ECA part: Actions
get(name)
Returns the value of a widget property.
Applicable ECA part: Expression in Condition
isVisible
Return true if this view is visible.
Applicable ECA part: Expression in Condition
Items
A SwapViewGroup widget can contain the SwapView widgets as the items. See SwapView for details about the SwapView widget.
See also
XUI Mobile widgets