|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides an interface for components that have some localized capabilities.
| Field Summary | |
static java.lang.String |
DEFAULT_MODULE
Defines the module where to find this component's text and tool tip. |
| Method Summary | |
PManager |
getManager()
Returns the manager of this component. |
java.lang.String |
getModule()
Returns the component's resources location. |
java.lang.String |
getTextKey()
Returns the key used to find this component's text |
java.lang.String |
getToolTipKey()
Returns the key used to find this component's tool tip. |
void |
setManager(PManager manager)
Sets the manager of this component. |
void |
setModule(java.lang.String module)
Sets The module where the component will search its resources |
void |
updateFont()
Update the component's font. |
void |
updateLanguage()
Update the component's text and tool tip with the default module. |
void |
updateLanguage(java.lang.String module)
Update the component's text and tool tip with the current module. |
| Field Detail |
public static final java.lang.String DEFAULT_MODULE
| Method Detail |
public void updateFont()
public void updateLanguage()
public void updateLanguage(java.lang.String module)
module - The module where the resources are stored.public void setModule(java.lang.String module)
module - The new module. If null, the default resource set will be used.public void setManager(PManager manager)
manager - the new manager of this component, if manager is null, the component will use PManager.getInstance().public PManager getManager()
public java.lang.String getTextKey()
null if the component does not support text.public java.lang.String getToolTipKey()
null if the component does not support tool tip.public java.lang.String getModule()
ResourceManager.DEFAULT_MODULE if the component has no defined module
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||