Java Code Examples for javafx.scene.control.ScrollPane#ScrollBarPolicy
The following examples show how to use
javafx.scene.control.ScrollPane#ScrollBarPolicy .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CssTools.java From FxDock with Apache License 2.0 | 5 votes |
public static String toValue(ScrollPane.ScrollBarPolicy x) { switch(x) { case ALWAYS: return "always"; case AS_NEEDED: return "as-needed"; case NEVER: return "never"; } throw new Error("?" + x); }
Example 2
Source File: StandardFxProperties.java From FxDock with Apache License 2.0 | votes |
public static FxCssProp hBarPolicy(ScrollPane.ScrollBarPolicy x) { return new FxCssProp("-fx-hbar-policy", CssTools.toValue(x)); }
Example 3
Source File: StandardFxProperties.java From FxDock with Apache License 2.0 | votes |
public static FxCssProp vBarPolicy(ScrollPane.ScrollBarPolicy x) { return new FxCssProp("-fx-vbar-policy", CssTools.toValue(x)); }
Example 4
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final ScrollPane.ScrollBarPolicy getHbarPolicy() { return hbarPolicy.getValue(); }
Example 5
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final void setHbarPolicy(ScrollPane.ScrollBarPolicy value) { hbarPolicy.setValue(value); }
Example 6
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final Var<ScrollPane.ScrollBarPolicy> hbarPolicyProperty() { return hbarPolicy; }
Example 7
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final ScrollPane.ScrollBarPolicy getVbarPolicy() { return vbarPolicy.getValue(); }
Example 8
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final void setVbarPolicy(ScrollPane.ScrollBarPolicy value) { vbarPolicy.setValue(value); }
Example 9
Source File: VirtualizedScrollPane.java From Flowless with BSD 2-Clause "Simplified" License | votes |
public final Var<ScrollPane.ScrollBarPolicy> vbarPolicyProperty() { return vbarPolicy; }