Package it.tidalwave.role.ui
Interface LocalizedDisplayable
-
- All Superinterfaces:
Displayable
- All Known Subinterfaces:
MutableLocalizedDisplayable
public interface LocalizedDisplayable extends Displayable
A specializedDisplayablewhich can manage names in multipleLocales.- Author:
- Fabrizio Giudici
- Status: stable API
- Stereotype:
- Role
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<LocalizedDisplayable>_LocalizedDisplayable_-
Fields inherited from interface it.tidalwave.role.ui.Displayable
_Displayable_, DEFAULT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDisplayName(java.util.Locale locale)Returns the display name in the givenLocale.java.util.Map<java.util.Locale,java.lang.String>getDisplayNames()Returns all the display names inMapwhere they are indexed byLocale.java.util.SortedSet<java.util.Locale>getLocales()Returns the supportedLocales.-
Methods inherited from interface it.tidalwave.role.ui.Displayable
display, getDisplayName
-
-
-
-
Field Detail
-
_LocalizedDisplayable_
static final java.lang.Class<LocalizedDisplayable> _LocalizedDisplayable_
-
-
Method Detail
-
getDisplayName
@Nonnull java.lang.String getDisplayName(@Nonnull java.util.Locale locale)Returns the display name in the givenLocale.- Parameters:
locale- theLocale- Returns:
- the display name
-
getDisplayNames
@Nonnull java.util.Map<java.util.Locale,java.lang.String> getDisplayNames()
Returns all the display names inMapwhere they are indexed byLocale.- Returns:
- the display names
-
getLocales
@Nonnull java.util.SortedSet<java.util.Locale> getLocales()
Returns the supportedLocales.- Returns:
- the available
Locales
-
-