com.novell.admin.common.ui
Class uicommon

java.lang.Object
  |
  +--com.novell.admin.common.ui.uicommon

public class uicommon
extends java.lang.Object

Private class that contains static strings used to indicate package & ResourceBundle names.


Field Summary
static java.awt.Color bgColor
           
 
Constructor Summary
uicommon()
           
 
Method Summary
static java.awt.Image getCachedImage(java.lang.String strImage)
          Static class that uses ImageLoader class to load images
static java.awt.Image getCachedImageAsync(java.lang.String strImage)
          Static class that uses ImageLoader class to load images
static javax.swing.JFrame getFrame(java.awt.Component component)
          returns the topmost Frame owned by an ancecstor of the component
static java.awt.Image getImage(java.lang.String strImage)
          Static class that uses ImageLoader class to load images
static java.awt.Image getImageAsync(java.lang.String imageStr)
          Static class that uses ImageLoader class to load images
static javax.swing.ImageIcon getImageIcon(java.lang.String strImage)
          Returns an ImageIcon given an image name.
static java.awt.Image getNDSImage(java.lang.String classString)
          returns image for given class; can be replaced in future by NDS-based image code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bgColor

public static final java.awt.Color bgColor
Constructor Detail

uicommon

public uicommon()
Method Detail

getImage

public static java.awt.Image getImage(java.lang.String strImage)
Static class that uses ImageLoader class to load images
Parameters:
I-imageStr - the file name of the .gif to be loaded
Returns:
Image the loaded image

getImageIcon

public static javax.swing.ImageIcon getImageIcon(java.lang.String strImage)
Returns an ImageIcon given an image name.
Parameters:
I-imageStr - the file name of the .gif to be loaded
Returns:
Image the loaded image

getCachedImage

public static java.awt.Image getCachedImage(java.lang.String strImage)
Static class that uses ImageLoader class to load images
Parameters:
I-imageStr - the file name of the .gif to be loaded
Returns:
Image The loaded image

getCachedImageAsync

public static java.awt.Image getCachedImageAsync(java.lang.String strImage)
Static class that uses ImageLoader class to load images
Parameters:
I-imageStr - the file name of the .gif to be loaded
Returns:
Image The loaded image

getImageAsync

public static java.awt.Image getImageAsync(java.lang.String imageStr)
Static class that uses ImageLoader class to load images
Parameters:
I-imageStr - the file name of the .gif to be loaded
Returns:
Image The loaded image

getFrame

public static javax.swing.JFrame getFrame(java.awt.Component component)
returns the topmost Frame owned by an ancecstor of the component
Parameters:
component - component of which the parent Frame is being requested

getNDSImage

public static java.awt.Image getNDSImage(java.lang.String classString)
returns image for given class; can be replaced in future by NDS-based image code
Parameters:
classString - name of the NDS class
Returns:
the image; will be the unknown image if the class string could not be found.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.