javafx.beans.property.ReadOnlyIntegerProperty Java Examples
The following examples show how to use
javafx.beans.property.ReadOnlyIntegerProperty.
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: SetMultimapBinding.java From gef with Eclipse Public License 2.0 | 5 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { if (sizeProperty == null) { sizeProperty = new SizeProperty(); } return sizeProperty; }
Example #2
Source File: MultisetBinding.java From gef with Eclipse Public License 2.0 | 5 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { if (sizeProperty == null) { sizeProperty = new SizeProperty(); } return sizeProperty; }
Example #3
Source File: LRInspectorController.java From megan-ce with GNU General Public License v3.0 | 5 votes |
/** * create a horizontal axis * * @param maxReadLength * @return axis */ private static Pane createAxis(final ReadOnlyIntegerProperty maxReadLength, final ReadOnlyDoubleProperty widthProperty) { final Pane pane = new Pane(); pane.prefWidthProperty().bind(widthProperty); final NumberAxis axis = new NumberAxis(); axis.setSide(Side.TOP); axis.setAutoRanging(false); axis.setLowerBound(0); axis.prefHeightProperty().set(20); axis.prefWidthProperty().bind(widthProperty.subtract(60)); axis.setTickLabelFont(Font.font("Arial", 10)); final ChangeListener<Number> changeListener = (observable, oldValue, newValue) -> { int minX = Math.round(maxReadLength.get() / 2000.0f); // at most 2000 major ticks for (int x = 10; x < 10000000; x *= 10) { if (x >= minX && widthProperty.doubleValue() * x >= 50 * maxReadLength.doubleValue()) { axis.setUpperBound(maxReadLength.get()); axis.setTickUnit(x); return; } } axis.setTickUnit(maxReadLength.get()); axis.setUpperBound(maxReadLength.get()); }; maxReadLength.addListener(changeListener); widthProperty.addListener(changeListener); pane.getChildren().add(axis); return pane; }
Example #4
Source File: Connection.java From gef with Eclipse Public License 2.0 | 5 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { if (sizeProperty == null) { sizeProperty = new SizeProperty(); } return sizeProperty; }
Example #5
Source File: MultisetPropertyBase.java From gef with Eclipse Public License 2.0 | 5 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { if (sizeProperty == null) { sizeProperty = new SizeProperty(); } return sizeProperty; }
Example #6
Source File: SetMultimapPropertyBase.java From gef with Eclipse Public License 2.0 | 5 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { if (sizeProperty == null) { sizeProperty = new SizeProperty(); } return sizeProperty; }
Example #7
Source File: P2PService.java From bisq with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty getNumConnectedPeers() { return numConnectedPeers; }
Example #8
Source File: Player.java From gluon-samples with BSD 3-Clause "New" or "Revised" License | 4 votes |
public ReadOnlyIntegerProperty healthProperty() { return health.getReadOnlyProperty(); }
Example #9
Source File: Player.java From gluon-samples with BSD 3-Clause "New" or "Revised" License | 4 votes |
public ReadOnlyIntegerProperty ownedHealthPotionsProperty() { return ownedHealthPotions.getReadOnlyProperty(); }
Example #10
Source File: TerminalView.java From TerminalFX with MIT License | 4 votes |
public ReadOnlyIntegerProperty columnsProperty() { return columnsProperty.getReadOnlyProperty(); }
Example #11
Source File: TerminalView.java From TerminalFX with MIT License | 4 votes |
public ReadOnlyIntegerProperty rowsProperty() { return rowsProperty.getReadOnlyProperty(); }
Example #12
Source File: PointerEventHandler.java From jfxvnc with Apache License 2.0 | 4 votes |
public ReadOnlyIntegerProperty xPosProperty() { return xPosProperty.getReadOnlyProperty(); }
Example #13
Source File: PointerEventHandler.java From jfxvnc with Apache License 2.0 | 4 votes |
public ReadOnlyIntegerProperty yPosProperty() { return yPosProperty.getReadOnlyProperty(); }
Example #14
Source File: FeeService.java From bisq-core with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty feeUpdateCounterProperty() { return feeUpdateCounter; }
Example #15
Source File: WalletsSetup.java From bisq with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty numPeersProperty() { return numPeers; }
Example #16
Source File: WalletsSetup.java From bisq with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty chainHeightProperty() { return chainHeight; }
Example #17
Source File: FeeService.java From bisq with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty feeUpdateCounterProperty() { return feeUpdateCounter; }
Example #18
Source File: PriceFeedService.java From bisq with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty updateCounterProperty() { return updateCounter; }
Example #19
Source File: ProgressCircleIndicator.java From fx-progress-circle with Apache License 2.0 | 4 votes |
public ReadOnlyIntegerProperty progressProperty() { return progress.getReadOnlyProperty(); }
Example #20
Source File: FxTable.java From FxDock with Apache License 2.0 | 4 votes |
public ReadOnlyIntegerProperty selectedIndexProperty() { return getSelectionModel().selectedIndexProperty(); }
Example #21
Source File: ReadOnlyListWrapperEx.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { return ReadOnlyListWrapperEx.this.sizeProperty(); }
Example #22
Source File: ReadOnlyMultisetWrapper.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { return ReadOnlyMultisetWrapper.this.sizeProperty(); }
Example #23
Source File: ReadOnlySetMultimapWrapper.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { return ReadOnlySetMultimapWrapper.this.sizeProperty(); }
Example #24
Source File: ReadOnlyMapWrapperEx.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { return ReadOnlyMapWrapperEx.this.sizeProperty(); }
Example #25
Source File: ReadOnlySetWrapperEx.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public ReadOnlyIntegerProperty sizeProperty() { return ReadOnlySetWrapperEx.this.sizeProperty(); }
Example #26
Source File: ConfigData.java From youtube-comment-suite with MIT License | 4 votes |
public ReadOnlyIntegerProperty accountListChangedProperty() { return accountListChanged; }
Example #27
Source File: Workbench.java From WorkbenchFX with Apache License 2.0 | 4 votes |
public final ReadOnlyIntegerProperty amountOfPagesProperty() { return amountOfPages; }
Example #28
Source File: PriceFeedService.java From bisq-core with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty updateCounterProperty() { return updateCounter; }
Example #29
Source File: WalletsSetup.java From bisq-core with GNU Affero General Public License v3.0 | 4 votes |
public ReadOnlyIntegerProperty numPeersProperty() { return numPeers; }
Example #30
Source File: SetMultimapExpression.java From gef with Eclipse Public License 2.0 | 2 votes |
/** * An integer property that represents the size of the {@link SetMultimap}. * * @return A read-only property. */ public abstract ReadOnlyIntegerProperty sizeProperty();