Class: Wx::TextValidatorStyle
- Defined in:
- lib/wx/doc/gen/text_validator.rb
Overview
Styles used by TextValidator.
Notice that FILTER_EXCLUDE[CHAR]LIST pair can be used to document the purpose of the validator only and are not enforced in the implementation of the TextValidator. Therefore, calling the corresponding member functions: TextValidator::SetExcludes,SetCharExcludes(), is enough to create the desired validator.
Constant Summary collapse
- FILTER_NONE =
No filtering takes place.
Wx::TextValidatorStyle.new(0)
- FILTER_EMPTY =
Empty strings are filtered out.
Wx::TextValidatorStyle.new(1)
- FILTER_ASCII =
Non-ASCII characters are filtered out. See Wx::String::IsAscii.
Wx::TextValidatorStyle.new(2)
- FILTER_ALPHA =
Non-alpha characters are filtered out.
Wx::TextValidatorStyle.new(4)
- FILTER_ALPHANUMERIC =
Non-alphanumeric characters are filtered out.
Wx::TextValidatorStyle.new(8)
- FILTER_DIGITS =
Non-digit characters are filtered out.
Wx::TextValidatorStyle.new(16)
- FILTER_NUMERIC =
Non-numeric characters are filtered out.
Wx::TextValidatorStyle.new(32)
- FILTER_INCLUDE_LIST =
Use an include list.
Wx::TextValidatorStyle.new(64)
- FILTER_INCLUDE_CHAR_LIST =
Use an include char list.
Wx::TextValidatorStyle.new(128)
- FILTER_EXCLUDE_LIST =
Use an exclude list.
Wx::TextValidatorStyle.new(256)
- FILTER_EXCLUDE_CHAR_LIST =
Use an exclude char list.
Wx::TextValidatorStyle.new(512)
- FILTER_XDIGITS =
Non-hexadecimal characters are filtered out.
Wx::TextValidatorStyle.new(1024)
- FILTER_SPACE =
A convenience flag for use with the other flags.
Wx::TextValidatorStyle.new(2048)
Method Summary
Methods inherited from Enum
#!, #&, #<=>, #allbits?, #anybits?, #coerce, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, #real?, #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