Trace:
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
jvx:client:gui:styles [2018/02/01 13:48] admin created |
jvx:client:gui:styles [2020/07/08 17:37] (current) cduncan articles |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTRANS~~ | ~~NOTRANS~~ | ||
| - | ~~Title: Using styles~~ | + | ~~Title: Using Styles~~ |
| - | It's possible to set style information on components. A style information is an additional attribute for the Look and Feel. Each UI implementation has a different mechanism to use style information. A web UI implementation could set the class attribute (CSS). | + | It's possible to set style information on components. A style information is an additional attribute for the look and feel. Each UI implementation has a different mechanism to use style information. A web UI implementation could set the class attribute (CSS). |
| - | == Using styles == | + | == Using Styles == |
| - | Setting a new style | + | Setting a new style: |
| <file java> | <file java> | ||
| Line 24: | Line 24: | ||
| The style information will be added to the existing style information, if available. | The style information will be added to the existing style information, if available. | ||
| - | The javax.ra.ui.Style class is immutable and updating style information only is possible via static method calls. | + | The javax.ra.ui.Style class is immutable, and updating style information is only possible via static method calls. |
| \\ | \\ | ||
| **<fs 20px>Note</fs>** | **<fs 20px>Note</fs>** | ||
| - | An short styling example is available in following Blog posting: [[https://blog.sibvisions.com/2018/01/10/visionx-jvx-and-native-vaadin/|VisionX, JVx and native Vaadin]] | + | A short styling example is available in the following blog post: [[https://blog.sibvisions.com/2018/01/10/visionx-jvx-and-native-vaadin/|VisionX, JVx and native Vaadin]] |
