|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.westofj.wui.WLocalizedText
Represents a localized resource. Maps a bundle name and a key to a resource in a resource bundle.
Constructor Summary | |
WLocalizedText(String bundleName,
String key)
Constructs a localized text instance. |
Method Summary | |
boolean |
equals(Object object)
|
String |
getBundleName()
Returns the name of the resource bundle. |
String |
getKey()
Returns the name of the resource key. |
String |
getText(WRunner runner)
Returns the textual view of the instance. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WLocalizedText(String bundleName, String key)
bundleName
- the name of the resource bundle containing the resource.key
- the name of the resource within the resource bundle.Method Detail |
public boolean equals(Object object)
public String getBundleName()
public String getKey()
public String getText(WRunner runner)
WDisplayable
getText
in interface WDisplayable
runner
- the current runner context.
public int hashCode()
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |