LeviLamina
Loading...
Searching...
No Matches
GridComponent Class Reference
Inheritance diagram for GridComponent:

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
MCAPI GridComponent (::UIControl &owner, ::std::weak_ptr<::UIControlFactory > factoryPtr)
MCAPI void _assignStaticGridItemIndexes ()
MCAPI void _cacheGridItemControlAt (::UIControl &owner, uint64 const &index)
MCAPI void _createGridItemAt (int index)
MCAPI void _reconstructGridItem (::UIControl &gridItem, int gridItemIndex)
MCAPI ::std::pair< int, int > getClippedCollectionRange () const
MCFOLD::std::string const & getCollectionName () const
MCAPI int getExpectedSize () const
MCFOLD::glm::ivec2 const & getGridDimensions () const
MCAPI::ui::OrientationType const & getGridFillDirection () const
MCFOLD ::std::shared_ptr<::UIControlgetGridItemTemplate () const
MCFOLD::ui::OrientationType const & getGridRescalingType () const
MCFOLD int getMaximumGridItems () const
MCAPI bool getNeedsRescaling () const
MCFOLD bool isDynamic () const
MCAPI bool partiallyCreateGridItems (int startIndex, int endIndex)
MCAPI void reassignGridPositions ()
MCAPI void refreshGridItems ()
MCFOLD::Bedrock::PubSub::Subscription registerGridCompletionListener (::std::function< void(uint64)> callback)
MCFOLD void setCollectionName (::std::string const &collectionName)
MCFOLD void setGridDimensionBinding (::std::string const &binding)
MCAPI void setGridDimensions (::glm::ivec2 const &dimensions)
MCAPI void setGridFillDirection (::ui::OrientationType const &val)
MCAPI void setGridItemTemplate (::std::shared_ptr<::UIControl > gridItemTemplate)
MCAPI void setGridRescalingType (::ui::OrientationType const &val)
MCFOLD void setLowMemoryMode (bool lowMemoryMode)
MCAPI void setMaximumGridItems (int val)
MCAPI void * $ctor (::UIControl &owner, ::std::weak_ptr<::UIControlFactory > factoryPtr)
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCFOLD void $reset ()
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onRemoved ()
virtual void onAdded ()
virtual void onVisibilityChanged (bool visible)
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
virtual::std::string const & getTextToSpeechComponentValue () const
MCFOLD::UIControl const & getOwner () const
MCFOLD::UIControl & getOwner ()
MCAPI bool isLocked () const
MCAPI void * $ctor (::UIControl &owner)
MCFOLD void $dtor ()
MCFOLD::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCFOLD::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $onEnabledChanged (bool enabled)
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD void $reload (::UIComponent const &rhs)
MCFOLD::std::string const & $getTextToSpeechComponentValue () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 8, ::glm::ivec2 > mDimensions
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::UIControl > > mGridItemTemplate
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControlFactory > > mControlFactory
::ll::TypedStorage< 8, 32, ::std::string > mGridDimensionBinding
::ll::TypedStorage< 8, 32, ::std::string > mCollectionName
::ll::TypedStorage< 1, 1, ::ui::OrientationType > mGridRescalingType
::ll::TypedStorage< 1, 1, ::ui::OrientationType > mGridFillDirection
::ll::TypedStorage< 4, 4, int > mMaximumGridItems
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mCachedControls
::ll::TypedStorage< 1, 1, bool > mLowMemoryMode
::ll::TypedStorage< 4, 4, int > mPartialCreationStartIndex
::ll::TypedStorage< 4, 4, int > mPartialCreationEndIndex
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(uint64), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mPublisher
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

virtual ::std::unique_ptr<::UIComponent > GridComponent::clone ( ::UIControl & cloneOwner) const
virtual

Implements UIComponent.

◆ reset()

virtual void GridComponent::reset ( )
virtual

Implements UIComponent.

◆ onNotifyChildAdded()

virtual void GridComponent::onNotifyChildAdded ( )
virtual

Reimplemented from UIComponent.

◆ onNotifyChildRemoved()

virtual void GridComponent::onNotifyChildRemoved ( )
virtual

Reimplemented from UIComponent.

◆ $vftable()

MCAPI void ** GridComponent::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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