Java Reference
In-Depth Information
Figure 9-8.
The final version of AudioPlayer 4 with the metadata/controls view (top) and equalizer view (bottom)
The bottom image of Figure
9-8
shows the special styling that was applied to the
Slider
and
SpectrumBar
controls of the
EqualizerView
. You might also have noticed that the Back and EQ buttons are shaped like arrows. This
was also done via the application's style sheet. Those styles are shown in Listing 9-30.
Listing 9-30.
Styling the Equalizer and Buttons
#eqButton {
-fx-shape: "M 1,0 L 10,0 13,5 10,10 1,10 Q 0 10 0 9 L 0,1 Q 0 0 1 0";
-fx-font-size: 12pt;
-fx-alignment: center-left;
}
Search WWH ::
Custom Search