# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx::GRID

  # This class may be used to format floating point data in a cell.
  # === 
  # 
  # Category:  Grid Related Classes
  # @see Wx::GRID::GridCellRenderer
  # @see  Wx::GRID::GridCellAutoWrapStringRenderer
  # @see  Wx::GRID::GridCellBoolRenderer
  # @see  Wx::GRID::GridCellDateTimeRenderer
  # @see  Wx::GRID::GridCellEnumRenderer
  # @see  Wx::GRID::GridCellNumberRenderer
  # @see  Wx::GRID::GridCellStringRenderer 
  # 
  # 
  class GridCellFloatRenderer < GridCellStringRenderer
  
    # Float cell renderer ctor.
    # @param width [Integer]  Minimum number of characters to be shown.
    # @param precision [Integer]  Number of digits after the decimal dot.
    # @param format [Integer]  The format used to display the string, must be a combination of {Wx::GRID::GridCellFloatFormat} enum elements. This parameter is only available since wxWidgets 2.9.3.
    # @return [GridCellFloatRenderer]
    def initialize(width=-1, precision=-1, format=Wx::GRID::GridCellFloatFormat::GRID_FLOAT_FORMAT_DEFAULT) end
    
    # Returns the specifier used to format the data to string.
    # The returned value is a combination of {Wx::GRID::GridCellFloatFormat} elements.
    # @return [Integer]
    def get_format; end
    alias_method :format, :get_format
    
    # Returns the precision.
    # @return [Integer]
    def get_precision; end
    alias_method :precision, :get_precision
    
    # Returns the width.
    # @return [Integer]
    def get_width; end
    alias_method :width, :get_width
    
    # Set the format to use for display the number.
    # @param format [Integer]  Must be a combination of {Wx::GRID::GridCellFloatFormat} enum elements.
    # @return [void]
    def set_format(format) end
    alias_method :format=, :set_format
    
    # The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)
    # @param params [String] 
    # @return [void]
    def set_parameters(params) end
    alias_method :parameters=, :set_parameters
    
    # Sets the precision.
    # @param precision [Integer] 
    # @return [void]
    def set_precision(precision) end
    alias_method :precision=, :set_precision
    
    # Sets the width.
    # @param width [Integer] 
    # @return [void]
    def set_width(width) end
    alias_method :width=, :set_width
    
  end # GridCellFloatRenderer
  

end