FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Widgets.TabbedDisplay Class Reference

A widget container that has a tab control to switch between widgets. More...

Inheritance diagram for FMAR.UI.Widgets.TabbedDisplay:

Public Member Functions

void LockPosition ()
 
void UnlockPosition ()
 
void TogglePositionLock ()
 
void AddTab (Widget widget)
 Adds a tab for a widget.
 
void ChangeTab (Tab tab, bool collapseCurrentIntoTab=true)
 Changes the current tab.
 
void RemoveCurrentTab ()
 Removes the current tab from the list.
 
void OnGestureStep (int step)
 Handles a "step" from the pinch and drag gesture, to switch tabs.
 
void Show ()
 Shows the tabbed display.
 
void Hide ()
 Hides the tabbed display.
 
void AddBlockFollowGesture (GestureBase gesture)
 Adds a block follow gesture. These gestures block the follow behavior of the tabbed display when active.
 
void RemoveBlockFollowGesture (GestureBase gesture)
 Removes a block follow gesture. These gestures block the follow behavior of the tabbed display when active.
 

Properties

static TabbedDisplay Instance [get]
 

Detailed Description

A widget container that has a tab control to switch between widgets.

Member Function Documentation

◆ AddBlockFollowGesture()

void FMAR.UI.Widgets.TabbedDisplay.AddBlockFollowGesture ( GestureBase gesture)
inline

Adds a block follow gesture. These gestures block the follow behavior of the tabbed display when active.

Parameters
gestureThe gesture to add.

◆ AddTab()

void FMAR.UI.Widgets.TabbedDisplay.AddTab ( Widget widget)
inline

Adds a tab for a widget.

Parameters
widgetThe widget to add a tab for.

◆ ChangeTab()

void FMAR.UI.Widgets.TabbedDisplay.ChangeTab ( Tab tab,
bool collapseCurrentIntoTab = true )
inline

Changes the current tab.

Parameters
tabThe tab to change to.
collapseCurrentIntoTabWhether to collapse the current tab into the new one.

◆ Hide()

void FMAR.UI.Widgets.TabbedDisplay.Hide ( )
inline

Hides the tabbed display.

◆ LockPosition()

void FMAR.UI.Widgets.TabbedDisplay.LockPosition ( )
inline

◆ OnGestureStep()

void FMAR.UI.Widgets.TabbedDisplay.OnGestureStep ( int step)
inline

Handles a "step" from the pinch and drag gesture, to switch tabs.

Parameters
stepThe step to handle.

◆ RemoveBlockFollowGesture()

void FMAR.UI.Widgets.TabbedDisplay.RemoveBlockFollowGesture ( GestureBase gesture)
inline

Removes a block follow gesture. These gestures block the follow behavior of the tabbed display when active.

Parameters
gestureThe gesture to remove.

◆ RemoveCurrentTab()

void FMAR.UI.Widgets.TabbedDisplay.RemoveCurrentTab ( )
inline

Removes the current tab from the list.

◆ Show()

void FMAR.UI.Widgets.TabbedDisplay.Show ( )
inline

Shows the tabbed display.

◆ TogglePositionLock()

void FMAR.UI.Widgets.TabbedDisplay.TogglePositionLock ( )
inline

◆ UnlockPosition()

void FMAR.UI.Widgets.TabbedDisplay.UnlockPosition ( )
inline

Property Documentation

◆ Instance

TabbedDisplay FMAR.UI.Widgets.TabbedDisplay.Instance
staticget

The documentation for this class was generated from the following file: