EMMA Coverage Report (generated Wed Feb 13 07:49:24 ICT 2008)
[all classes][net.sourceforge.hiveboard.drawing]

COVERAGE SUMMARY FOR SOURCE FILE [ImageToolSettings.java]

nameclass, %method, %block, %line, %
ImageToolSettings.java100% (1/1)100% (11/11)100% (44/44)100% (16/16)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ImageToolSettings100% (1/1)100% (11/11)100% (44/44)100% (16/16)
ImageToolSettings (): void 100% (1/1)100% (3/3)100% (1/1)
getAlpha (): float 100% (1/1)100% (3/3)100% (1/1)
getInsertArea (): Rectangle 100% (1/1)100% (6/6)100% (1/1)
isKeepAspect (): boolean 100% (1/1)100% (3/3)100% (1/1)
isScaled (): boolean 100% (1/1)100% (3/3)100% (1/1)
isUserAlpha (): boolean 100% (1/1)100% (3/3)100% (1/1)
setAlpha (float): void 100% (1/1)100% (4/4)100% (2/2)
setInsertArea (Rectangle): void 100% (1/1)100% (7/7)100% (2/2)
setKeepAspect (boolean): void 100% (1/1)100% (4/4)100% (2/2)
setScaled (boolean): void 100% (1/1)100% (4/4)100% (2/2)
setUserAlpha (boolean): void 100% (1/1)100% (4/4)100% (2/2)

1//  Copyright 2004-2007 Jean-Francois Poilpret
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14 
15package net.sourceforge.hiveboard.drawing;
16 
17import java.awt.Rectangle;
18 
19/**
20 *
21 */
22public class ImageToolSettings
23{
24        public void                setInsertArea(Rectangle insertArea)
25        {
26                _insertArea = new Rectangle(insertArea);
27        }
28        public Rectangle        getInsertArea()
29        {
30                return new Rectangle(_insertArea);
31        }
32 
33        public void                setScaled(boolean scaled)
34        {
35                _scaled = scaled;
36        }
37        public boolean        isScaled()
38        {
39                return _scaled;
40        }
41 
42        public void                setKeepAspect(boolean keepAspect)
43        {
44                _keepAspect = keepAspect;
45        }
46        public boolean        isKeepAspect()
47        {
48                return _keepAspect;
49        }
50 
51        public void                setUserAlpha(boolean userAlpha)
52        {
53                _userAlpha = userAlpha;
54        }
55        public boolean        isUserAlpha()
56        {
57                return _userAlpha;
58        }
59 
60        public void                setAlpha(float alpha)
61        {
62                _alpha = alpha;
63        }
64        public float        getAlpha()
65        {
66                return _alpha;
67        }
68 
69        private Rectangle        _insertArea;
70        private boolean                _scaled;
71        private boolean                _keepAspect;
72        private boolean                _userAlpha;
73        private float                _alpha;
74}

[all classes][net.sourceforge.hiveboard.drawing]
EMMA 2.0.5312 (C) Vladimir Roubtsov