class Core::Portable::ContainerView

#include <coreview.h>

class ContainerView: public Core::Portable::ContainerViewBase
{
public:
    // construction

    ContainerView(RectRef size = Rect());

    // methods

    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();
};

// direct descendants

class AlertView;
class AlignView;
class DelegateView;
class ImageView;
class ListView;
class RootView;
class TextEditView;
class VariantView;

Inherited Members

public:
    // methods

    virtual void addView(VC* view);
    virtual void removeView(VC* view);
    const ConstVector<VC*>& getChildren() const;
    void draw(const DrawEvent& e);