Beamable SDK
Classes | Public Member Functions | List of all members
Beamable.Editor.Assistant.BeamHintHeaderVisualElement Class Reference

This visual element handles the rendering of BeamHints in the BeamableAssistantWindow. More...

Inheritance diagram for Beamable.Editor.Assistant.BeamHintHeaderVisualElement:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Editor.Assistant.BeamHintHeaderVisualElement:
Collaboration graph
[legend]

Classes

class  UxmlFactory
 
class  UxmlTraits
 

Public Member Functions

 BeamHintHeaderVisualElement (BeamHintsDataModel dataModel, BeamHintReflectionCache.Registry library, in BeamHintHeader hint, int headerIdx)
 
void UpdateFromBeamHintHeader (in BeamHintHeader hint, int headerIdx)
 
sealed override void Refresh ()
 
void ResolveInjections< T > (IEnumerable< BeamHintVisualsInjectionBag.Injection< T > > injections, VisualElement container)
 Query the given container for matching elements to each of the given injections . Matches by VisualElement type, name and class, then calls Inject<T> for all matching elements. More...
 
- Public Member Functions inherited from Beamable.Editor.Assistant.BeamableAssistantComponent
 BeamableAssistantComponent (string name)
 
- Public Member Functions inherited from Beamable.Editor.UI.Components.BeamableVisualElement
override void Refresh ()
 
- Public Member Functions inherited from Beamable.Editor.UI.Common.BeamableBasicVisualElement
void Refresh (IDependencyProvider provider)
 
virtual void Init ()
 
void Destroy ()
 

Additional Inherited Members

- Public Attributes inherited from Beamable.Editor.UI.Common.BeamableBasicVisualElement
IDependencyProvider provider
 
- Protected Member Functions inherited from Beamable.Editor.UI.Components.BeamableVisualElement
 BeamableVisualElement (string commonPath)
 
- Protected Member Functions inherited from Beamable.Editor.UI.Common.BeamableBasicVisualElement
 BeamableBasicVisualElement (string ussPath, bool createRoot=true)
 
virtual void OnDestroy ()
 
virtual void OnDetach ()
 
- Properties inherited from Beamable.Editor.UI.Common.BeamableBasicVisualElement
VisualElement Root [getset]
 
string UssPath [get]
 

Detailed Description

This visual element handles the rendering of BeamHints in the BeamableAssistantWindow.

Member Function Documentation

◆ Refresh()

sealed override void Beamable.Editor.Assistant.BeamHintHeaderVisualElement.Refresh ( )
inlinevirtual

◆ ResolveInjections< T >()

void Beamable.Editor.Assistant.BeamHintHeaderVisualElement.ResolveInjections< T > ( IEnumerable< BeamHintVisualsInjectionBag.Injection< T > >  injections,
VisualElement  container 
)
inline

Query the given container for matching elements to each of the given injections . Matches by VisualElement type, name and class, then calls Inject<T> for all matching elements.

Parameters
injectionsA collection of BeamHintVisualsInjectionBag.Injection<T>s that were created in a BeamHintDetailConverterAttribute annotated function.
containerThe VisualElement for us to run the injections in.
Template Parameters
TAny type as defined in BeamHintVisualsInjectionBag fields.

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