CSS Properties
This section explains how
- add you own CSS properties
to the CSS Swing engine :
- Custom CSS Property tooltip-uppercase
:
this section explains step by step how add
tooltip-uppercase
CSS property
which is enable to uppercase the text of the tooltip of the Swing Component with CSS style :
JLabel {
tooltip-uppercase:true;
}
- Custom CSS Property tooltip-content
:
this section explains step by step how add
tooltip-content
CSS property which is enable to manage the content of the tooltip
of the Swing Component with CSS style :
JLabel {
tooltip-content:'bla bla bla';
}
This section will explain how manage the 2 properties together :
tooltip-uppercase
et tooltip-content
dans la même règle CSS comme ceci :
JLabel {
tooltip-uppercase:true;
tooltip-content:'bla bla bla';
}
- Custom CSS Property tooltip
:
this section explains step by step how add
tooltip
CSS property composite
to define tooltip-uppercase
and tooltip-content
into the same
property value with CSS style :
JLabel {
tooltip:'bla bla bla content' true;
}
- add you own CSS properties
to the CSS SWT engine (TODO) :
please read Swing tutotial for the moment.