Class: Wx::GRID::GridCellFloatFormat

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/grid/grid_ctrl.rb

Overview

Specifier used to format the data to string for the numbers handled by GridCellFloatRenderer and GridCellFloatEditor.

Requires:

  • USE_GRID

Constant Summary collapse

GRID_FLOAT_FORMAT_FIXED =

Decimal floating point (f).

Wx::GRID::GridCellFloatFormat.new(16)
GRID_FLOAT_FORMAT_SCIENTIFIC =

Scientific notation (mantissa/exponent) using e character (e).

Wx::GRID::GridCellFloatFormat.new(32)
GRID_FLOAT_FORMAT_COMPACT =

Use the shorter of e or f (g).

Wx::GRID::GridCellFloatFormat.new(64)
GRID_FLOAT_FORMAT_UPPER =

To use in combination with one of the above formats for the upper case version (F/E/G)

Wx::GRID::GridCellFloatFormat.new(128)
GRID_FLOAT_FORMAT_DEFAULT =

The format used by default (GRID_FLOAT_FORMAT_FIXED).

Wx::GRID::GridCellFloatFormat.new(16)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum