class Core::Portable::TouchKeyboard

#include <corekeyboard.h>

class TouchKeyboard: public Core::Portable::View
{
public:
    // structs

    struct Key;

    // fields

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses keySpacing;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing keyWidth;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth pressedKeyColor;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor pressedKeyColor2;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 backspaceBack;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 BackspaceBack shiftBack;
    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 BackspaceBack ShiftBack backspaceIcon;

    // methods

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses PROPERTY_POINTER(
        IKeyboardInputReceiver,
        receiver,
        Receiver
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing PROPERTY_VARIABLE(
        Coord,
        rowSpacing,
        RowSpacing
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PROPERTY_VARIABLE(
        Color,
        keyColor,
        KeyColor
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PROPERTY_VARIABLE(
        Color,
        keyColor2,
        KeyColor2
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 PROPERTY_VARIABLE(
        BitmapReference,
        normalBack,
        NormalBack
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 BackspaceBack PROPERTY_VARIABLE(
        BitmapReference,
        enterBack,
        EnterBack
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 BackspaceBack ShiftBack PROPERTY_VARIABLE(
        BitmapReference,
        spaceBack,
        SpaceBack
    );

    DECLARE_CORE_CLASS('TKbd', TouchKeyboard, View) DECLARE_CORE_VIEWCLASS(ViewClasses KeySpacing KeyWidth PressedKeyColor PressedKeyColor2 BackspaceBack ShiftBack BackspaceIcon PROPERTY_VARIABLE(BitmapReference, shiftIcon, ShiftIcon) typedef Skin void selectMode(Mode mode);
    void setCapitalizationMode(Skin::KeyboardCapitalization::Mode mode);
    void clear();
    virtual void setAttributes(const Attributes& a);
    virtual CStringPtr getConnectionType() const;
    virtual void connect(void* object);
    virtual void draw(const DrawEvent& e);
    bool onTouchInput(const TouchEvent& e);
    virtual bool onGestureInput(const GestureEvent& e);
    virtual void getHandledGestures(GestureVector& gestures, PointRef where);
};

Inherited Members

public:
    // typedefs

    typedef int32 TypeID;

    // fields

     parent;
    static const InterfaceID kIID = 0;
    static const InterfaceID kIID = FOUR_CHAR_ID('V','i','e','w');

    // methods

    virtual void* castTo(TypeID typeId) = 0;
    virtual void* castTo(TypeID typeId);
    PROPERTY_CSTRING_BUFFER(64, name, Name);
    Parent void clientToRoot(Point& p) const;
    void rootToClient(Point& p) const;
    RectRef getSize() const;
    virtual void setSize(RectRef newSize);
    Rect& getClientRect(Rect& r) const;
    void invalidate();
    virtual void invalidate(RectRef rect);
    const Style& getStyle() const;
    virtual void setStyle(Style* style);
    virtual void draw(const DrawEvent& e);
    PROPERTY_FLAG(options, kWantsFocus, wantsFocus) const;
    virtual void onFocus(bool state);
    virtual void setProperty(const Property& value) = 0;
    virtual void getProperty(Property& value) = 0;
    virtual void release() = 0;
    virtual int countSubViews() const = 0;
    virtual ICoreView* getSubViewAt(int index) const = 0;
    DECLARE_CORE_CLASS('View', View, TypedObject);
    virtual CStringPtr getClassName() const;
    virtual ContainerView* asContainer();
    virtual RootView* getRootView() const;
    bool isEnabled() const;
    void enable(bool state);
    PROPERTY_FLAG(options, kWantsTouch, wantsTouch) const;
    virtual bool onWheelInput(const WheelEvent& e);
    virtual bool onKeyInput(const VirtualKeyEvent& e);
    virtual bool onGestureInput(const GestureEvent& e);
    virtual void getHandledGestures(GestureVector& gestures, PointRef where);
    virtual void onIdle();
    virtual void setStyle(Style* style);
    virtual void setAttributes(const Attributes& a);
    virtual CStringPtr getConnectionType() const;
    virtual void connect(void* object);