com.sun.javatest.tool

Class UIFactory.UIFactoryExt

    • Constructor Detail

      • UIFactory.UIFactoryExt

        public UIFactory.UIFactoryExt(UIFactory uif,
                              java.lang.Class altClass)
    • Method Detail

      • getI18NColor

        public java.awt.Color getI18NColor(java.lang.String key)
        Description copied from class: UIFactory
        Get a color from the resource bundle.
        Overrides:
        getI18NColor in class UIFactory
        Parameters:
        key - the base name of the resource to be returned
        Returns:
        the color identified in the resource
      • getI18NString

        public java.lang.String getI18NString(java.lang.String key)
        Description copied from class: UIFactory
        Get a string from the resource bundle.
        Overrides:
        getI18NString in class UIFactory
        Parameters:
        key - the name of the resource to be returned
        Returns:
        the string that was found
      • getI18NString

        public java.lang.String getI18NString(java.lang.String key,
                                     java.lang.Object arg)
        Description copied from class: UIFactory
        Get a string from the resource bundle.
        Overrides:
        getI18NString in class UIFactory
        Parameters:
        key - the name of the resource to be returned
        arg - an argument to be formatted into the result using MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
        Returns:
        the formatted string
      • getI18NString

        public java.lang.String getI18NString(java.lang.String key,
                                     java.lang.Object[] args)
        Description copied from class: UIFactory
        Get a string from the resource bundle.
        Overrides:
        getI18NString in class UIFactory
        Parameters:
        key - the name of the resource to be returned
        args - an array of arguments to be formatted into the result using MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
        Returns:
        the formatted string

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.