| 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.weathericons.utils; |
| 15 |
|
| 16 |
import de.jensd.fx.glyphs.GlyphsFactory; |
| 17 |
import de.jensd.fx.glyphs.weathericons.WeatherIconView; |
| 18 |
|
| 19 |
/** |
| 20 |
* |
| 21 |
* @author Jens Deters |
| 22 |
*/ |
| 23 |
public class WeatherIconFactory extends GlyphsFactory { |
| 24 |
|
| 25 |
private static WeatherIconFactory me; |
| 26 |
|
| 27 |
private WeatherIconFactory() { |
| 28 |
super(WeatherIconView.class); |
| 29 |
} |
| 30 |
|
| 31 |
public static WeatherIconFactory get() { |
| 32 |
if (me == null) { |
| 33 |
me = new WeatherIconFactory(); |
| 34 |
} |
| 35 |
return me; |
| 36 |
} |
| 37 |
|
| 38 |
} |