Packages
 In this topic

*Methods

 

Packages   PreviousThis Package
Package com.ms.ui.resource   Previous This
Package

 


Interface ResourceTypeListener

public interface ResourceTypeListener
{
  // Methods
  public boolean examineBinaryData(byte data[], int locale);
  public boolean examineDialog(int id, byte d[], int locale);
  public boolean examineDialog(String id, byte d[], int locale);
  public boolean examineImage(byte b[], int imageType, int locale);
  public boolean examineMenu(Menu m, int locale);
  public boolean examineString(int id, String s, int locale);
}

This interface is used by a class that examines resources in a resource bundle.

Methods

examineBinaryData

public boolean examineBinaryData(byte data[], int locale);

Examines binary data.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
data The data to examine.
locale The locale of the resource.

examineDialog

public boolean examineDialog(int id, byte d[], int locale);

Examines a dialog resource.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
d The resource identifier of the dialog.
d The data to examine.
locale The locale of the resource.

examineDialog

public boolean examineDialog(String id, byte d[], int locale);

Examines a dialog resource.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
id The name of the dialog resource.
d The dialog data.
locale The locale of the resource.

examineImage

public boolean examineImage(byte b[], int imageType, int locale);

Examines an image resource.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
b The binary image data.
imageType The type of the image.
locale The locale of the resource.

examineMenu

public boolean examineMenu(Menu m, int locale);

Examines a menu resource.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
m The menu to examine.
locale The locale of the resource.

examineString

public boolean examineString(int id, String s, int locale);

Examines a string resource.

Return Value:

Returns true if successful; otherwise, returns false.

ParameterDescription
id The string identifier.
s The string name.
locale The locale of the resource.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.