com.ibm.as400.resource

Class PresentationLoader

  • All Implemented Interfaces:
    Serializable

    Deprecated. 
    Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

    public class PresentationLoader
    extends Object
    implements Serializable
    The PresentationLoader class is a convenience class for creating Presentation objects using a resource bundle.
    See Also:
    Serialized Form
    • Constructor Detail

      • PresentationLoader

        public PresentationLoader(String resourceBundleBaseName)
        Deprecated. 
        Constructs a PresentationLoader object.
        Parameters:
        resourceBundleBaseName - The resource bundle base name.
      • PresentationLoader

        public PresentationLoader(ResourceBundle resourceBundle)
        Deprecated. 
        Constructs a PresentationLoader object.
        Parameters:
        resourceBundle - The resource bundle.
    • Method Detail

      • getPresentation

        public Presentation getPresentation(String keyBaseName)
        Deprecated. 
        Returns a Presentation object with text loaded from the resource bundle. The keys in the resource bundle correspond to the key base name as follows:

        name keyBaseName_NAME
        full name keyBaseName_FULLNAME
        description keyBaseName_DESCRIPTION
        help keyBaseName_HELP

        All keys are optional.

        Parameters:
        keyBaseName - The key base name.
        Returns:
        The presentation.
      • getPresentationWithIcon

        public Presentation getPresentationWithIcon(String keyBaseName,
                                           String iconFileName)
        Deprecated. 
        Returns a Presentation object with text loaded from the resource bundle. The keys in the resource bundle correspond to the key base name as follows:

        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.

        Parameters:
        keyBaseName - The key base name.
        iconFileName - The icon file name.
        Returns:
        The presentation.
      • getPresentation

        public Presentation getPresentation(String keyBaseName,
                                   String keySuffix)
        Deprecated. 
        Returns a Presentation object with text loaded from the resource bundle. The keys in the resource bundle correspond to the key base name and key suffix as follows:

        name keyBaseName_keySuffix_NAME
        full name keyBaseName_keySuffix_FULLNAME
        description keyBaseName_keySuffix_DESCRIPTION
        help keyBaseName_keySuffix_HELP

        All keys are optional.

        Parameters:
        keyBaseName - The key base name.
        keySuffix - The key suffix.
        Returns:
        The presentation.
      • getPresentationWithIcon

        public Presentation getPresentationWithIcon(String keyBaseName,
                                           String keySuffix,
                                           String iconFileName)
        Deprecated. 
        Returns a Presentation object with text loaded from the resource bundle. The keys in the resource bundle correspond to the key base name and key suffix as follows:

        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.

        Parameters:
        keyBaseName - The key base name.
        keySuffix - The key suffix.
        iconFileName - The icon file name.
        Returns:
        The presentation.