001package org.gwtbootstrap3.extras.summernote.client.ui.base; 002 003/* 004 * #%L 005 * GwtBootstrap3 006 * %% 007 * Copyright (C) 2016 GwtBootstrap3 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 022 023/** 024 * Summernote font name 025 * 026 * @author Xiaodong Sun 027 */ 028public class SummernoteFontName { 029 030 // Built-in font names 031 public static final SummernoteFontName ARIAL = new SummernoteFontName("Arial"); 032 public static final SummernoteFontName ARIAL_BLACK = new SummernoteFontName("Arial Black"); 033 public static final SummernoteFontName COMIC_SANS_MS = new SummernoteFontName("Comic Sans MS"); 034 public static final SummernoteFontName COURIER_NEW = new SummernoteFontName("Courier New"); 035 public static final SummernoteFontName HELVETICA_NEUE = new SummernoteFontName("Helvetica Neue"); 036 public static final SummernoteFontName HELVETICA = new SummernoteFontName("Helvetica"); 037 public static final SummernoteFontName IMPACT = new SummernoteFontName("Impact"); 038 public static final SummernoteFontName LUCIDA_GRANDE = new SummernoteFontName("Lucida Grande"); 039 public static final SummernoteFontName TAHOMA = new SummernoteFontName("Tahoma"); 040 public static final SummernoteFontName TIMES_NEW_ROMAN = new SummernoteFontName("Times New Roman"); 041 public static final SummernoteFontName VERDANA = new SummernoteFontName("Verdana"); 042 043 private final String name; 044 045 /** 046 * Creates a new font name. 047 * 048 * @param name 049 */ 050 public SummernoteFontName(String name) { 051 this.name = name; 052 } 053 054 /** 055 * Returns the font name. 056 * 057 * @return the font name 058 */ 059 public String getName() { 060 return name; 061 } 062 063}