Content


NTL
Core
IPropertyRectLState

IPropertyRectLState



Describes multiple state property of type RectL.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IPropertyRectLState :public virtual IPropertyState
{
public:
    virtual RectL getValue(const String &state) = 0; // Return value depending on state
    virtual bool hasMin() const = 0; // Whether has minimum limit
    virtual bool hasMax() const = 0; // Whether has maximum limit
    virtual bool isAllowEmpty() const = 0; // Whether empty rectangle is allowed or not
    virtual bool isAllowInvalid() const = 0; // Whether invalid rectangle is allowed or not
    virtual long long getMin() const = 0; // Return minimum limit
    virtual long long getMax() const = 0; // Return maximum limit

    virtual bool setValue(const String &state, const RectL value) = 0; // Set value of state
    virtual IPropertyRectLState *setHasMin(const bool value) = 0; // Set whether has minimum limit
    virtual IPropertyRectLState *setHasMax(const bool value) = 0; // Set whether has maximum limit
    virtual IPropertyRectLState *setAllowEmpty(const bool value) = 0; // Set whether empty rectangle is allowed or not
    virtual IPropertyRectLState *setAllowInvalid(const bool value) = 0; // Set whether invalid rectangle is allowed or not
    virtual IPropertyRectLState *setMin(const long long value) = 0; // Set minimum limit and hasMin to true
    virtual IPropertyRectLState *setMax(const long long value) = 0; // Set maximum limit and hasMax to true
};
Namespace: nitisa
Include: Nitisa/Package/Interfaces/IPropertyRectLState.h