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

Class VerticalLocationIs

source code

                                                   object --+            
                                                            |            
    event.dd.acceptcriteria.accept_criterion.IAcceptCriterion --+        
                                                                |        
event.dd.acceptcriteria.client_side_criterion.ClientSideCriterion --+    
                                                                    |    
              event.dd.acceptcriteria.target_detail_is.TargetDetailIs --+
                                                                        |
                                                                       VerticalLocationIs

An accept criterion to accept drops only on a specific vertical location of an item.

This accept criterion is currently usable in Tree and Table implementations.

Instance Methods [hide private]
 
__init__(self, l)
Constructs a criterion which ensures that the value there is a value in TargetDetails that equals the reference value.
source code

Inherited from event.dd.acceptcriteria.target_detail_is.TargetDetailIs: accept, getIdentifier, paintContent

Inherited from event.dd.acceptcriteria.client_side_criterion.ClientSideCriterion: isClientSideVerifiable, paint, paintResponse

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

Class Variables [hide private]
  TOP = VerticalLocationIs(VerticalDropLocation.TOP)
  BOTTOM = VerticalLocationIs(VerticalDropLocation.BOTTOM)
  MIDDLE = VerticalLocationIs(VerticalDropLocation.MIDDLE)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, l)
(Constructor)

source code 

Constructs a criterion which ensures that the value there is a value in TargetDetails that equals the reference value.

Parameters:
  • dataFlavor - the type of data to be checked
  • value - the reference value to which the drop target detail will be compared
Overrides: object.__init__
(inherited documentation)