You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
871 B
36 lines
871 B
package com.fr.design.mainframe; |
|
|
|
import com.fr.base.svg.IconUtils; |
|
import com.fr.design.file.NewTemplatePane; |
|
|
|
import javax.swing.Icon; |
|
|
|
/** |
|
* Created by hzzz on 2017/12/26. |
|
*/ |
|
public class ToolBarNewTemplatePane extends NewTemplatePane { |
|
|
|
private static final ToolBarNewTemplatePane instance = new ToolBarNewTemplatePane(); |
|
|
|
private ToolBarNewTemplatePane() { |
|
} |
|
|
|
public static NewTemplatePane getInstance() { |
|
return instance; |
|
} |
|
|
|
@Override |
|
public Icon getNew() { |
|
return IconUtils.readIcon("/com/fr/design/standard/addicon/addicon"); |
|
} |
|
|
|
@Override |
|
public Icon getMouseOverNew() { |
|
return IconUtils.readIcon("/com/fr/design/standard/addicon/add_press.svg"); |
|
} |
|
|
|
@Override |
|
public Icon getMousePressNew() { |
|
return IconUtils.readIcon("/com/fr/design/standard/addicon/add_press.svg"); |
|
} |
|
}
|
|
|