com.sas.services.information.publicobject
Interface PublicTypeInfoInterface

All Known Subinterfaces:
PublicTypeInfoInterface2

public interface PublicTypeInfoInterface


Method Summary
 java.lang.String getDescription(java.lang.String publicType, java.util.Locale locale)
          Get the localized description for a type definition.
 javax.swing.Icon getIcon(java.lang.String publicType)
          Get the icon for a public type.
 java.lang.String getLabel(java.lang.String publicType, java.util.Locale locale)
          Get the localized label for a type definition in the requested locale.
 

Method Detail

getLabel

java.lang.String getLabel(java.lang.String publicType,
                          java.util.Locale locale)
Get the localized label for a type definition in the requested locale.

Parameters:
publicType - The unlocalized type name string for which the localized string is desired.
locale - The desired locale. If null, the current locale is used.
Returns:
The type string localized for the desired locale.

getDescription

java.lang.String getDescription(java.lang.String publicType,
                                java.util.Locale locale)
Get the localized description for a type definition.

Parameters:
publicType - The type for which the localized description is desired.
locale - The desired locale. If null, the current locale is used.
Returns:
The type string localized for the desired locale.

getIcon

javax.swing.Icon getIcon(java.lang.String publicType)
Get the icon for a public type.

Parameters:
publicType - The type for which the icon is desired.
Returns:
The Icon object, if available, or null otherwise.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.