Since: API Level 2.5
public static interface

ActionInterfaces.Layout.ActionLayoutInterface

com.droidux.pack.action.interfaces.ActionInterfaces.Layout.ActionLayoutInterface
Known Indirect Subclasses

Class Overview

Represents the contracts to be implemented by action windows for use in the layout process.

Summary

Public Methods
abstract ActionInterfaces.Layout.ActionLayoutInterface addAction(ActionInterfaces.Item.ActionItem action)
Adds an ActionInterfaces.Item.ActionItem to the application bar.
abstract void endLayout()
Ends the layout process to define the ActionInterfaces.Item.ActionItem that should be hosted by this action container.
abstract List<ActionInterfaces.Item.ActionItem> getActions()
Gets the list of ActionInterfaces.Item.ActionItem added to this layout.

Public Methods

public abstract ActionInterfaces.Layout.ActionLayoutInterface addAction (ActionInterfaces.Item.ActionItem action)

Since: API Level 2.5

Adds an ActionInterfaces.Item.ActionItem to the application bar. The action will be placed after (to the right of) the title action.

Parameters
action The ActionInterfaces.Item.ActionItem to be added.
Returns
  • this.

public abstract void endLayout ()

Since: API Level 2.5

Ends the layout process to define the ActionInterfaces.Item.ActionItem that should be hosted by this action container. Important: You should call this method after you finish adding the actions to the actions host/container. See also: beginLayout()

public abstract List<ActionInterfaces.Item.ActionItem> getActions ()

Since: API Level 2.5

Gets the list of ActionInterfaces.Item.ActionItem added to this layout.

Returns
  • List of actions