|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.resource.PresentationLoader
public class PresentationLoader extends Object implements Serializable
The PresentationLoader class is a convenience class for creating
Presentation
objects using a resource bundle.
Constructor and Description |
---|
PresentationLoader(ResourceBundle resourceBundle)
Deprecated. Constructs a PresentationLoader object. |
PresentationLoader(String resourceBundleBaseName)
Deprecated. Constructs a PresentationLoader object. |
Modifier and Type | Method and Description |
---|---|
Presentation |
getPresentation(String keyBaseName)
Deprecated. Returns a Presentation object with text loaded from the resource bundle. |
Presentation |
getPresentation(String keyBaseName,
String keySuffix)
Deprecated. Returns a Presentation object with text loaded from the resource bundle. |
Presentation |
getPresentationWithIcon(String keyBaseName,
String iconFileName)
Deprecated. Returns a Presentation object with text loaded from the resource bundle. |
Presentation |
getPresentationWithIcon(String keyBaseName,
String keySuffix,
String iconFileName)
Deprecated. Returns a Presentation object with text loaded from the resource bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresentationLoader(String resourceBundleBaseName)
resourceBundleBaseName
- The resource bundle base name.public PresentationLoader(ResourceBundle resourceBundle)
resourceBundle
- The resource bundle.Method Detail |
---|
public Presentation getPresentation(String keyBaseName)
name | keyBaseName_NAME |
full name | keyBaseName_FULLNAME |
description | keyBaseName_DESCRIPTION |
help | keyBaseName_HELP |
All keys are optional.
keyBaseName
- The key base name.public Presentation getPresentationWithIcon(String keyBaseName, String iconFileName)
name | keyBaseName_NAME |
full name | keyBaseName_FULLNAME |
description | keyBaseName_DESCRIPTION |
help | keyBaseName_HELP |
Two icons are loaded, iconFileName16.gif and iconFileName32.gif.
All keys are optional.
keyBaseName
- The key base name.iconFileName
- The icon file name.public Presentation getPresentation(String keyBaseName, String keySuffix)
name | keyBaseName_keySuffix_NAME |
full name | keyBaseName_keySuffix_FULLNAME |
description | keyBaseName_keySuffix_DESCRIPTION |
help | keyBaseName_keySuffix_HELP |
All keys are optional.
keyBaseName
- The key base name.keySuffix
- The key suffix.public Presentation getPresentationWithIcon(String keyBaseName, String keySuffix, String iconFileName)
name | keyBaseName_keySuffix_NAME |
full name | keyBaseName_keySuffix_FULLNAME |
description | keyBaseName_keySuffix_DESCRIPTION |
help | keyBaseName_keySuffix_HELP |
Two icons are loaded, iconFileName16.gif and iconFileName32.gif.
All keys are optional.
keyBaseName
- The key base name.keySuffix
- The key suffix.iconFileName
- The icon file name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |