com.sage.swt.client.resource
Class ImageBundleMgr

java.lang.Object
  extended by com.sage.swt.client.resource.ImageBundleMgr

public final class ImageBundleMgr
extends java.lang.Object

This class provides direct access to the static images of the image bundles.


Nested Class Summary
static class ImageBundleMgr.BundledImage
          The image ENUM is used to store and reference all images regardless of the bundle that they reside in.
 
Method Summary
static ImageBundleMgr.BundledImage getEnum(int ordinalValue)
          The image ENUM can be referenced via an ordinal value of a component
static ImageBundleMgr.BundledImage getEnum(java.lang.String valueOf)
          The image ENUM can be referenced via the name (string) of a component
static SelectableItemList getEnumList()
          The values in the image ENUM are inserted into a selectable list for binding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnum

public static final ImageBundleMgr.BundledImage getEnum(int ordinalValue)
The image ENUM can be referenced via an ordinal value of a component

Parameters:
ordinalValue - The integer position for the enumeration
Returns:
BundledImage Return ERROR if ordinal value is not found

getEnum

public static final ImageBundleMgr.BundledImage getEnum(java.lang.String valueOf)
The image ENUM can be referenced via the name (string) of a component

Parameters:
valueOf - The string representation of the enumeration
Returns:
BundledImage Return ERROR if string is not found

getEnumList

public static final SelectableItemList getEnumList()
The values in the image ENUM are inserted into a selectable list for binding

Returns:
SelectableItemList


Copyright © 2011 Sage Software, Inc. All rights reserved.