public static interface

ActionInterfaces.Layout.AppBarLayoutInterface

implements ActionInterfaces.Layout.ActionLayoutInterface
com.droidux.pack.action.interfaces.ActionInterfaces.Layout.AppBarLayoutInterface

Class Overview

Represents the contracts to be implemented by com.droidux.widget.appbar AppBar widgets for use in the layout process.

Summary

Public Methods
abstract ActionInterfaces.Layout.AppBarLayoutInterface addAction(ActionInterfaces.Item.ActionItem action, boolean leftOfTitle)
Adds an ActionInterfaces.Item.ActionItem to the application bar.
abstract ActionInterfaces.Layout.AppBarLayoutInterface setProgressAction(ActionInterfaces.Item.ActionItem overlayAction)
Adds a ProgressBar to the application bar and set the overlay ActionInterfaces.Item.ActionItem.
abstract ActionInterfaces.Layout.AppBarLayoutInterface setProgressAction(ActionInterfaces.Item.ActionItem overlayAction, boolean leftOfTitle)
Adds a ProgressBar to the application bar and set the overlay ActionInterfaces.Item.ActionItem.
abstract ActionInterfaces.Layout.AppBarLayoutInterface setTitleAction(ActionInterfaces.Item.ActionItem action)
Sets the ActionInterfaces.Item.ActionItem for the title.
[Expand]
Inherited Methods
From interface com.droidux.pack.action.interfaces.ActionInterfaces.Layout.ActionLayoutInterface

Public Methods

public abstract ActionInterfaces.Layout.AppBarLayoutInterface addAction (ActionInterfaces.Item.ActionItem action, boolean leftOfTitle)

Since: API Level 2.5

Adds an ActionInterfaces.Item.ActionItem to the application bar.

Parameters
action The ActionInterfaces.Item.ActionItem to be added.
leftOfTitle If true, the action will be placed left of the title action.
Returns
  • this.

public abstract ActionInterfaces.Layout.AppBarLayoutInterface setProgressAction (ActionInterfaces.Item.ActionItem overlayAction)

Since: API Level 2.5

Adds a ProgressBar to the application bar and set the overlay ActionInterfaces.Item.ActionItem.

The progress bar can be shown/hidden by calling the showProgress() method on the application bar. When the progress bar is hidden, the overlay ActionInterfaces.Item.ActionItem will be shown in place of the progress bar.

Parameters
overlayAction The overlay ActionInterfaces.Item.ActionItem. May be null.
Returns
  • this.

public abstract ActionInterfaces.Layout.AppBarLayoutInterface setProgressAction (ActionInterfaces.Item.ActionItem overlayAction, boolean leftOfTitle)

Since: API Level 2.5

Adds a ProgressBar to the application bar and set the overlay ActionInterfaces.Item.ActionItem.

The progress bar can be shown/hidden by calling the showProgress() method on the application bar. When the progress bar is hidden, the overlay ActionInterfaces.Item.ActionItem will be shown in place of the progress bar.

Parameters
overlayAction The overlay ActionInterfaces.Item.ActionItem. May be null.
leftOfTitle If true, the progress bar (and the overlay action) will be placed left of the title action.
Returns
  • this.

public abstract ActionInterfaces.Layout.AppBarLayoutInterface setTitleAction (ActionInterfaces.Item.ActionItem action)

Since: API Level 2.5

Sets the ActionInterfaces.Item.ActionItem for the title.

Parameters
action ActionInterfaces.Item.ActionItem to be executed when user press the title. May be null.
Returns
  • this.