@Override public DoubleBinding multiply(double other) { return getDelegate().multiply(other); }
@Override public DoubleBinding multiply(ObservableNumberValue other) { return getDelegate().multiply(other); }
@Override public DoubleBinding multiply(long other) { return getDelegate().multiply(other); }
@Override public DoubleBinding multiply(float other) { return getDelegate().multiply(other); }
@Override public DoubleBinding multiply(int other) { return getDelegate().multiply(other); }
/** * Create a new control */ public StyledTextArea() { this.getStyleClass().add("styled-text-area"); //$NON-NLS-1$ this.contentProperty = new ContentProperty(this, "content", new DefaultContent()); //$NON-NLS-1$ setFocusTraversable(true); //FIXME This rules out the CSS-Setting! // we cannot change remove it because the dynamic zoom depends on it -.- DoubleBinding lineHeight = org.eclipse.fx.ui.controls.Util.createTextHeightBinding("Pj", fontProperty(), this.fontZoomFactor); //$NON-NLS-1$ fixedLineHeightProperty().bind(lineHeight.multiply(1.3)); }
timeColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.15)); timeout.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.15)); messageColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.45)); idColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.25));
countColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(2).multiply(0.075)); workflowClassColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(2).multiply(0.525)); double totalSpaceForStateColumns = 0.4; tableColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(2).multiply(totalSpaceForStateColumns / WorkflowInstanceState.values().length)); resultTable.getColumns().add(tableColumn);
timeColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.15)); loglevelColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.05)); locationColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.05)); messageColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.73));
idColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.11)); prioritynColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.07)); processorPoolColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); stateColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.07)); timeoutColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); lastActivityTimestamp.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.11)); overallLifetimeInMs.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); startTime.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); finishTime.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); lastErrorTime.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.09)); errorInfos.prefWidthProperty().bind(resultTable.widthProperty().subtract(3).multiply(0.1));
previousNode.opacityProperty().bind(slider.valueProperty().add(-1).multiply(-1));
final DoubleBinding zoomedFontSize = origFontSize.multiply(getSkinnable().fontZoomFactorProperty()); final StringExpression zoomedFontStyle = Bindings.concat("-fx-font-size: ", zoomedFontSize, ";"); //$NON-NLS-1$//$NON-NLS-2$
innerBar.widthProperty().bind(width.subtract(10).multiply(new DoubleBinding() {
innerBar.widthProperty().bind(width.subtract(10).multiply(new DoubleBinding() {