X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2eebb742abc099384323c2b106fa819803202a11..afbe906abdf9aa69a56571b8b20b095351dd8f34:/docs/latex/wx/gridrend.tex?ds=inline diff --git a/docs/latex/wx/gridrend.tex b/docs/latex/wx/gridrend.tex index 11a86f6535..02cfea20eb 100644 --- a/docs/latex/wx/gridrend.tex +++ b/docs/latex/wx/gridrend.tex @@ -1,7 +1,112 @@ +\section{\class{wxGridCellBoolRenderer}}\label{wxgridcellboolrenderer} + +This class may be used to format boolean data in a cell. +for string cells. + +\wxheading{Derived from} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer} + +\wxheading{See also} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer},\rtfsp +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer},\rtfsp +\helpref{wxGridCellFloatRenderer}{wxgridcellfloatrenderer},\rtfsp +\helpref{wxGridCellNumberRenderer}{wxgridcellnumberrenderer} + +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxGridCellBoolRenderer::wxGridCellBoolRenderer}\label{wxgridcellboolrendererconstr} + +\func{}{wxGridCellBoolRenderer}{} + +Default constructor + + + +\section{\class{wxGridCellFloatRenderer}}\label{wxgridcellfloatrenderer} + +This class may be used to format floating point data in a cell. + +\wxheading{Derived from} + +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer}\\ +\helpref{wxGridCellRenderer}{wxgridcellrenderer} + +\wxheading{See also} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer},\rtfsp +\helpref{wxGridCellNumberRenderer}{wxgridcellnumberrenderer},\rtfsp +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer},\rtfsp +\helpref{wxGridCellBoolRenderer}{wxgridcellboolrenderer} + +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxGridCellFloatRenderer::wxGridCellFloatRenderer}\label{wxgridcellfloatrendererconstr} + +\func{}{wxGridCellFloatRenderer}{\param{int }{width = -1}, \param{int }{precision = -1}} + +\docparam{width}{Minimum number of characters to be shown.} +\docparam{precision}{Number of digits after the decimal dot.} + +\membersection{wxGridCellFloatRenderer::GetPrecision}\label{wxgridcellfloatrenderergetprecision} + +\constfunc{int}{GetPrecision}{\void} + +Returns the precision ( see \helpref{wxGridCellFloatRenderer}{wxgridcellfloatrendererconstr} ). + +\membersection{wxGridCellFloatRenderer::GetWidth}\label{wxgridcellfloatrenderergetwidth} + +\constfunc{int}{GetWidth}{\void} + +Returns the width ( see \helpref{wxGridCellFloatRenderer}{wxgridcellfloatrendererconstr} ). + +\membersection{wxGridCellFloatRenderer::SetParameters}\label{wxgridcellfloatrenderersetparameters} + +\func{void}{SetParameters}{\param{const wxString\& }{params}} + +Parameters string format is "width[,precision]". + +\membersection{wxGridCellFloatRenderer::SetPrecision}\label{wxgridcellfloatrenderersetprecision} + +\func{void}{SetPrecision}{\param{int }{precision}} + +Sets the precision ( see \helpref{wxGridCellFloatRenderer}{wxgridcellfloatrendererconstr} ). + +\membersection{wxGridCellFloatRenderer::SetWidth}\label{wxgridcellfloatrenderersetwidth} + +\func{void}{SetWidth}{\param{int }{width}} + +Sets the width ( see \helpref{wxGridCellFloatRenderer}{wxgridcellfloatrendererconstr} ) + + + +\section{\class{wxGridCellNumberRenderer}}\label{wxgridcellnumberrenderer} + +This class may be used to format integer data in a cell. + +\wxheading{Derived from} + +\helpref{wxGridellStringRenderer}{wxgridcellstringrenderer}\\ +\helpref{wxGridCellRenderer}{wxgridcellrenderer} + +\wxheading{See also} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer},\rtfsp +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer},\rtfsp +\helpref{wxGridCellFloatRenderer}{wxgridcellfloatrenderer},\rtfsp +\helpref{wxGridCellBoolRenderer}{wxgridcellboolrenderer} + +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxGridCellNumberRenderer::wxGridCellNumberRenderer}\label{wxgridcellnumberrendererconstr} + +\func{}{wxGridCellNumberRenderer}{} + +Default constructor + \section{\class{wxGridCellRenderer}}\label{wxgridcellrenderer} -%suppress the stupid gcc warning about the class having private dtor and -%no friends This class is responsible for actually drawing the cell in the grid. You may pass it to the wxGridCellAttr (below) to change the format of one given cell or to wxGrid::SetDefaultRenderer() to change the @@ -12,7 +117,12 @@ predefined derived classes or derive your own class from it. wxGridCellWorker -\wxheading{Data structures} +\wxheading{See also} + +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer},\rtfsp +\helpref{wxGridCellNumberRenderer}{wxgridcellnumberrenderer},\rtfsp +\helpref{wxGridCellFloatRenderer}{wxgridcellfloatrenderer},\rtfsp +\helpref{wxGridCellBoolRenderer}{wxgridcellboolrenderer} \latexignore{\rtfignore{\wxheading{Members}}} @@ -38,3 +148,28 @@ Get the preferred size of the cell for its contents. \constfunc{wxGridCellRenderer*}{Clone}{\void} +\section{\class{wxGridCellStringRenderer}}\label{wxgridcellstringrenderer} + +This class may be used to format string data in a cell; it is the default +for string cells. + +\wxheading{Derived from} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer} + +\wxheading{See also} + +\helpref{wxGridCellRenderer}{wxgridcellrenderer},\rtfsp +\helpref{wxGridCellNumberRenderer}{wxgridcellnumberrenderer},\rtfsp +\helpref{wxGridCellFloatRenderer}{wxgridcellfloatrenderer},\rtfsp +\helpref{wxGridCellBoolRenderer}{wxgridcellboolrenderer} + +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxGridCellStringRenderer::wxGridCellStringRenderer}\label{wxgridcellstringrendererconstr} + +\func{}{wxGridCellStringRenderer}{} + +Default constructor + +