Servis-Rhino 4211B Betriebsanweisung Seite 268

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 267
Styling FX Buttons with CCS
JavaFX CheckBox
The CheckBox widget provides a selectable checkbox. The checkbox may be in one of three
possible states:
selected = true – The checkbox is selected
selected = false – The checkbox is not selected
indeterminate = true – The checkbox is in an indeterminate state
JavaFX ChoiceBox
The choice box allows the user to pick from one of a set of possible values. The values are shown
in a drop down box. The single value selected is shown in the ChoiceBox area:
A property of the ChoiceBox called "items" contains the items that are available within the
pull-down. A property called "value" contains the currently selected item.
To determine when a value changes, we can use
myChoiceBox.valueProperty().addListener((observable, oldValue, newValue) -> {...});
JavaFX ColorPicker
The ColorPicker component shows a combo-box button that holds the selected color. Clicking this
button produces a pull-down where a color value can be selected.
Page 268
Seitenansicht 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare