xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::bindings::PasswordField Class Referencefinal

A text field for password entry. More...

#include <xentara/workbench/bindings/PasswordField.hpp>

+ Inheritance diagram for xentara::workbench::bindings::PasswordField:

Classes

struct  Options
 Options for the binding. More...
 

Public Member Functions

template<StringBindable< std::string > Property>
 PasswordField (PropertyController &propertyController, Property &property, Options options)
 Constructor that accesses the variable holding a property’s value directly.
 
template<typename Object , StringGetter< std::string, Object > GetterType, StringSetter< std::string, Object > SetterType>
 PasswordField (const PropertyHandle &property, Object &object, GetterType get, SetterType set, Options options)
 Constructor that uses a getter and setter to access a property.
 

Detailed Description

A text field for password entry.

Constructor & Destructor Documentation

◆ PasswordField() [1/2]

template<StringBindable< std::string > Property>
xentara::workbench::bindings::PasswordField::PasswordField ( PropertyController propertyController,
Property &  property,
Options  options 
)

Constructor that accesses the variable holding a property’s value directly.

Attention
This constructor can only be used for address-based properties.
Parameters
propertyControllerThe property controller that manages the property
propertyA reference to the variable holding the property’s value.
optionsThe binding options

◆ PasswordField() [2/2]

template<typename Object , StringGetter< std::string, Object > GetterType, StringSetter< std::string, Object > SetterType>
xentara::workbench::bindings::PasswordField::PasswordField ( const PropertyHandle property,
Object &  object,
GetterType  get,
SetterType  set,
Options  options 
)

Constructor that uses a getter and setter to access a property.

Parameters
propertyA handle to the bound property
objectThe object on which the getter and setter should be called
getThe getter function
setThe setter function
optionsThe binding options