001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    import java.io.Serializable;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    public class SpriteImage implements Serializable {
023    
024            public SpriteImage(
025                    String spriteFileName, String imageFileName, int offset, int height,
026                    int width) {
027    
028                    _spriteFileName = spriteFileName;
029                    _imageFileName = imageFileName;
030                    _offset = offset;
031                    _height = height;
032                    _width = width;
033            }
034    
035            public String getSpriteFileName() {
036                    return _spriteFileName;
037            }
038    
039            public String getImageFileName() {
040                    return _imageFileName;
041            }
042    
043            public int getOffset() {
044                    return _offset;
045            }
046    
047            public int getHeight() {
048                    return _height;
049            }
050    
051            public int getWidth() {
052                    return _width;
053            }
054    
055            private String _spriteFileName;
056            private String _imageFileName;
057            private int _offset;
058            private int _height;
059            private int _width;
060    
061    }