Class: Wx::NumValidatorStyle
- Defined in:
- lib/wx/doc/gen/num_validator.rb
Overview
Bit masks used for numeric validator styles.
A combination of these flags can be used when creating IntegerValidator and FloatingPointValidator objects and with their SetStyle() methods.
Category: Validators
Constant Summary collapse
- NUM_VAL_DEFAULT =
Indicates absence of any other flags.
Wx::NumValidatorStyle.new(0)
- NUM_VAL_THOUSANDS_SEPARATOR =
Use thousands separators in the numbers.
Wx::NumValidatorStyle.new(1)
- NUM_VAL_ZERO_AS_BLANK =
Show a value of zero as an empty string.
Wx::NumValidatorStyle.new(2)
- NUM_VAL_NO_TRAILING_ZEROES =
Remove trailing zeroes from the fractional part of the number.
Wx::NumValidatorStyle.new(4)
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