Version: 3.1.0
wxHtmlWidgetCell Class Reference

#include <wx/html/htmlcell.h>

+ Inheritance diagram for wxHtmlWidgetCell:

Detailed Description

wxHtmlWidgetCell is a class that provides a connection between HTML cells and widgets (an object derived from wxWindow).

You can use it to display things like forms, input boxes etc. in an HTML window.

wxHtmlWidgetCell takes care of resizing and moving window.

Library:  wxHTML
Category:  HTML

Public Member Functions

 wxHtmlWidgetCell (wxWindow *wnd, int w=0)
 Constructor. More...
 
- Public Member Functions inherited from wxHtmlCell
 wxHtmlCell ()
 Constructor. More...
 
virtual bool AdjustPagebreak (int *pagebreak, const wxArrayInt &known_pagebreaks, int pageHeight) const
 This method is used to adjust pagebreak position. More...
 
virtual void Draw (wxDC &dc, int x, int y, int view_y1, int view_y2, wxHtmlRenderingInfo &info)
 Renders the cell. More...
 
virtual void DrawInvisible (wxDC &dc, int x, int y, wxHtmlRenderingInfo &info)
 This method is called instead of Draw() when the cell is certainly out of the screen (and thus invisible). More...
 
virtual const wxHtmlCellFind (int condition, const void *param) const
 Returns pointer to itself if this cell matches condition (or if any of the cells following in the list matches), NULL otherwise. More...
 
int GetDescent () const
 Returns descent value of the cell (m_Descent member). More...
 
virtual wxHtmlCellGetFirstChild () const
 Returns pointer to the first cell in the list. More...
 
int GetHeight () const
 Returns height of the cell (m_Height member). More...
 
const wxStringGetId () const
 Returns unique cell identifier if there is any, the empty string otherwise. More...
 
virtual wxHtmlLinkInfoGetLink (int x=0, int y=0) const
 Returns hypertext link if associated with this cell or NULL otherwise. More...
 
virtual wxCursor GetMouseCursor (wxHtmlWindowInterface *window) const
 Returns cursor to show when mouse pointer is over the cell. More...
 
virtual wxCursor GetMouseCursorAt (wxHtmlWindowInterface *window, const wxPoint &rePos) const
 Returns cursor to show when mouse pointer is over the specified point. More...
 
wxHtmlCellGetNext () const
 Returns pointer to the next cell in list (see htmlcell.h if you're interested in details). More...
 
wxHtmlContainerCellGetParent () const
 Returns pointer to parent container. More...
 
int GetPosX () const
 Returns X position within parent (the value is relative to parent's upper left corner). More...
 
int GetPosY () const
 Returns Y position within parent (the value is relative to parent's upper left corner). More...
 
int GetWidth () const
 Returns width of the cell (m_Width member). More...
 
virtual void Layout (int w)
 Layouts the cell. More...
 
virtual bool ProcessMouseClick (wxHtmlWindowInterface *window, const wxPoint &pos, const wxMouseEvent &event)
 This function is simple event handler. More...
 
void SetId (const wxString &id)
 Sets unique cell identifier. More...
 
void SetLink (const wxHtmlLinkInfo &link)
 Sets the hypertext link associated with this cell. More...
 
void SetNext (wxHtmlCell *cell)
 Sets the next cell in the list. More...
 
void SetParent (wxHtmlContainerCell *p)
 Sets parent container of this cell. More...
 
virtual void SetPos (int x, int y)
 Sets the cell's position within parent container. More...
 
- Public Member Functions inherited from wxObject
 wxObject ()
 Default ctor; initializes to NULL the internal reference data. More...
 
 wxObject (const wxObject &other)
 Copy ctor. More...
 
virtual ~wxObject ()
 Destructor. More...
 
virtual wxClassInfoGetClassInfo () const
 This virtual function is redefined for every class that requires run-time type information, when using the wxDECLARE_CLASS macro (or similar). More...
 
wxObjectRefDataGetRefData () const
 Returns the wxObject::m_refData pointer, i.e. the data referenced by this object. More...
 
bool IsKindOf (const wxClassInfo *info) const
 Determines whether this class is a subclass of (or the same class as) the given class. More...
 
bool IsSameAs (const wxObject &obj) const
 Returns true if this object has the same data pointer as obj. More...
 
void Ref (const wxObject &clone)
 Makes this object refer to the data in clone. More...
 
void SetRefData (wxObjectRefData *data)
 Sets the wxObject::m_refData pointer. More...
 
void UnRef ()
 Decrements the reference count in the associated data, and if it is zero, deletes the data. More...
 
void UnShare ()
 This is the same of AllocExclusive() but this method is public. More...
 
void operator delete (void *buf)
 The delete operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined. More...
 
void * operator new (size_t size, const wxString &filename=NULL, int lineNum=0)
 The new operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wxObject
void AllocExclusive ()
 Ensure that this object's data is not shared with any other object. More...
 
virtual wxObjectRefDataCreateRefData () const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. More...
 
virtual wxObjectRefDataCloneRefData (const wxObjectRefData *data) const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying data. More...
 
- Protected Attributes inherited from wxObject
wxObjectRefDatam_refData
 Pointer to an object which is the object's reference-counted data. More...
 

Constructor & Destructor Documentation

wxHtmlWidgetCell::wxHtmlWidgetCell ( wxWindow wnd,
int  w = 0 
)

Constructor.

Parameters
wndConnected window. It is parent window must be the wxHtmlWindow object within which it is displayed!
wFloating width. If non-zero width of wnd window is adjusted so that it is always w percents of parent container's width. (For example w = 100 means that the window will always have same width as parent container).