public class PresentationLoader
extends java.lang.Object
implements java.io.Serializable
Presentation
objects using a resource bundle.Constructor and Description |
---|
PresentationLoader(java.util.ResourceBundle resourceBundle)
Deprecated.
Constructs a PresentationLoader object.
|
PresentationLoader(java.lang.String resourceBundleBaseName)
Deprecated.
Constructs a PresentationLoader object.
|
Modifier and Type | Method and Description |
---|---|
Presentation |
getPresentation(java.lang.String keyBaseName)
Deprecated.
Returns a Presentation object with text loaded from the resource bundle.
|
Presentation |
getPresentation(java.lang.String keyBaseName,
java.lang.String keySuffix)
Deprecated.
Returns a Presentation object with text loaded from the resource bundle.
|
Presentation |
getPresentationWithIcon(java.lang.String keyBaseName,
java.lang.String iconFileName)
Deprecated.
Returns a Presentation object with text loaded from the resource bundle.
|
Presentation |
getPresentationWithIcon(java.lang.String keyBaseName,
java.lang.String keySuffix,
java.lang.String iconFileName)
Deprecated.
Returns a Presentation object with text loaded from the resource bundle.
|
public PresentationLoader(java.lang.String resourceBundleBaseName)
resourceBundleBaseName
- The resource bundle base name.public PresentationLoader(java.util.ResourceBundle resourceBundle)
resourceBundle
- The resource bundle.public Presentation getPresentation(java.lang.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(java.lang.String keyBaseName, java.lang.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(java.lang.String keyBaseName, java.lang.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(java.lang.String keyBaseName, java.lang.String keySuffix, java.lang.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.