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, wait
getResource, getResource
public Cursor getCursor(String name)
getCursor
in interface IResourceLoader
cursorName
- 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 IResourceLoader
cursorName
- 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 IResourceLoader
public Cursor getCursor(Image image, Point hotspot)
getCursor
in interface IResourceLoader
public Image getImage(String name)
getImage
in interface IResourceLoader
name
- has to be the Filename without .gifpublic Icon getIcon(String name)
getIcon
in interface IResourceLoader
name
- has to be the Filename without .gif