Coverage Report - org.seasar.uruma.component.jface.FillLayoutInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
FillLayoutInfo
67%
2/3
N/A
0
 
 1  
 /*
 2  
  * Copyright 2004-2008 the Seasar Foundation and the Others.
 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, 
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.uruma.component.jface;
 17  
 
 18  
 import org.seasar.uruma.annotation.ComponentAttribute;
 19  
 import org.seasar.uruma.annotation.ComponentElement;
 20  
 import org.seasar.uruma.annotation.FieldDescription;
 21  
 import org.seasar.uruma.annotation.RenderingPolicy;
 22  
 import org.seasar.uruma.annotation.RenderingPolicy.ConversionType;
 23  
 import org.seasar.uruma.annotation.RenderingPolicy.TargetType;
 24  
 import org.seasar.uruma.component.LayoutDataInfo;
 25  
 import org.seasar.uruma.component.LayoutInfo;
 26  
 import org.seasar.uruma.component.base.AbstractUIElement;
 27  
 
 28  
 /**
 29  
  * {@link org.eclipse.swt.layout.FillLayout} に関する情報を保持するクラスです。<br />
 30  
  * 
 31  
  * @author y-komori
 32  
  */
 33  
 @ComponentElement
 34  112
 public class FillLayoutInfo extends AbstractUIElement implements
 35  
         LayoutInfo<LayoutDataInfo> {
 36  
     @RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT)
 37  
     @ComponentAttribute
 38  
     @FieldDescription("縦方向マージン")
 39  
     public String marginHeight;
 40  
 
 41  
     @RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT)
 42  
     @ComponentAttribute
 43  
     @FieldDescription("横方向マージン")
 44  
     public String marginWidth;
 45  
 
 46  
     @RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT)
 47  
     @ComponentAttribute
 48  
     @FieldDescription("スペーシング")
 49  
     public String spacing;
 50  
 
 51  
     @RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.SWT_CONST)
 52  
     @ComponentAttribute
 53  
     @FieldDescription("種別")
 54  
     public String type;
 55  
 
 56  
     /*
 57  
      * @see org.seasar.uruma.component.LayoutInfo#getCommonLayoutDataInfo()
 58  
      */
 59  
     public LayoutDataInfo getCommonLayoutDataInfo() {
 60  220
         return null;
 61  
     }
 62  
 
 63  
     /*
 64  
      * @see org.seasar.uruma.component.LayoutInfo#setCommonLayoutDataInfo(org.seasar.uruma.component.LayoutDataInfo)
 65  
      */
 66  
     public void setCommonLayoutDataInfo(final LayoutDataInfo layoutDataInfo) {
 67  
         // Do nothing.
 68  0
     }
 69  
 }