|
|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe.alphafine.cell.render;
|
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.mainframe.alphafine.AlphaFineConstants; |
|
|
|
|
import com.fr.design.mainframe.alphafine.cell.model.MoreModel; |
|
|
|
|
import com.fr.general.IOUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import java.awt.*; |
|
|
|
@ -37,7 +38,7 @@ public class TitleCellRender implements ListCellRenderer<Object> {
|
|
|
|
|
panel.add(this.more, BorderLayout.EAST); |
|
|
|
|
} |
|
|
|
|
if (moreModel.isLoading()) { |
|
|
|
|
ImageIcon imageIcon = new ImageIcon(getClass().getResource("/com/fr/design/mainframe/alphafine/images/loading.gif")); |
|
|
|
|
ImageIcon imageIcon = (ImageIcon) IOUtils.readIcon("/com/fr/design/mainframe/alphafine/images/loading.gif"); |
|
|
|
|
|
|
|
|
|
//设置cell的加载动画
|
|
|
|
|
imageIcon.setImageObserver(list); |
|
|
|
|