I'm trying to get some information about the ScrollBar
components that are by standard included in a ScrollPane
. Especially i'm interested in reading the height
of the horizontal Scrollbar
. How can i reference it?
相关问题
- How to properly use Weld in JavaFX 2 application?
- JavaFX, MediaPlayer - volume trouble! Why the volu
- JavaFX 2 ComboBox setValue() does not set CB text
- How to enable HTML5 local storage in javafx WebVie
- JavaFX VBox and HBox layouts
相关文章
- How to change the color of pane in javafx?
- TableView has more columns than specified
- How to merge cells in JavaFX Scene builder?
- JavaFX: Tested/confirmed hardware (GPU) accelerati
- How to work with canvas and text in javafx
- How to center/wrap/truncate Text to fit within Rec
- JavaFX TableView is not updating
- RMI JavaFX 2 - NotSerializableException error
I think you can use the lookupAll() method of the Node class for find the scroll bars. http://docs.oracle.com/javafx/2/api/javafx/scene/Node.html#lookupAll(java.lang.String)
For example:
This not is the best pratice, but works,
Use "hsb" for Horizontal ScrollBar.
Best Regards, Henrique Guedes.