Package muntjac :: Package ui :: Module table :: Class ColumnResizeEvent
[hide private]
[frames] | no frames]

Class ColumnResizeEvent

source code

      object --+        
               |        
util.EventObject --+    
                   |    
     component.Event --+
                       |
                      ColumnResizeEvent

This event is fired when a column is resized. The event contains the columns property id which was fired, the previous width of the column and the width of the column after the resize.

Instance Methods [hide private]
 
__init__(self, source, propertyId, previous, current)
Constructor
source code
 
getPropertyId(self)
Get the column property id of the column that was resized.
source code
 
getPreviousWidth(self)
Get the width in pixels of the column before the resize event
source code
 
getCurrentWidth(self)
Get the width in pixels of the column after the resize event
source code

Inherited from component.Event: getComponent

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, source, propertyId, previous, current)
(Constructor)

source code 

Constructor

Parameters:
  • source - The source of the event
  • propertyId - The columns property id
  • previous - The width in pixels of the column before the resize event
  • current - The width in pixels of the column after the resize event
Overrides: object.__init__

getPropertyId(self)

source code 

Get the column property id of the column that was resized.

Returns:
The column property id

getPreviousWidth(self)

source code 

Get the width in pixels of the column before the resize event

Returns:
Width in pixels

getCurrentWidth(self)

source code 

Get the width in pixels of the column after the resize event

Returns:
Width in pixels