Link Search Menu Expand Document

NavStack

Navigation stack: pushes and pops views to drill down a hierarchy of UI.

Includes a back button to allow navigation.

Constructor

 navStack = NavStack(bounds)

Arguments

Name Type Description
bounds Bounds The NavStack’s bounds.

Returns

Nothing


Methods

Returns the item at the bottom of the stack.

Does not remove the item from the stack.

Arguments

None

Returns

Type Description
View The item from the bottom of the stack

Returns the item at the top of the stack.

Does not remove the item from the stack.

Arguments

None

Returns

Type Description
View The item from the top of the stack

Adds an item to the top of the stack

Arguments

Name Type Description
view View The view to push

Returns

Nothing


Returns the item from the top of the stack.

Removes the item from the stack.

Arguments

None

Returns

Type Description
View top The item at the top of the stack