Young, strong and crazy!
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
UnityEngine.UI.Windows.Components.PopupComponent Class Reference
Inheritance diagram for UnityEngine.UI.Windows.Components.PopupComponent:
Inheritance graph
[legend]
Collaboration diagram for UnityEngine.UI.Windows.Components.PopupComponent:
Collaboration graph
[legend]

Classes

class  State
 

Public Types

enum  DropState : byte { DropState.Auto, DropState.Down, DropState.Up }
 

Public Member Functions

override void OnInit ()
 Raises the init event. More...
 
override void OnDeinit ()
 Raises the deinit event. More...
 
override void OnShowBegin (System.Action callback)
 Raises the show begin event. More...
 
void Toggle ()
 
void SetState (bool opened, bool immediately)
 
AddItem< T > ()
 
List< T > GetItems< T > ()
 
GetItem< T > (int index)
 
void SetItems (int capacity, UnityAction< IComponent > onItem=null)
 
void SetItems< T > (int capacity, UnityAction< T, int > onItem=null)
 
void Select (int index, bool closePopup=true)
 
int GetSelectedIndex ()
 
void UpdateDropState ()
 
- Public Member Functions inherited from UnityEngine.UI.Windows.WindowComponent
List< WindowComponentGetSubComponents ()
 Gets the sub components. More...
 
WindowLayoutBase GetLayoutRoot ()
 Gets the layout root. More...
 
void RegisterSubComponent (WindowComponent subComponent)
 Registers the sub component. More...
 
void UnregisterSubComponent (WindowComponent subComponent)
 Unregisters the sub component. More...
 
override void OnShowEnd ()
 Raises the show end event. More...
 
override void OnHideEnd ()
 Raises the hide end event. More...
 
override void OnHideBegin (System.Action callback)
 Raises the hide begin event. More...
 
- Public Member Functions inherited from UnityEngine.UI.Windows.WindowComponentBase
WindowObjectState GetComponentState ()
 Gets the state of the component. More...
 
void Show (bool resetAnimation=true)
 Show component. More...
 
virtual void Show (System.Action callback, bool resetAnimation)
 Show component with callback after end. More...
 
void Hide ()
 Hide this instance. More...
 
void Hide (bool immediately)
 Hide the specified immediately. More...
 
virtual void Hide (System.Action callback, bool immediately)
 Hide the specified callback and immediately. More...
 
void SetResetState ()
 Set up reset state to animation. More...
 
void SetInState ()
 Set up in state to animation. More...
 
void SetOutState ()
 Set up out state to animation. More...
 
virtual float GetAnimationDuration (bool forward)
 Gets the duration of the animation. More...
 
- Public Member Functions inherited from UnityEngine.UI.Windows.WindowObject
WindowBase GetWindow ()
 
void HideCurrentWindow ()
 

Public Attributes

LinkerComponent buttonWithText
 
LinkerComponent list
 
DropState dropState = DropState.Auto
 
float maxHeight = 200f
 
- Public Attributes inherited from UnityEngine.UI.Windows.WindowComponent
bool autoRegisterSubComponents = true
 
- Public Attributes inherited from UnityEngine.UI.Windows.WindowComponentBase
new WindowAnimationBase animation
 
List< TransitionInputParametersanimationInputParams = new List<TransitionInputParameters>()
 
CanvasGroup canvas
 
bool animationRefresh = false
 

Member Enumeration Documentation

Enumerator
Auto 
Down 
Up 

Member Function Documentation

T UnityEngine.UI.Windows.Components.PopupComponent.AddItem< T > ( )
Type Constraints
T :ITextComponent 
T UnityEngine.UI.Windows.Components.PopupComponent.GetItem< T > ( int  index)
Type Constraints
T :ITextComponent 
List<T> UnityEngine.UI.Windows.Components.PopupComponent.GetItems< T > ( )
Type Constraints
T :ITextComponent 

Here is the call graph for this function:

int UnityEngine.UI.Windows.Components.PopupComponent.GetSelectedIndex ( )
override void UnityEngine.UI.Windows.Components.PopupComponent.OnDeinit ( )
virtual

Raises the deinit event.

You can override this method but call it's base.

Reimplemented from UnityEngine.UI.Windows.WindowComponent.

override void UnityEngine.UI.Windows.Components.PopupComponent.OnInit ( )
virtual

Raises the init event.

You can override this method but call it's base.

Reimplemented from UnityEngine.UI.Windows.WindowComponent.

override void UnityEngine.UI.Windows.Components.PopupComponent.OnShowBegin ( System.Action  callback)
virtual

Raises the show begin event.

Wait while all sub components return the callback. You can override this method but call it's base.

Parameters
callbackCallback.

Reimplemented from UnityEngine.UI.Windows.WindowComponent.

void UnityEngine.UI.Windows.Components.PopupComponent.Select ( int  index,
bool  closePopup = true 
)

Here is the call graph for this function:

void UnityEngine.UI.Windows.Components.PopupComponent.SetItems ( int  capacity,
UnityAction< IComponent onItem = null 
)

Here is the call graph for this function:

void UnityEngine.UI.Windows.Components.PopupComponent.SetItems< T > ( int  capacity,
UnityAction< T, int >  onItem = null 
)
Type Constraints
T :ITextComponent 

Here is the call graph for this function:

void UnityEngine.UI.Windows.Components.PopupComponent.SetState ( bool  opened,
bool  immediately 
)

Here is the call graph for this function:

void UnityEngine.UI.Windows.Components.PopupComponent.Toggle ( )
void UnityEngine.UI.Windows.Components.PopupComponent.UpdateDropState ( )

Here is the call graph for this function:

Member Data Documentation

LinkerComponent UnityEngine.UI.Windows.Components.PopupComponent.buttonWithText
DropState UnityEngine.UI.Windows.Components.PopupComponent.dropState = DropState.Auto
LinkerComponent UnityEngine.UI.Windows.Components.PopupComponent.list
float UnityEngine.UI.Windows.Components.PopupComponent.maxHeight = 200f

Fri Apr 3 2015 14:05:26   Generated by   doxygen   Content copyrighted to Alex