|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Displayable
This interface defines the behavior of objects that can display their names possibly according to the current
Locale
.
Field Summary | |
---|---|
static java.lang.Class<Displayable> |
Displayable
|
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name in the current Locale . |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the display name in the given Locale . |
java.util.Map<java.util.Locale,java.lang.String> |
getDisplayNames()
|
java.util.SortedSet<java.util.Locale> |
getLocales()
Returns the available Locale s. |
Field Detail |
---|
static final java.lang.Class<Displayable> Displayable
Method Detail |
---|
@Nonnull java.lang.String getDisplayName()
Locale
.
@Nonnull java.lang.String getDisplayName(@Nonnull java.util.Locale locale)
Locale
.
locale
- the Locale
@Nonnull java.util.Map<java.util.Locale,java.lang.String> getDisplayNames()
@Nonnull java.util.SortedSet<java.util.Locale> getLocales()
Locale
s.
Locale
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |