|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.identity.StandardDisplayIdentity
Implements DisplayIdentity
using a resource bundle and message
key.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private LocalizableMessage |
displayIdentifier
|
private LocalizableMessage |
displayType
|
private String |
messageKey
|
private static String |
RESOURCE
|
private String |
resourceBundle
|
Fields inherited from interface wt.identity.DisplayIdentity |
DISPLAY_IDENTIFIER, DISPLAY_TYPE |
Constructor Summary | |
StandardDisplayIdentity(String resource_bundle,
String message_key,
LocalizableMessage display_type,
LocalizableMessage display_identifier)
Supported API: false |
Method Summary | |
LocalizableMessage |
getDisplayIdentifier()
Gets the value of the attribute: displayIdentifier. |
LocalizableMessage |
getDisplayType()
Gets the value of the attribute: displayType. |
String |
getLocalizedMessage(Locale locale)
Returns the identity of in the form of a localized message for the specified locale. |
protected void |
setDisplayIdentifier(LocalizableMessage a_identifier)
|
protected void |
setDisplayType(LocalizableMessage a_type)
|
String |
toString()
Returns the identity in string form, based on the current locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String resourceBundle
private String messageKey
private LocalizableMessage displayType
private LocalizableMessage displayIdentifier
Constructor Detail |
public StandardDisplayIdentity(String resource_bundle, String message_key, LocalizableMessage display_type, LocalizableMessage display_identifier)
resource_bundle
- message_key
- display_type
- display_identifier
- Method Detail |
public String getLocalizedMessage(Locale locale)
getLocalizedMessage
in interface LocalizableMessage
locale
-
public String toString()
public LocalizableMessage getDisplayType()
getDisplayType
in interface DisplayIdentity
public LocalizableMessage getDisplayIdentifier()
getDisplayIdentifier
in interface DisplayIdentity
protected void setDisplayType(LocalizableMessage a_type)
protected void setDisplayIdentifier(LocalizableMessage a_identifier)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |