Clover coverage report - Code Coverage for tapestry-contrib release 4.0-beta-8
Coverage timestamp: Sat Sep 24 2005 11:56:21 EDT
file stats: LOC: 76   Methods: 7
NCLOC: 42   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TreeRowObject.java - 0% 0% 0%
coverage
 1    // Copyright 2004, 2005 The Apache Software Foundation
 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   
 15    package org.apache.tapestry.contrib.tree.model;
 16   
 17    /**
 18    * @author ceco
 19    */
 20    public class TreeRowObject {
 21    public static final int FIRST_ROW = 1;
 22    public static final int MIDDLE_ROW = 2;
 23    public static final int LAST_ROW = 3;
 24    public static final int FIRST_LAST_ROW = 4;
 25   
 26    public static final int EMPTY_CONN_IMG = 1;
 27    public static final int LINE_CONN_IMG = 2;
 28   
 29    private Object m_objTreeNode = null;
 30    private Object m_objTreeNodeUID = null;
 31    private int m_nTreeRowDepth;
 32    private boolean m_bLeaf = false;
 33    private int m_nTreeRowPossiotionType = MIDDLE_ROW;
 34    private int[] m_nLineConnImages;
 35   
 36  0 public TreeRowObject(Object objTreeNode, Object objTreeNodeUID, int nTreeRowDepth, boolean bLeaf, int nTreeRowPossiotionType, int[] nLineConnImages) {
 37  0 super();
 38  0 m_objTreeNode = objTreeNode;
 39  0 m_objTreeNodeUID = objTreeNodeUID;
 40  0 m_nTreeRowDepth = nTreeRowDepth;
 41  0 m_bLeaf = bLeaf;
 42  0 m_nTreeRowPossiotionType = nTreeRowPossiotionType;
 43  0 m_nLineConnImages = nLineConnImages;
 44    }
 45   
 46  0 public Object getTreeNode() {
 47  0 return m_objTreeNode;
 48    }
 49   
 50  0 public Object getTreeNodeUID() {
 51  0 return m_objTreeNodeUID;
 52    }
 53   
 54  0 public int getTreeRowDepth() {
 55  0 return m_nTreeRowDepth;
 56    }
 57   
 58    /**
 59    * @return Returns the leaf.
 60    */
 61  0 public boolean getLeaf() {
 62  0 return m_bLeaf;
 63    }
 64    /**
 65    * @return Returns the treeRowPossiotionType.
 66    */
 67  0 public int getTreeRowPossiotionType() {
 68  0 return m_nTreeRowPossiotionType;
 69    }
 70    /**
 71    * @return Returns the lineConnImages.
 72    */
 73  0 public int[] getLineConnImages() {
 74  0 return m_nLineConnImages;
 75    }
 76    }