Package muntjac :: Package ui :: Module abstract_select :: Class IFiltering
[hide private]
[frames] | no frames]

Class IFiltering

source code

object --+
         |
        IFiltering

Interface for option filtering, used to filter options based on user entered value. The value is matched to the item caption. FILTERINGMODE_OFF (0) turns the filtering off. FILTERINGMODE_STARTSWITH (1) matches from the start of the caption. FILTERINGMODE_CONTAINS (1) matches anywhere in the caption.

Instance Methods [hide private]
 
setFilteringMode(self, filteringMode)
Sets the option filtering mode.
source code
 
getFilteringMode(self)
Gets the current filtering mode.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  FILTERINGMODE_OFF = 0
  FILTERINGMODE_STARTSWITH = 1
  FILTERINGMODE_CONTAINS = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setFilteringMode(self, filteringMode)

source code 

Sets the option filtering mode.

Parameters:
  • filteringMode - the filtering mode to use

getFilteringMode(self)

source code 

Gets the current filtering mode.

Returns:
the filtering mode in use