Package it.tidalwave.role.ui
Interface LocalizedDisplayable
-
- All Superinterfaces:
Displayable
- All Known Subinterfaces:
MutableLocalizedDisplayable
public interface LocalizedDisplayable extends Displayable
A specializedDisplayable
which can manage names in multipleLocale
s.- 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.String
getDisplayName(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 inMap
where they are indexed byLocale
.java.util.SortedSet<java.util.Locale>
getLocales()
Returns the supportedLocale
s.-
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 inMap
where they are indexed byLocale
.- Returns:
- the display names
-
getLocales
@Nonnull java.util.SortedSet<java.util.Locale> getLocales()
Returns the supportedLocale
s.- Returns:
- the available
Locale
s
-
-