Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

applications:platform_theme [2018/02/07 06:25]
admin created
applications:platform_theme [2020/07/01 16:17] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 2: Line 2:
 ~~Title: Using PlatformTheme~~ ~~Title: Using PlatformTheme~~
  
-The PlatformTheme is a special ITheme. It's always active and loads image mappings for the current platform from a mapping (xml) file. This theme could be used to have the same application ​runing ​on desktop, web and mobile environments but with different image mappings. The images on mobile devices should or can be different to desktop application icons. The PlatformTheme is a built-in mechanism to allow image replacement without writing source code.+The PlatformTheme is a special ITheme. It's always active and loads image mappings for the current platform from a mapping (XML) file. This theme could be used to have the same application ​running ​on desktop, weband mobile environments but with different image mappings. The images on mobile devices shouldor canbe different to desktop application icons. The PlatformTheme is a built-in mechanism to allow image replacement without writing source code.
  
 The search order for the mapping file is as follows: The search order for the mapping file is as follows:
  
   - Use the package of translation parameter, if set (Application.translation)   - Use the package of translation parameter, if set (Application.translation)
-  - Use the package of a custom ​Application ​class, if there is one +  - Use the package of a custom ​application ​class, if there is one 
-  - Use the package of a custom ​Theme implementation,​ if set+  - Use the package of a custom ​theme implementation,​ if set
   - Use the package of a custom platform Theme implementation,​ if set   - Use the package of a custom platform Theme implementation,​ if set
  
Line 25: Line 25:
 </​file>​ </​file>​
  
-Above replacement will change default JVx' image mappings, e.g. if your code contains+The above replacement will change default JVx' image mappings, e.g.if your code contains
  
 <file java> <file java>
Line 31: Line 31:
 </​file>​ </​file>​
  
-It's also possible to use full qualified resource path to change your custom images in your application because not all images were taken from the JVx library:+It's also possible to use full qualified resource path to change your custom images in your application because not all images were taken from the JVx library:
  
 <file xml> <file xml>
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information