public abstract class AbstractResourceLoader extends Object implements IResourceLoader
| Constructor and Description |
|---|
AbstractResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor(Image image) |
Cursor |
getCursor(Image image,
Point hotspot) |
Cursor |
getCursor(String name)
Creates and returns a Cursor Object, which is named cursorName.
|
Cursor |
getCursor(String name,
Point hotspot)
Creates and returns a Cursor Object, which is named cursorName.
|
Icon |
getIcon(String name)
Returns an Icon, which is created by the specified Filename.
|
Image |
getImage(String name)
Returns an Image, which is created by the specified Filename.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResource, getResourcepublic Cursor getCursor(String name)
getCursor in interface IResourceLoadercursorName - has to be the Filename of the requested Pic without
size+".gif". The created Object can be called by cursorNamepublic Cursor getCursor(String name, Point hotspot)
getCursor in interface IResourceLoadercursorName - has to be the Filename of the requested Pic without
size+".gif". The created Object can be called by cursorNamehotSpot - the preferred hotspot in relation to the cursor objectpublic Cursor getCursor(Image image)
getCursor in interface IResourceLoaderpublic Cursor getCursor(Image image, Point hotspot)
getCursor in interface IResourceLoaderpublic Image getImage(String name)
getImage in interface IResourceLoadername - has to be the Filename without .gifpublic Icon getIcon(String name)
getIcon in interface IResourceLoadername - has to be the Filename without .gif