Debian Codegraph @

fontawesomefx-fontawesome/src/main/java/de/jensd/fx/glyphs/fontawesome/utils/FontAwesomeIconFactory.java

raw
1 /**
2 * Copyright (c) 2013-2016 Jens Deters http://www.jensd.de
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
5 * License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
10 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
11 * governing permissions and limitations under the License.
12 *
13 */
14 package de.jensd.fx.glyphs.fontawesome.utils;
15
16 import de.jensd.fx.glyphs.GlyphsFactory;
17 import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView;
18
19 /**
20 *
21 * @author Jens Deters
22 */
23 public class FontAwesomeIconFactory extends GlyphsFactory {
24
25 private static FontAwesomeIconFactory me;
26
27 private FontAwesomeIconFactory() {
28 super(FontAwesomeIconView.class);
29 }
30
31 public static FontAwesomeIconFactory get() {
32 if (me == null) {
33 me = new FontAwesomeIconFactory();
34 }
35 return me;
36 }
37
38 }