|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.utils.ResourcesManager
fr.ove.utils.CachingResourcesManager
fr.ove.openmath.jome.ctrlview.bidim.images.ImagesResourcesManager
The resources manager for the images.
The syntax for the resources is : imgId = imgName:heightFactor:baseline
(Look at the resources file to get full signification of the different fields)
| Constructor Summary | |
ImagesResourcesManager(java.lang.String resourcesName)
The Constructor. |
|
| Method Summary | |
java.lang.String |
getBaseline(java.lang.String property)
Returns the baseline of the image corresponding to the property |
java.lang.String |
getBottomInset(java.lang.String property)
Returns the bottom inset of the image corresponding to the property |
java.lang.String |
getHeightFactor(java.lang.String property)
Returns the height factor to apply to the orignal size of the image corresponding to the property |
java.lang.String |
getImageName(java.lang.String property)
Returns the name of the image corresponding to the property |
java.lang.String |
getLeftInset(java.lang.String property)
Returns the left inset of the image corresponding to the property |
java.lang.String |
getRightInset(java.lang.String property)
Returns the right inset of the image corresponding to the property |
java.lang.String |
getTopInset(java.lang.String property)
Returns the top inset of the image corresponding to the property |
| Methods inherited from class fr.ove.utils.CachingResourcesManager |
accessResource |
| Methods inherited from class fr.ove.utils.ResourcesManager |
getResourceString, getResourceStrings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImagesResourcesManager(java.lang.String resourcesName)
resourcesName - the name of the resources file.| Method Detail |
public java.lang.String getImageName(java.lang.String property)
property - the specified propertypublic java.lang.String getHeightFactor(java.lang.String property)
property - the specified propertypublic java.lang.String getBaseline(java.lang.String property)
property - the specified propertypublic java.lang.String getTopInset(java.lang.String property)
property - the specified propertypublic java.lang.String getBottomInset(java.lang.String property)
property - the specified propertypublic java.lang.String getLeftInset(java.lang.String property)
property - the specified propertypublic java.lang.String getRightInset(java.lang.String property)
property - the specified property
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||