public class __IconFactory__ extends RawCache<javax.swing.ImageIcon>
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
IMGS_ROOT
相对路径根(默认是相对于本类的相对物理路径).
|
构造器和说明 |
---|
__IconFactory__() |
限定符和类型 | 方法和说明 |
---|---|
javax.swing.ImageIcon |
getCheckboxMenuItemNoneIcon()
Gets the checkbox menu item none icon.
|
javax.swing.ImageIcon |
getCheckboxMenuItemSelectedNormalIcon()
Gets the checkbox menu item selected normal icon.
|
javax.swing.ImageIcon |
getImage(java.lang.String relativePath)
Gets the image.
|
static __IconFactory__ |
getInstance()
Gets the single instance of __IconFactory__.
|
javax.swing.ImageIcon |
getRadioButtonMenuItemCheckIcon()
Gets the radio button menu item check icon.
|
javax.swing.ImageIcon |
getRadioButtonMenuItemNormalIcon() |
protected javax.swing.ImageIcon |
getResource(java.lang.String relativePath,
java.lang.Class baseClass)
本地资源获取方法实现.
|
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 getRadioButtonMenuItemCheckIcon()
public javax.swing.ImageIcon getRadioButtonMenuItemNormalIcon()
public javax.swing.ImageIcon getCheckboxMenuItemSelectedNormalIcon()
public javax.swing.ImageIcon getCheckboxMenuItemNoneIcon()