View Javadoc

1   /*
2    * sbxb library, part of ULMgen product
3    * Copyright (C) 2003,2005 Thierry Beigbeder
4    *
5    * This program is free software; you can redistribute it and/or modify
6    * it under the terms of the GNU General Public License as published by
7    * the Free Software Foundation; either version 2 of the License, or
8    * (at your option) any later version.
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with this program; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   */
19  /*
20   * $Header: $
21   * $Revision: $
22   * $Date: $
23   *
24   * History :
25   * Who       yyyy/mm/dd   Action
26   * --------  ----------   ------
27   */
28  
29  
30  package org.otvl.sbxbsamp.simple;
31  
32  
33  // Insert here additional imports
34  
35  /***
36   * A frame in a page.
37   * @author
38   * @version
39   */
40  
41  
42  public class Frame
43  {
44  	/*-------------------------------------------------------------------------
45  	 * Attributes declaration
46  	 *-------------------------------------------------------------------------*/
47  	/***
48  	 * 
49  	 */
50  	private String name;
51  	/***
52  	 * 
53  	 */
54  	private int x;
55  	/***
56  	 * 
57  	 */
58  	private int y;
59  
60  
61  	/*-------------------------------------------------------------------------
62  	 * Associations declaration
63  	 *-------------------------------------------------------------------------*/
64  
65  
66  	/*-------------------------------------------------------------------------
67  	 * Operations
68  	 *-------------------------------------------------------------------------*/
69  
70  
71  	/*-------------------------------------------------------------------------
72  	 * Attribute accessors
73  	 *-------------------------------------------------------------------------*/
74  	//------------------------
75  	// Accessors for attribute name
76  	//------------------------
77  	/***
78  	 * Returns the name.<br/>
79  	 * 
80  	 * @return String
81  	 */
82  	public String getName() {
83  		String vName = name;
84  		return vName;
85  	}
86  
87  	/***
88  	 * Sets the name.<br/>
89  	 * 
90  	 * @param name The name to set
91  	 */
92  	public void setName(String name) {
93  		this.name = name;
94  	}
95  
96  	//------------------------
97  	// Accessors for attribute x
98  	//------------------------
99  	/***
100 	 * Returns the x.<br/>
101 	 * 
102 	 * @return int
103 	 */
104 	public int getX() {
105 		int vX = x;
106 		return vX;
107 	}
108 
109 	/***
110 	 * Sets the x.<br/>
111 	 * 
112 	 * @param x The x to set
113 	 */
114 	public void setX(int x) {
115 		this.x = x;
116 	}
117 
118 	//------------------------
119 	// Accessors for attribute y
120 	//------------------------
121 	/***
122 	 * Returns the y.<br/>
123 	 * 
124 	 * @return int
125 	 */
126 	public int getY() {
127 		int vY = y;
128 		return vY;
129 	}
130 
131 	/***
132 	 * Sets the y.<br/>
133 	 * 
134 	 * @param y The y to set
135 	 */
136 	public void setY(int y) {
137 		this.y = y;
138 	}
139 
140 
141 
142 	/*-------------------------------------------------------------------------
143 	 * Association accessors
144 	 *-------------------------------------------------------------------------*/
145 
146 }