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

org.opencms.ui.FontOpenCms 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 (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.ui;

import com.vaadin.server.FontIcon;

/**
 * The available OpenCms workplace icons.

*/ public enum FontOpenCms implements FontIcon { /** The apps icon. */ APPS(0xe617), /** The circle icon. */ CIRCLE(0xe62a), /** The circle cancel icon. */ CIRCLE_CANCEL(0x622), /** The circle check icon. */ CIRCLE_CHECK(0xe61e), /** The circle info icon. */ CIRCLE_INFO(0xed6c), /** The circle invert icon. */ CIRCLE_INV(0xe62b), /** The circle invert cancel icon. */ CIRCLE_INV_CANCEL(0xe623), /** The circle invert check icon. */ CIRCLE_INV_CHECK(0xe61f), /** The circle invert minus icon. */ CIRCLE_INV_MINUS(0xe629), /** The circle invert pause icon. */ CIRCLE_INV_PAUSE(0x0621), /** The circle invert play icon. */ CIRCLE_INV_PLAY(0xe625), /** The circle invert plus icon. */ CIRCLE_INV_PLUS(0xe627), /** The circle minus icon. */ CIRCLE_MINUS(0xe628), /** The circle pause icon. */ CIRCLE_PAUSE(0xe620), /** The circle play icon. */ CIRCLE_PLAY(0xe624), /** The circle plus icon. */ CIRCLE_PLUS(0xe626), /** The clipboard icon. */ CLIPBOARD(0xe60f), /** The context menu icon. */ CONTEXT_MENU(0xe616), /** The copy locale icon. */ COPY_LOCALE(0xe61a), /** The bulls eye edit icon. */ EDIT_POINT(0xe600), /** The disabled bulls eye edit icon. */ EDIT_POINT_DISABLED(0xe601), /** The error icon. */ ERROR(0xed6b), /** The exit icon. */ EXIT(0xe615), /** The filter icon. */ FILTER(0xe60c), /** The gallery icon. */ GALLERY(0xe611), /** The help icon. */ HELP(0xe602), /** The disabled help icon. */ HELP_DISABLED(0xe603), /** The hide icon. */ HIDE(0xe609), /** The info icon. */ INFO(0xe612), /** The pen/edit icon. */ PEN(0xe614), /** The publish icon. */ PUBLISH(0xe60e), /** The redo icon. */ REDO(0xe607), /** The remove locale icon. */ REMOVE_LOCALE(0xe619), /** The save icon. */ SAVE(0xe60b), /** The save and exit icon. */ SAVE_EXIT(0xe60a), /** The search icon. */ SEARCH(0xe60d), /** The settings icon. */ SETTINGS(0xe618), /** The show icon. */ SHOW(0xe608), /** The sitemap icon. */ SITEMAP(0xe613), /** The undo icon. */ UNDO(0xe606), /** The upload icon. */ UPLOAD(0xe604), /** The wand icon. */ WAND(0xe610), /** The warning icon. */ WARNING(0xed50); /** The icon code point. */ private int m_codepoint; /** * Constructor.

* * @param codepoint the icon code point */ FontOpenCms(int codepoint) { m_codepoint = codepoint; } /** * @see com.vaadin.server.FontIcon#getCodepoint() */ @Override public int getCodepoint() { return m_codepoint; } /** * @see com.vaadin.server.FontIcon#getFontFamily() */ @Override public String getFontFamily() { return "opencms-font"; } /** * @see com.vaadin.server.FontIcon#getHtml() */ @Override public String getHtml() { return "&#x" + Integer.toHexString(m_codepoint) + ";"; } /** * @see com.vaadin.server.Resource#getMIMEType() */ @Override public String getMIMEType() { throw new UnsupportedOperationException( FontIcon.class.getSimpleName() + " should not be used where a MIME type is needed."); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy