Interface PublicTypeInfoInterface
- All Known Subinterfaces:
PublicTypeInfoInterface2,PublicTypeInfoInterface3
public interface PublicTypeInfoInterface
-
Method Summary
Modifier and TypeMethodDescriptionStringgetDescription(String publicType, Locale locale) Get the localized description for a type definition.IcongetIcon(String publicType) Get the icon for a public type.StringgetLabel(String publicType, Locale locale) Get the localized label for a type definition in the requested locale.
-
Method Details
-
getLabel
String getLabel(String publicType, 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
String getDescription(String publicType, 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
Icon getIcon(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.
-