class Core::Portable::DelegateView

class DelegateView:
    public Core::Portable::ContainerView,
    public Core::Portable::IVariantChildView
{
public:
    // fields

    BEGIN_CORE_CLASS('DelV', DelegateView) ADD_CORE_CLASS_(IVariantChildView) END_CORE_CLASS(ContainerView) DECLARE_CORE_VIEWCLASS(ViewClasses viewName;

    // methods

    BEGIN_CORE_CLASS('DelV', DelegateView) ADD_CORE_CLASS_(IVariantChildView) END_CORE_CLASS(ContainerView) DECLARE_CORE_VIEWCLASS(ViewClasses PROPERTY_POINTER(
        ViewController,
        controller,
        Controller
    );

    BEGIN_CORE_CLASS('DelV', DelegateView) ADD_CORE_CLASS_(IVariantChildView) END_CORE_CLASS(ContainerView) DECLARE_CORE_VIEWCLASS(ViewClasses ViewName void setAttributes(const Attributes& a);
};

Inherited Members

public:
    // typedefs

    typedef int32 TypeID;

    // methods

    virtual void addView(VC* view);
    virtual void removeView(VC* view);
    const ConstVector<VC*>& getChildren() const;
    void draw(const DrawEvent& e);
    DECLARE_CORE_CLASS('CntV', ContainerView, View) const;
    PROPERTY_POINTER(IViewOwner, owner, Owner);
    virtual void resizeToChildren();

    View* findView(
        const Point& where,
        bool deep = true,
        const ViewFilter* filter = nullptr
    ) const;

    View* findView(const ViewFilter& filter, bool deep = true) const;

    template <class T>
    T* findView(CStringPtr name, bool deep = true) const;

    bool isChildView(const View* view, bool deep = true) const;
    void addView(View* view);
    void removeView(View* view);
    virtual ContainerView* asContainer();
    bool onTouchInput(const TouchEvent& e);
    virtual void onIdle();
    virtual void* castTo(TypeID typeId) = 0;
    virtual DECLARE_CORE_CLASS_('VChV', IVariantChildView) = 0;