All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.ade.galleries.shared.CmsImageInfoBean Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 18.0
Show newest version
/*
 * This library is part of OpenCms -
 * the Open Source Content Management System
 *
 * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * For further information about Alkacon Software, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package org.opencms.ade.galleries.shared;

/**
 * Bean holding image info to be display in the resource preview dialog.

* * @since 8.0. */ public class CmsImageInfoBean extends CmsResourceInfoBean { /** The image copyright information. */ private String m_copyright; /** The structure id hash. */ private int m_hash; /** The image height. */ private int m_height; /** The selected image path (used for editor and widget mode). */ private String m_selectedPath; /** The view link for displaying the image. */ private String m_viewLink; /** The image width. */ private int m_width; /** * Returns the image copyright information.

* * @return the image copyright information */ public String getCopyright() { return m_copyright; } /** * Returns the structure id hash.

* * @return the hash */ public int getHash() { return m_hash; } /** * Returns the height.

* * @return the height */ public int getHeight() { return m_height; } /** * Returns the selected path.

* * @return the selected path */ public String getSelectedPath() { return m_selectedPath; } /** * The view link for displaying the image.

* * @return the link for displaying the image */ public String getViewLink() { return m_viewLink; } /** * Returns the width.

* * @return the width */ public int getWidth() { return m_width; } /** * Sets the image copyright information.

* * @param copyright the image copyright information to set */ public void setCopyright(String copyright) { m_copyright = copyright; } /** * Sets the hash.

* * @param hash the hash */ public void setHash(int hash) { m_hash = hash; } /** * Sets the height.

* * @param height the height to set */ public void setHeight(int height) { m_height = height; } /** * Sets the selected path.

* * @param selectedPath the selected path to set */ public void setSelectedPath(String selectedPath) { m_selectedPath = selectedPath; } /** * Sets the link for displaying the image.

* * @param viewLink the link for displaying the image */ public void setViewLink(String viewLink) { m_viewLink = viewLink; } /** * Sets the width.

* * @param width the width to set */ public void setWidth(int width) { m_width = width; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy