wt.clients.filevault
Class Util

java.lang.Object
  extended bywt.clients.filevault.Util

public class Util
extends Object


Field Summary
private static Hashtable _imageCache
           
private static String APATH
           
(package private) static String RESOURCES
           
 
Constructor Summary
Util()
           
 
Method Summary
static String getDisplayString(ClassInfo class_info, String property)
           
static Image getGlyphIcon(String aName, String glName)
           
static Image getIcon(String aName)
          Gets an image given a specified shortname.
static URL getImageURL(String aName)
           
static URL getImageURL(String aName, WTContext context)
           
static Image loadGlyphedImage(String pathBase, String pathGlyph)
          returns a glyph image.
static Image loadImage(String aName)
          Gets a Image for the specified .gif file.
static Image mergeImages(Image main_image, Image glyph_image, Canvas tmp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APATH

private static final String APATH
See Also:
Constant Field Values

RESOURCES

static final String RESOURCES
See Also:
Constant Field Values

_imageCache

private static Hashtable _imageCache
Constructor Detail

Util

public Util()
Method Detail

getImageURL

public static URL getImageURL(String aName,
                              WTContext context)

getImageURL

public static URL getImageURL(String aName)

getIcon

public static Image getIcon(String aName)
Gets an image given a specified shortname.


getGlyphIcon

public static Image getGlyphIcon(String aName,
                                 String glName)

loadGlyphedImage

public static Image loadGlyphedImage(String pathBase,
                                     String pathGlyph)
returns a glyph image.


mergeImages

public static Image mergeImages(Image main_image,
                                Image glyph_image,
                                Canvas tmp)
                         throws InterruptedException
Throws:
InterruptedException

loadImage

public static Image loadImage(String aName)
Gets a Image for the specified .gif file. The name parameter should be fully qualified and include the .gif suffix.

Parameters:
aName - the name of the gif

getDisplayString

public static String getDisplayString(ClassInfo class_info,
                                      String property)
                               throws WTIntrospectionException
Throws:
WTIntrospectionException