|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.util.DefaultIconMap
public class DefaultIconMap
DefaultIconMap description goes here.
| Constructor Summary | |
|---|---|
DefaultIconMap()
Creates a new instance of DefaultIconMap. |
|
| Method Summary | |
|---|---|
javax.swing.Icon |
getIcon(java.lang.String resource)
Returns an icon for the specified resource key. |
javax.swing.Icon |
getObjectIcon(java.lang.Object obj)
Returns an icon for the specified object. |
com.sas.net.ResourceLocatorInterface |
getResourceLocator()
Returns a resource locator for loading resources such as images. |
protected com.sas.net.ResourceLocatorInterface |
newResourceLocator()
Factory method that creates an instance of ClassResourceLocator. |
| Constructor Detail |
|---|
public DefaultIconMap()
DefaultIconMap.
| Method Detail |
|---|
public javax.swing.Icon getIcon(java.lang.String resource)
null will be returned.
getIcon in interface IconMapresource - the resource key identifying the image to load
null if the key doesn't existpublic javax.swing.Icon getObjectIcon(java.lang.Object obj)
null is returned.
getObjectIcon in interface IconMapobj - the object to get an icon for
nullprotected com.sas.net.ResourceLocatorInterface newResourceLocator()
ClassResourceLocator.
By default, the icons will we searched for relative to the com.sas.visuals.Resources class.
Subclasses should override this and add their own icons to the search order.
ClassResourceLocatorpublic com.sas.net.ResourceLocatorInterface getResourceLocator()
getResourceLocator in interface IconMap
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||