Package muntjac :: Package ui :: Module abstract_text_field :: Class TextChangeEventImpl
[hide private]
[frames] | no frames]

Class TextChangeEventImpl

source code

                object --+            
                         |            
          util.EventObject --+        
                             |        
               component.Event --+    
                                 |    
event.field_events.TextChangeEvent --+
                                     |
                                    TextChangeEventImpl

Instance Methods [hide private]
 
__init__(self, tf)
Constructs a new event with the specified source component.
source code
 
getComponent(self)
Gets the component where the event occurred.
source code
 
getText(self)
Returns: the text content of the field after the TextChangeEvent
source code
 
getCursorPosition(self)
Returns: the cursor position during after the TextChangeEvent
source code

Inherited from util.EventObject: getSource

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tf)
(Constructor)

source code 

Constructs a new event with the specified source component.

Parameters:
  • source - the source component of the event
Overrides: object.__init__
(inherited documentation)

getComponent(self)

source code 

Gets the component where the event occurred.

Returns:
the source component of the event
Overrides: component.Event.getComponent
(inherited documentation)

getText(self)

source code 
Returns:
the text content of the field after the TextChangeEvent
Overrides: event.field_events.TextChangeEvent.getText
(inherited documentation)

getCursorPosition(self)

source code 
Returns:
the cursor position during after the TextChangeEvent
Overrides: event.field_events.TextChangeEvent.getCursorPosition
(inherited documentation)