GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::deserializers::ImageButtonDeserializer Class Reference

Deserialize ImageButton from JSON. More...

#include <ImageButtonDeserializer.h>

Inheritance diagram for gui_framework::deserializers::ImageButtonDeserializer:
gui_framework::interfaces::IDeserializer

Public Member Functions

 ImageButtonDeserializer ()=default
 
BaseComponentdeserialize (const std::string &componentName, const json::utility::jsonObject &description, BaseComposite *parent) const override
 Created component pointer already handled by its parent.
 
 ~ImageButtonDeserializer ()=default
 
- Public Member Functions inherited from gui_framework::interfaces::IDeserializer
 IDeserializer ()=default
 
virtual ~IDeserializer ()=default
 

Detailed Description

Deserialize ImageButton from JSON.

Definition at line 10 of file ImageButtonDeserializer.h.

Constructor & Destructor Documentation

◆ ImageButtonDeserializer()

gui_framework::deserializers::ImageButtonDeserializer::ImageButtonDeserializer ( )
default

◆ ~ImageButtonDeserializer()

gui_framework::deserializers::ImageButtonDeserializer::~ImageButtonDeserializer ( )
default

Member Function Documentation

◆ deserialize()

BaseComponent * gui_framework::deserializers::ImageButtonDeserializer::deserialize ( const std::string & componentName,
const json::utility::jsonObject & description,
BaseComposite * parent ) const
overridevirtual

Created component pointer already handled by its parent.

Parameters
componentNameField name from JSON
descriptionField data from JSON
parentParent composite or nullptr if has no parent
Returns

Implements gui_framework::interfaces::IDeserializer.

Definition at line 13 of file ImageButtonDeserializer.cpp.


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