Package muntjac :: Package event :: Package dd :: Package acceptcriteria :: Module client_criterion
[hide private]
[frames] | no frames]

Source Code for Module muntjac.event.dd.acceptcriteria.client_criterion

 1  # Copyright (C) 2012 Vaadin Ltd.  
 2  # Copyright (C) 2012 Richard Lincoln 
 3  #  
 4  # Licensed under the Apache License, Version 2.0 (the "License");  
 5  # you may not use this file except in compliance with the License.  
 6  # You may obtain a copy of the License at  
 7  #  
 8  #     http://www.apache.org/licenses/LICENSE-2.0  
 9  #  
10  # Unless required by applicable law or agreed to in writing, software  
11  # distributed under the License is distributed on an "AS IS" BASIS,  
12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
13  # See the License for the specific language governing permissions and  
14  # limitations under the License. 
15   
16   
17 -class ClientCriterion(object):
18 """An annotation type used to point the client side counterpart for server 19 side a L{AcceptCriterion} class. Usage is pretty similar to L{ClientWidget} 20 which is used with Muntjac components that have a specialized client side 21 counterpart. 22 23 Annotations are used at GWT compilation phase, so remember to rebuild your 24 widgetset if you do changes for L{ClientCriterion} mappings. 25 """ 26 27 # the client side counterpart for the annotated criterion 28 value = None
29