public class

CarouselTabSpec

extends Object
java.lang.Object
   ↳ com.htc.fragment.widget.CarouselTabSpec

Summary

Public Constructors
CarouselTabSpec(String tag, int title, int rest, int on, int overlay, String classQualifiedName)
Configure the tab's title, icon and fragment class name.
CarouselTabSpec(String tag, int title, int rest, int on, int overlay, String applicationPackageName, String classQualifiedName)
Configure the tab's title, icon and fragment class name.
CarouselTabSpec(String tag, int title, int rest, int on, int overlay, Context applicationPackageContext, String classQualifiedName)
Configure the tab's title, icon and fragment class name.
Public Methods
CarouselTabSpec setArguments(Bundle args)
Set the arguments of the fragment-based application.
CarouselTabSpec setState(int state)
Set the state of the tab.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CarouselTabSpec (String tag, int title, int rest, int on, int overlay, String classQualifiedName)

Since: API Level 4.0

Configure the tab's title, icon and fragment class name.

Parameters
tag The label text on the tab indicator that should be unique at whole application
title resource ID of the title
rest resource ID of the rest Icon
on resource ID of the On Icon
overlay resource ID of the overlay icon
classQualifiedName the class qualified name of the fragment-based application

public CarouselTabSpec (String tag, int title, int rest, int on, int overlay, String applicationPackageName, String classQualifiedName)

Since: API Level 4.0

Configure the tab's title, icon and fragment class name.

Parameters
tag The label text on the tab indicator that should be unique at whole application
title resource ID of the title
rest resource ID of the rest Icon
on resource ID of the On Icon
overlay resource ID of the overlay icon
applicationPackageName Specify different package to load the class of fragment
classQualifiedName the class qualified name of the fragment-based application

public CarouselTabSpec (String tag, int title, int rest, int on, int overlay, Context applicationPackageContext, String classQualifiedName)

Since: API Level 4.0

Configure the tab's title, icon and fragment class name.

Parameters
tag The label text on the tab indicator that should be unique at whole application
title resource ID of the title
rest resource ID of the rest Icon
on resource ID of the On Icon
overlay resource ID of the overlay icon
applicationPackageContext Specify package context to load the class of fragment
classQualifiedName the class qualified name of the fragment-based application

Public Methods

public CarouselTabSpec setArguments (Bundle args)

Since: API Level 4.0

Set the arguments of the fragment-based application.

Parameters
args The arguments
Returns
  • self instance

public CarouselTabSpec setState (int state)

Since: API Level 4.0

Set the state of the tab.

Parameters
state The state of the indicator: TASK_STATE_DEFAULT, TASK_STATE_POOL or TASK_STATE_UNREMOVABLE.
Returns
  • self instance