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 & 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.ui;

import com.vaadin.server.FontIcon;
import com.vaadin.server.GenericFontIcon;

/**
 * The available OpenCms workplace icons.

*/ public enum FontOpenCms implements FontIcon { /** The add icon. */ ADD_SMALL(0xe90b), /** The apps icon. */ APPS(0xe617), /** The brackets icon. */ BRACKETS(0xe921), /** The check icon. */ CHECK_SMALL(0xe916), /** 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 context menu dots icon. */ CONTEXT_MENU_DOTS(0xe91c), /** The context menu icon. */ CONTEXT_MENU_SMALL(0xe909), /** The copy locale icon. */ COPY_LOCALE(0xe61a), /** The cut icon. */ CUT_SMALL(0xe906), /** the delete icon. */ DELETE_SMALL(0xe90c), /** The edit down icon. */ EDIT_DOWN_SMALL(0xe90f), /** The bulls eye edit icon. */ EDIT_POINT(0xe600), /** The disabled bulls eye edit icon. */ EDIT_POINT_DISABLED(0xe601), /** The bulls eye edit icon. */ EDIT_POINT_SMALL(0xe900), /** The edit up icon. */ EDIT_UP_SMALL(0xe910), /** The error icon. */ ERROR(0xed6b), /** The exit icon. */ EXIT(0xe615), /** The favorite icon. */ FAVORITE_SMALL(0xe905), /** 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 highlight icon. */ HIGHLIGHT(0xe91e), /** The info icon. */ INFO(0xe612), /** The info icon. */ INFO_SMALL(0xe903), /** The invisible chars icon. */ INVISIBLE_CHARS(0xe91f), /** The lock icon. */ LOCK_SMALL(0xe90d), /** The move icon. */ MOVE_SMALL(0xe902), /** The pen/edit icon. */ PEN(0xe614), /** The pen/edit icon. */ PEN_SMALL(0xe901), /** The preview icon. */ PREVIEW_SMALL(0xe90e), /** 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 search replace icon. */ SEARCH_REPLACE(0xe91d), /** The search icon. */ SEARCH_SMALL(0xe907), /** The settings icon. */ SETTINGS(0xe618), /** The settings icon. */ SETTINGS_SMALL(0xe904), /** The show icon. */ SHOW(0xe608), /** The sitemap icon. */ SITEMAP(0xe613), /** The sitemap icon. */ SITEMAP_SMALL(0xe90a), /** An empty icon. */ SPACE(0x0020), /** The trash icon. */ TRASH_SMALL(0xe913), /** 'minus' state icon for tree opener. */ TREE_MINUS(0xe919), /** 'plus' state icon for tree opener. */ TREE_PLUS(0xe918), /** The undo icon. */ UNDO(0xe606), /** The upload icon. */ UPLOAD(0xe604), /** The upload icon. */ UPLOAD_SMALL(0xe908), /** The wand icon. */ WAND(0xe610), /** The warning icon. */ WARNING(0xed50), /** The wrap lines icon. */ WRAP_LINES(0xe920); /** The font family. */ public static final String FONT_FAMILY = "opencms-font"; /** 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 FONT_FAMILY; } /** * @see com.vaadin.server.FontIcon#getHtml() */ @Override public String getHtml() { return GenericFontIcon.getHtml(getFontFamily(), getCodepoint()); } /** * @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 - 2024 Weber Informatics LLC | Privacy Policy