| |
|
| java.lang.Object net.xoetrope.xui.XResourceManager net.xoetrope.builder.editor.XEditorResourceManager
XEditorResourceManager | public class XEditorResourceManager extends XResourceManager (Code) | | An extension of XResourceManager to allow greater interaction with the Editor-IDE.
This class subclasses getInputStream to allow dynamic loading of pages via a
custom classloader. The class also accomodates the slightly different startup
sequence and the fact that the editor itself has a startup set of properties
in addition to the startup properties of the application being edited.
Copyright (c) Xoetrope Ltd., 1998-2003
version: $Revision: 1.21 $ |
getImage | public static Image getImage(String name)(Code) | | Loads an image resource
Parameters: name - the image resource name the image |
getImage | public static Image getImage(URL url)(Code) | | Loads an image resource
Parameters: url - the image resource url the image |
getImage | public static Image getImage(Class clazz, String name)(Code) | | Loads an image resource
Parameters: clazz - the class whos classloader will be used while attempting to load the image Parameters: name - the image resource name the image |
getInputStream | public InputStream getInputStream(String fileName)(Code) | | Gets a stream for a resource
Parameters: fileName - the resource file name the InputStream |
getInstance | public static XResourceManager getInstance()(Code) | | Construct an instance of this class.
the XEditorResourceManager instance |
setStartupFile | public static void setStartupFile(String fileName)(Code) | | |
setStartupParam | public void setStartupParam(String key, String value)(Code) | | Change or add a startup property
Parameters: key - the object key Parameters: value - the object value |
|
|
|