LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.misc
Interface LyImageHandlerInterface


public interface LyImageHandlerInterface

Internal use for generated class LyImageHandler. Do not modify.


Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 java.lang.Object checkImage(LyEnvironment env, java.lang.String key, java.lang.String path, java.lang.Object image)
          Retrieves an image from the Application environment.
 java.lang.String checkMessage(LyEnvironment env, java.lang.String key, java.lang.Object[] arguments, java.lang.String result)
          Builds a message from a key and an array of arguments.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

checkImage

java.lang.Object checkImage(LyEnvironment env,
                            java.lang.String key,
                            java.lang.String path,
                            java.lang.Object image)
Retrieves an image from the Application environment.

Parameters:
env - current Environment for loading images
key - current requested image key
path - current image path
image - image found by the environment
Returns:
a reference to the image object, or null if it could not be found.

checkMessage

java.lang.String checkMessage(LyEnvironment env,
                              java.lang.String key,
                              java.lang.Object[] arguments,
                              java.lang.String result)
Builds a message from a key and an array of arguments. Strings are found in the messages_XXX.properties files (see LyResourceBundle for more details).

Parameters:
env - current Environment for loading images
key - the message key
arguments - the arguments array used to build the message
result - string found in the environment
Returns:
The message formated with the arguments. If not found, the key is returned followed by the string representation of the arguments.
See Also:
LyStrings.getString(String,Object[]), LyStrings

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com