com.ibm.as400.resource

Class PresentationLoader

  • java.lang.Object
    • com.ibm.as400.resource.PresentationLoader
  • All Implemented Interfaces:
    java.io.Serializable

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

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

      Constructors 
      Constructor and Description
      PresentationLoader(java.util.ResourceBundle resourceBundle)
      Deprecated. 
      Constructs a PresentationLoader object.
      PresentationLoader(java.lang.String resourceBundleBaseName)
      Deprecated. 
      Constructs a PresentationLoader object.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PresentationLoader

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

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

      • getPresentation

        public Presentation getPresentation(java.lang.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(java.lang.String keyBaseName,
                                           java.lang.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(java.lang.String keyBaseName,
                                   java.lang.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(java.lang.String keyBaseName,
                                           java.lang.String keySuffix,
                                           java.lang.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.