Serializable
public class PresentationLoader extends Object implements Serializable
Presentation
objects using a resource bundle.Constructor | Description |
---|---|
PresentationLoader(String resourceBundleBaseName) |
Deprecated.
Constructs a PresentationLoader object.
|
PresentationLoader(ResourceBundle resourceBundle) |
Deprecated.
Constructs a PresentationLoader object.
|
Modifier and Type | Method | 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.
|
public PresentationLoader(String resourceBundleBaseName)
resourceBundleBaseName
- The resource bundle base name.public PresentationLoader(ResourceBundle resourceBundle)
resourceBundle
- The resource bundle.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.Copyright © 2024. All rights reserved.