Class: Wx::GRID::GridCellDateRenderer
- Inherits:
-
GridCellStringRenderer
- Object
- GridCellRenderer
- GridCellStringRenderer
- Wx::GRID::GridCellDateRenderer
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_date_renderer.rb
Overview
This class may be used to show a date, without time, in a cell.
See GridCellDateTimeRenderer for a date/time version. Wx::DateTime#format is used internally to render the date representation. Wx::DateTime#parse_date is used to parse the string data entered in the cell.
Category: Grid Related Classes
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(outformat = ('')) ⇒ Wx::GRID::GridCellDateRenderer
constructor
Date renderer constructor.
-
#set_parameters(params) ⇒ void
(also: #parameters=)
Sets the strftime()-like format string which will be used to render the date.
Methods inherited from GridCellRenderer
#clone, #draw, #get_best_height, #get_best_size, #get_best_width, #get_max_best_size
Constructor Details
#initialize(outformat = ('')) ⇒ Wx::GRID::GridCellDateRenderer
Date renderer constructor.
32 |
# File 'lib/wx/doc/gen/grid/grid_cell_date_renderer.rb', line 32 def initialize(outformat=('')) end |
Instance Method Details
#set_parameters(params) ⇒ void Also known as: parameters=
This method returns an undefined value.
Sets the strftime()-like format string which will be used to render the date.
37 |
# File 'lib/wx/doc/gen/grid/grid_cell_date_renderer.rb', line 37 def set_parameters(params) end |