hep.wired.image
Class WiredBaseImage

java.lang.Object
  extended by org.freehep.util.images.ImageHandler
      extended by hep.wired.image.WiredBaseImage

public class WiredBaseImage
extends org.freehep.util.images.ImageHandler

Facility class to load Images, Icons and Cursors.

Version:
$Id: WiredBaseImage.java 8598 2006-08-14 20:38:02Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.util.images.ImageHandler
brokenCursor, brokenIcon, brokenImage
 
Method Summary
static Cursor getBestCursor(String name, int width, int height)
          Returns the best cursor for given name, relative to this class.
static Cursor getBestCursor(String name, int width, int height, int x, int y)
          Returns the best cursor for given name, relative to this class.
static Icon getIcon(String name)
          Returns an icon for given name, relative to this class.
static Icon getIcon(String name, int size)
          Returns an icon for given name, relative to this class.
static Image getImage(String name)
          Returns an image for given name, relative to this class.
 
Methods inherited from class org.freehep.util.images.ImageHandler
getBestCursor, getBestCursor, getCursor, getCursor, getCursor, getCursor, getIcon, getIcon, getImage, getImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImage

public static Image getImage(String name)
Returns an image for given name, relative to this class.


getBestCursor

public static Cursor getBestCursor(String name,
                                   int width,
                                   int height)
Returns the best cursor for given name, relative to this class. The cursor is created with given width and height.


getBestCursor

public static Cursor getBestCursor(String name,
                                   int width,
                                   int height,
                                   int x,
                                   int y)
Returns the best cursor for given name, relative to this class. The cursor is created with given width and height and hotspot x, y.


getIcon

public static Icon getIcon(String name)
Returns an icon for given name, relative to this class.


getIcon

public static Icon getIcon(String name,
                           int size)
Returns an icon for given name, relative to this class.



Copyright © 1996-2013 FreeHEP. All Rights Reserved.