src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
equal
deleted
inserted
replaced
2 <html lang="en"> |
2 <html lang="en"> |
3 <head> |
3 <head> |
4 <meta charset="utf-8"/> |
4 <meta charset="utf-8"/> |
5 <title>Synth File Format</title> |
5 <title>Synth File Format</title> |
6 <!-- |
6 <!-- |
7 Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. |
7 Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. |
8 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
8 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
9 |
9 |
10 This code is free software; you can redistribute it and/or modify it |
10 This code is free software; you can redistribute it and/or modify it |
11 under the terms of the GNU General Public License version 2 only, as |
11 under the terms of the GNU General Public License version 2 only, as |
12 published by the Free Software Foundation. Oracle designates this |
12 published by the Free Software Foundation. Oracle designates this |
775 <p> |
775 <p> |
776 The following outlines which painter will be used for what |
776 The following outlines which painter will be used for what |
777 SynthPainter method: |
777 SynthPainter method: |
778 </p> |
778 </p> |
779 <table border=1> |
779 <table border=1> |
780 <caption> Painters for SynthPainter methods </caption> |
780 <caption>Painters for SynthPainter methods</caption> |
781 <tr><th>State<th>Method<th>Painter |
781 <thead> |
782 <tr><td>SELECTED<td>paintButtonBackground<td>stateButtonBackgroundPainter |
782 <tr> |
783 <tr><td>SELECTED<td>Anything but paintButtonBackground<td>stateFallbackPainter |
783 <th scope="col">Index |
784 <tr><td>Anything but SELECTED<td>paintButtonBackground<td>styleButtonBackgroundPainter |
784 <th scope="col">State |
785 <tr><td>Anything but SELECTED<td>Anything but paintButtonBackground<td>fallbackPainter |
785 <th scope="col">Method |
|
786 <th scope="col">Painter |
|
787 </thead> |
|
788 <tbody> |
|
789 <tr> |
|
790 <th scope="row">1 |
|
791 <td>SELECTED |
|
792 <td>paintButtonBackground<td>stateButtonBackgroundPainter |
|
793 <tr> |
|
794 <th scope="row">2 |
|
795 <td>SELECTED |
|
796 <td>Anything but paintButtonBackground<td>stateFallbackPainter |
|
797 <tr> |
|
798 <th scope="row">3 |
|
799 <td>Anything but SELECTED |
|
800 <td>paintButtonBackground<td>styleButtonBackgroundPainter |
|
801 <tr> |
|
802 <th scope="row">4 |
|
803 <td>Anything but SELECTED |
|
804 <td>Anything but paintButtonBackground<td>fallbackPainter |
|
805 </tbody> |
786 </table> |
806 </table> |
787 |
807 |
788 <p> |
808 <p> |
789 When several identical painters are declared, they are aggregated into |
809 When several identical painters are declared, they are aggregated into |
790 a single one. Two painters are identical if their <em>direction</em> and |
810 a single one. Two painters are identical if their <em>direction</em> and |