Compare commits
112 Commits
feature/bi
...
persist/10
Author | SHA1 | Date |
---|---|---|
superman | 5d27e8c274 | 2 months ago |
superman | 48142925d6 | 2 months ago |
superman | a7a1467bcf | 2 months ago |
Destiny.Lin-林锦龙 | c32e841a97 | 3 months ago |
Destiny.Lin | 3e17752c77 | 3 months ago |
superman | 3d2d5e6a66 | 3 months ago |
superman | 5d6c8c9c8d | 3 months ago |
superman | b1d267c8bb | 3 months ago |
superman | 67cadd1490 | 4 months ago |
superman | 5908b9ae7f | 4 months ago |
superman | f064e8e0a4 | 4 months ago |
superman | b993803832 | 4 months ago |
superman | 590ffc17d0 | 5 months ago |
superman | 3b9398924a | 5 months ago |
superman | 56ce31a90f | 5 months ago |
superman | 60050eb550 | 5 months ago |
superman | 1006a78f5b | 5 months ago |
superman | b8bc25d365 | 5 months ago |
superman | 83a4d6ce5b | 5 months ago |
superman | 90e99aa662 | 5 months ago |
superman | 6de0b30e85 | 6 months ago |
superman | 8ad5ad255d | 6 months ago |
superman | baac9806a8 | 6 months ago |
superman | 315aff60ba | 6 months ago |
superman | e2a41a3a3b | 6 months ago |
Xiqiu-王喜秋 | 1723cf8e3e | 6 months ago |
xiqiu | e66354cd01 | 6 months ago |
xiqiu | cb9ba77721 | 6 months ago |
superman | f2f346c02e | 6 months ago |
superman | c210b8211e | 6 months ago |
superman | 2d2486a4d5 | 6 months ago |
superman | 886862d396 | 6 months ago |
superman | 67eb120b88 | 7 months ago |
superman | 3fe3b665ef | 7 months ago |
superman | d1195f2273 | 7 months ago |
superman | 0c53b9cbeb | 7 months ago |
superman | 185594ce48 | 8 months ago |
superman | 1a9e7292f1 | 8 months ago |
superman | 974e040cc8 | 8 months ago |
superman | 27426f0e75 | 8 months ago |
superman | d3d793baed | 8 months ago |
superman | 4766b28c54 | 8 months ago |
superman | 42ab4686b2 | 8 months ago |
superman | a83143a701 | 8 months ago |
superman | 1bd3daee80 | 8 months ago |
vito-刘恒霖 | 7f68ab323f | 8 months ago |
vito | 8c9f48a2dc | 8 months ago |
superman | 66765c0877 | 9 months ago |
superman | 407e856b51 | 9 months ago |
superman | 7a47e673f3 | 9 months ago |
superman | 02ee81d97b | 9 months ago |
superman | 9528cb10cc | 9 months ago |
superman | c250412a0f | 9 months ago |
superman | cad095237a | 9 months ago |
superman | cad8e69f96 | 9 months ago |
superman | 788f43a93c | 9 months ago |
superman | d62bca7e6e | 9 months ago |
superman | d439e124f8 | 9 months ago |
superman | 9c9014e706 | 10 months ago |
superman | b593d31a55 | 10 months ago |
superman | 36ce5ffa84 | 10 months ago |
superman | df09c457a7 | 10 months ago |
superman | 1c7de76505 | 10 months ago |
superman | f1d8a5d9f4 | 11 months ago |
superman | 3220fbea5e | 11 months ago |
superman | 3bec9ec93e | 11 months ago |
superman | 71b4270fcb | 11 months ago |
superman | 19e7d20681 | 11 months ago |
superman | 44d0bc8099 | 11 months ago |
superman | 68e9be81ca | 11 months ago |
superman | 313cc2aa22 | 11 months ago |
superman | a22c2d887e | 11 months ago |
superman | f1d0d2f491 | 11 months ago |
superman | 3a0d7a6a59 | 11 months ago |
Destiny.Lin-林锦龙 | 600047f1f6 | 12 months ago |
Destiny.Lin | eed4de1f69 | 12 months ago |
Destiny.Lin | 8b4c1ebb32 | 12 months ago |
superman | e3b1531e63 | 12 months ago |
superman | d3272c4e1e | 12 months ago |
superman | c369b15b68 | 12 months ago |
superman | 99acac0f72 | 12 months ago |
superman | a3343bcc93 | 12 months ago |
superman | c4870e8222 | 1 year ago |
Coral.Chen-张晨 | 749941f507 | 1 year ago |
coral.chen@fanruan.com | 1a1dd2b9f0 | 1 year ago |
superman | 53ffd6c537 | 1 year ago |
superman | 81ad7f564a | 1 year ago |
superman | 5c7f634e6c | 1 year ago |
superman | 4ca379d78c | 1 year ago |
superman | 7a6ac53d9e | 1 year ago |
superman | 27d3ddffa1 | 1 year ago |
Levy.Xie-解安森 | 42339dbe9b | 1 year ago |
Levy.Xie | d3af0f553b | 1 year ago |
Levy.Xie | f5ee576778 | 1 year ago |
superman | 746cf8a393 | 1 year ago |
superman | 314bec28b9 | 1 year ago |
superman | 6d1ad1e3d9 | 1 year ago |
superman | 1d7e4e5e23 | 1 year ago |
Leo.Qin-覃宇攀 | 1e990ab35d | 1 year ago |
Leo.Qin | 10532ad28a | 1 year ago |
Leo.Qin | 83acc126ac | 1 year ago |
superman | f50457dd30 | 1 year ago |
Obo-王学仁 | f43359a946 | 1 year ago |
obo | b139252340 | 1 year ago |
superman | 8f6c50ae26 | 1 year ago |
superman | e5cb848dc0 | 1 year ago |
superman | 560ee16a64 | 1 year ago |
superman | 8aa3be7d47 | 1 year ago |
superman | a959378bae | 1 year ago |
superman | 500f72d1bf | 1 year ago |
superman | 4547fddc1c | 1 year ago |
superman | e826a708cd | 1 year ago |
15 changed files with 165 additions and 119 deletions
@ -1,37 +0,0 @@
|
||||
package com.fr.design.locale.impl; |
||||
|
||||
import com.fr.general.GeneralContext; |
||||
import com.fr.general.IOUtils; |
||||
import com.fr.general.locale.LocaleMark; |
||||
|
||||
import java.awt.image.BufferedImage; |
||||
import java.util.HashMap; |
||||
import java.util.Locale; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* 根据本地化信息设置服务器图表空数据提示图标 |
||||
* |
||||
* @author obo |
||||
* @version 11.0 |
||||
* Created by obo on 2023/3/22 |
||||
*/ |
||||
public class EmptyDataMark implements LocaleMark<BufferedImage> { |
||||
|
||||
private Map<Locale, BufferedImage> map = new HashMap<>(); |
||||
|
||||
private static final BufferedImage ZH_EMPTY_DATA = IOUtils.readImage("com/fr/design/images/zh_emptydata.png"); |
||||
private static final BufferedImage US_EMPTY_DATA = IOUtils.readImage("/com/fr/design/images/us_emptydata.png"); |
||||
private static final BufferedImage ZH_TRADITIONAL_EMPTY_DATA = IOUtils.readImage("/com/fr/design/images/zh_traditional_emptydata.png"); |
||||
|
||||
public EmptyDataMark() { |
||||
map.put(Locale.CHINA, ZH_EMPTY_DATA); |
||||
map.put(Locale.US, US_EMPTY_DATA); |
||||
map.put(Locale.TAIWAN, ZH_TRADITIONAL_EMPTY_DATA); |
||||
} |
||||
@Override |
||||
public BufferedImage getValue() { |
||||
BufferedImage result = map.get(GeneralContext.getLocale()); |
||||
return result == null ? US_EMPTY_DATA : result; |
||||
} |
||||
} |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Loading…
Reference in new issue