public class __IconFactory__ extends RawCache<javax.swing.ImageIcon>
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
IMGS_ROOT
相对路径根(默认是相对于本类的相对物理路径).
|
构造器和说明 |
---|
__IconFactory__() |
限定符和类型 | 方法和说明 |
---|---|
javax.swing.ImageIcon |
getImage(java.lang.String relativePath)
Gets the image.
|
static __IconFactory__ |
getInstance()
Gets the single instance of __IconFactory__.
|
javax.swing.ImageIcon |
getOptionPaneERRORIcon()
Gets the option pane error icon.
|
javax.swing.ImageIcon |
getOptionPaneINFOIcon()
Gets the option pane info icon.
|
javax.swing.ImageIcon |
getOptionPaneQUESTIONIcon()
Gets the option pane question icon.
|
javax.swing.ImageIcon |
getOptionPaneWARNIcon()
Gets the option pane warn icon.
|
protected javax.swing.ImageIcon |
getResource(java.lang.String relativePath,
java.lang.Class baseClass)
本地资源获取方法实现.
|
javax.swing.ImageIcon |
getTableAscendingSortIcon()
Gets the table ascending sort icon.
|
javax.swing.ImageIcon |
getTableDescendingSortIcon()
Gets the table descending sort icon.
|
javax.swing.ImageIcon |
getTreeDefaultClosedIcon_16_16()
默认树节点收起时的图标.
|
javax.swing.ImageIcon |
getTreeDefaultLeafIcon_16_16()
默认树叶图标.
|
javax.swing.ImageIcon |
getTreeDefaultOpenIcon_16_16()
默认树节点打开时的图标.
|
public static final java.lang.String IMGS_ROOT
public static __IconFactory__ getInstance()
protected javax.swing.ImageIcon getResource(java.lang.String relativePath, java.lang.Class baseClass)
RawCache
getResource
在类中 RawCache<javax.swing.ImageIcon>
relativePath
- 相对路径baseClass
- 基准类public javax.swing.ImageIcon getImage(java.lang.String relativePath)
relativePath
- the relative pathpublic javax.swing.ImageIcon getTableDescendingSortIcon()
public javax.swing.ImageIcon getTableAscendingSortIcon()
public javax.swing.ImageIcon getTreeDefaultOpenIcon_16_16()
public javax.swing.ImageIcon getTreeDefaultClosedIcon_16_16()
public javax.swing.ImageIcon getTreeDefaultLeafIcon_16_16()
public javax.swing.ImageIcon getOptionPaneWARNIcon()
public javax.swing.ImageIcon getOptionPaneERRORIcon()
public javax.swing.ImageIcon getOptionPaneINFOIcon()
public javax.swing.ImageIcon getOptionPaneQUESTIONIcon()