| SpriteImage.java |
1 /**
2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3 *
4 * The contents of this file are subject to the terms of the Liferay Enterprise
5 * Subscription License ("License"). You may not use this file except in
6 * compliance with the License. You can obtain a copy of the License by
7 * contacting Liferay, Inc. See the License for the specific language governing
8 * permissions and limitations under the License, including but not limited to
9 * distribution rights of the Software.
10 *
11 *
12 *
13 */
14
15 package com.liferay.portal.model;
16
17 import java.io.Serializable;
18
19 /**
20 * <a href="SpriteImage.java.html"><b><i>View Source</i></b></a>
21 *
22 * @author Brian Wing Shun Chan
23 */
24 public class SpriteImage implements Serializable {
25
26 public SpriteImage(
27 String spriteFileName, String imageFileName, int offset, int height,
28 int width) {
29
30 _spriteFileName = spriteFileName;
31 _imageFileName = imageFileName;
32 _offset = offset;
33 _height = height;
34 _width = width;
35 }
36
37 public String getSpriteFileName() {
38 return _spriteFileName;
39 }
40
41 public String getImageFileName() {
42 return _imageFileName;
43 }
44
45 public int getOffset() {
46 return _offset;
47 }
48
49 public int getHeight() {
50 return _height;
51 }
52
53 public int getWidth() {
54 return _width;
55 }
56
57 private String _spriteFileName;
58 private String _imageFileName;
59 private int _offset;
60 private int _height;
61 private int _width;
62
63 }