API Documentation
Static.h
1 // Static.h
3 //
5 
6 namespace nkWinUi
7 {
11  class Static : public Component
12  {
13  public :
14 
22  Static (System* system) noexcept ;
26  virtual ~Static () ;
27 
28  // Getters
40  bool getWordWrap () const ;
41 
42  // Setters
50  virtual void setAlignHorizontal (ALIGNMENT value) ;
58  virtual void setAlignVertical (ALIGNMENT value) ;
67  virtual void setWordWrap (bool value) ;
68 
69  // Import / Export
70  virtual void exportIntrospection (nkExport::Node* rootNode) override ;
71  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
72 
73  public :
74 
75  // Statics
83  static nkMemory::UniquePtr<Static> create (System* system = nullptr) ;
84  } ;
85 }
nkWinUi::Static::create
static nkMemory::UniquePtr< Static > create(System *system=nullptr)
nkWinUi::Static::~Static
virtual ~Static()
nkWinUi::ALIGNMENT
ALIGNMENT
Possible alignment values, interpretable by components depending on their behavior.
Definition: Alignment.h:12
nkWinUi::Static::setAlignHorizontal
virtual void setAlignHorizontal(ALIGNMENT value)
nkWinUi::Static::Static
Static(System *system) noexcept
nkWinUi::Static::exportIntrospection
virtual void exportIntrospection(nkExport::Node *rootNode) override
nkWinUi::Component
Base class for any graphical component.
Definition: Component.h:12
nkWinUi::System
The main system of the component.
Definition: System.h:18
nkWinUi::Static
A graphical static text zone.
Definition: Static.h:12
nkWinUi::Static::getWordWrap
bool getWordWrap() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkWinUi::Static::setWordWrap
virtual void setWordWrap(bool value)
nkWinUi::Static::getAlignVertical
ALIGNMENT getAlignVertical() const
nkWinUi::Static::setAlignVertical
virtual void setAlignVertical(ALIGNMENT value)
nkMemory::UniquePtr
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
nkWinUi::Static::getAlignHorizontal
ALIGNMENT getAlignHorizontal() const
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::Static::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override