|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.core.dialogbase.features.ResourceAccessFeature
| Constructor Summary | |
ResourceAccessFeature()
Creates a new ResourceAccessFeature. |
|
| Method Summary | |
protected void |
dispose()
Called when the feature or dialog is disposed. |
java.lang.String |
getStringValue(java.lang.String key)
Returns the resource String corresponding to the given resource key.
|
java.lang.Object |
getValue(java.lang.Class keyClass)
Returns the resource Object corresponding to the given resource key class. |
java.lang.Object |
getValue(java.lang.String key)
Returns the resource Object corresponding to the given resource key. |
java.lang.Object |
getValue(java.lang.String key,
java.util.Locale locale)
Returns the resource Object corresponding to the given resource key. |
boolean |
hasValue(java.lang.Class keyClass)
Returns true, iff there exists a resource object mapping for
The key class will be converted to it's full qualified class name,
under which the resource object must be specified. |
boolean |
hasValue(java.lang.String key)
Returns true, iff there exists a resource object mapping for
the given resource key. |
boolean |
hasValue(java.lang.String key,
java.util.Locale locale)
Returns true, iff there exists a resource object mapping for
the given resource key in the specified language. |
protected void |
init()
Called when the feature is initializing. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceAccessFeature()
ResourceAccessFeature.
| Method Detail |
protected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeatureAbstractFeature.init()
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionAbstractFeature.dispose()
public java.lang.Object getValue(java.lang.String key,
java.util.Locale locale)
ResourceAccessServicenull
will be returned.
getValue in interface ResourceAccessServicekey - the key to the resource object (not null)locale - the Locale to get values for
null.ResourceAccessService.getValue(java.lang.String, java.util.Locale)
public boolean hasValue(java.lang.String key,
java.util.Locale locale)
ResourceAccessServicetrue, iff there exists a resource object mapping for
the given resource key in the specified language.
hasValue in interface ResourceAccessServicekey - the key to the resource object (not null)locale - the Locale to get values forResourceAccessService.hasValue(java.lang.String, java.util.Locale)public java.lang.Object getValue(java.lang.String key)
ResourceAccessServicenull
will be returned.
getValue in interface ResourceAccessServicekey - the key to the resource object (not null)
null.ResourceAccessService.getValue(java.lang.String)public java.lang.Object getValue(java.lang.Class keyClass)
ResourceAccessService
getValue in interface ResourceAccessServicekeyClass - the key class (not null)
null.ResourceAccessService.getValue(java.lang.Class)public boolean hasValue(java.lang.String key)
ResourceAccessServicetrue, iff there exists a resource object mapping for
the given resource key.
hasValue in interface ResourceAccessServicekey - the key to the resource object (not null)ResourceAccessService.hasValue(java.lang.String)public boolean hasValue(java.lang.Class keyClass)
ResourceAccessServicetrue, iff there exists a resource object mapping for
The key class will be converted to it's full qualified class name,
under which the resource object must be specified.
hasValue in interface ResourceAccessServicekeyClass - the key class (not null)ResourceAccessService.hasValue(java.lang.Class)public java.lang.String getStringValue(java.lang.String key)
ResourceAccessServiceString corresponding to the given resource key.
If no resource value is defined for the key, null
will be returned.
getStringValue in interface ResourceAccessServicekey - the key to the resource object (not null)
null.ResourceAccessService.getStringValue(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||