svn-gvsig-desktop / trunk / libraries / libGeometries / src / org / gvsig / geometries / operation / println / PrintlnControler.java @ 20086
History | View | Annotate | Download (2.73 KB)
1 |
package org.gvsig.geometries.operation.println; |
---|---|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
3 |
*
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* Generalitat Valenciana
|
23 |
* Conselleria d'Infraestructures i Transport
|
24 |
* Av. Blasco Ib??ez, 50
|
25 |
* 46010 VALENCIA
|
26 |
* SPAIN
|
27 |
*
|
28 |
* +34 963862235
|
29 |
* gvsig@gva.es
|
30 |
* www.gvsig.gva.es
|
31 |
*
|
32 |
* or
|
33 |
*
|
34 |
* IVER T.I. S.A
|
35 |
* Salamanca 50
|
36 |
* 46005 Valencia
|
37 |
* Spain
|
38 |
*
|
39 |
* +34 963163400
|
40 |
* dac@iver.es
|
41 |
*/
|
42 |
/* CVS MESSAGES:
|
43 |
*
|
44 |
* $Id: PrintlnControler.java,v 1.1 2008/03/12 08:46:21 cvs Exp $
|
45 |
* $Log: PrintlnControler.java,v $
|
46 |
* Revision 1.1 2008/03/12 08:46:21 cvs
|
47 |
* *** empty log message ***
|
48 |
*
|
49 |
*
|
50 |
*/
|
51 |
/**
|
52 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es)
|
53 |
*/
|
54 |
public class PrintlnControler { |
55 |
public boolean hasChildren = false; |
56 |
public int childrenNumber = 0; |
57 |
public int childrenVisited = 0; |
58 |
public String tab = ""; |
59 |
|
60 |
/**
|
61 |
* Initialize the geometries level to 0
|
62 |
*/
|
63 |
public void setLevel0(){ |
64 |
hasChildren = false;
|
65 |
tab = "";
|
66 |
childrenNumber = 0;
|
67 |
childrenVisited = 0;
|
68 |
} |
69 |
|
70 |
/**
|
71 |
* @return the hasChildren
|
72 |
*/
|
73 |
public boolean isHasChildren() { |
74 |
return hasChildren;
|
75 |
} |
76 |
/**
|
77 |
* @param hasChildren the hasChildren to set
|
78 |
*/
|
79 |
public void setHasChildren(boolean hasChildren) { |
80 |
this.hasChildren = hasChildren;
|
81 |
} |
82 |
/**
|
83 |
* @return the childrenNumber
|
84 |
*/
|
85 |
public int getChildrenNumber() { |
86 |
return childrenNumber;
|
87 |
} |
88 |
/**
|
89 |
* @param childrenNumber the childrenNumber to set
|
90 |
*/
|
91 |
public void setChildrenNumber(int childrenNumber) { |
92 |
this.childrenNumber = childrenNumber;
|
93 |
} |
94 |
/**
|
95 |
* @return the childrenVisited
|
96 |
*/
|
97 |
public int getChildrenVisited() { |
98 |
return childrenVisited;
|
99 |
} |
100 |
/**
|
101 |
* @param childrenVisited the childrenVisited to set
|
102 |
*/
|
103 |
public void setChildrenVisited(int childrenVisited) { |
104 |
this.childrenVisited = childrenVisited;
|
105 |
} |
106 |
/**
|
107 |
* @return the tab
|
108 |
*/
|
109 |
public String getTab() { |
110 |
return tab;
|
111 |
} |
112 |
/**
|
113 |
* @param tab the tab to set
|
114 |
*/
|
115 |
public void setTab(String tab) { |
116 |
this.tab = tab;
|
117 |
} |
118 |
} |