Examples of disableProperty()


Examples of javafx.scene.control.Button.disableProperty()

    hbox.getChildren().add(new Label("ms"));
    customMenuItem.setContent(hbox);
    buttonsPane.getChildren().add(settings);
   
   
    refreshButton.disableProperty().bind(toggleButton.selectedProperty());
    clearButton.disableProperty().bind(toggleButton.selectedProperty());
    filterContent.disableProperty().bind(toggleButton.selectedProperty());
    leftFilterPart.disableProperty().bind(toggleButton.selectedProperty());
    settings.disableProperty().bind(toggleButton.selectedProperty());
    return buttonsPane;
View Full Code Here

Examples of javafx.scene.control.CheckBox.disableProperty()

        return df.format(sfSlider.getValue()) + "";
      }
    });

    final CheckBox slVisibleCB = new CheckBox();
    slVisibleCB.disableProperty().bind(activateCB.selectedProperty().not());
    scopeLinesVisible.bind(slVisibleCB.selectedProperty());

    final Slider sllider = new Slider(1, 4, 1.5);
    sllider.disableProperty().bind(new BooleanBinding() {
      {
View Full Code Here

Examples of javafx.scene.control.CheckBox.disableProperty()

        return df.format(sllider.getValue()) + "px";
      }
    });

    CheckBox scaleOnScrollCB = new CheckBox();
    scaleOnScrollCB.disableProperty().bind(activateCB.selectedProperty().not());
    scalableOnScroll.bind(scaleOnScrollCB.selectedProperty());

    CheckBox resizeOnScrollCB = new CheckBox();
    resizeOnScrollCB.disableProperty().bind(activateCB.selectedProperty().not());
    resizableOnScroll.bind(resizeOnScrollCB.selectedProperty());
View Full Code Here

Examples of javafx.scene.control.CheckBox.disableProperty()

    CheckBox scaleOnScrollCB = new CheckBox();
    scaleOnScrollCB.disableProperty().bind(activateCB.selectedProperty().not());
    scalableOnScroll.bind(scaleOnScrollCB.selectedProperty());

    CheckBox resizeOnScrollCB = new CheckBox();
    resizeOnScrollCB.disableProperty().bind(activateCB.selectedProperty().not());
    resizableOnScroll.bind(resizeOnScrollCB.selectedProperty());

    final Label secHeading = new Label("Configurable Properties :");
    secHeading.getStyleClass().add("sectionHeading");
    secHeading.setPrefHeight(40);
View Full Code Here

Examples of javafx.scene.control.MenuButton.disableProperty()

   
    refreshButton.disableProperty().bind(toggleButton.selectedProperty());
    clearButton.disableProperty().bind(toggleButton.selectedProperty());
    filterContent.disableProperty().bind(toggleButton.selectedProperty());
    leftFilterPart.disableProperty().bind(toggleButton.selectedProperty());
    settings.disableProperty().bind(toggleButton.selectedProperty());
    return buttonsPane;
  }
 
  private Node createFilterContent(){
    final Node content = filterForm.createContent();
View Full Code Here

Examples of javafx.scene.control.MenuItem.disableProperty()

          final ClipboardContent content = new ClipboardContent();
          content.putString(treeView.getSelectionModel().getSelectedItem().getValue().displayname);
          clipboard.setContent(content);
      }
    });
    copy.disableProperty().bind(treeView.getSelectionModel().selectedItemProperty().isNull());
    contextMenu.getItems().add(copy);
    treeView.setContextMenu(contextMenu);
  }
 
  private void expand(TreeItem<DisplayWorkflowClassesModel> newValue){
View Full Code Here

Examples of javafx.scene.control.MenuItem.disableProperty()

      public void handle(ActionEvent event) {
        navigation.createWorkflowInstanceDetailForm(resultTable.getSelectionModel().getSelectedItem().id.get(),usedFilter.selectedEngine.get()).show();

      }
    });
        detailMenuItem.disableProperty().bind(resultTable.getSelectionModel().selectedItemProperty().isNull());
        contextMenu.getItems().add(detailMenuItem);
        MenuItem audittrailMenuItem = new MenuItem("Audittrail");
        audittrailMenuItem.setOnAction(new EventHandler<ActionEvent>() {
      @Override
      public void handle(ActionEvent event) {
View Full Code Here

Examples of javafx.scene.control.MenuItem.disableProperty()

        FilterAbleForm<AuditTrailFilterModel,AuditTrailResultModel> audittrailForm = navigation.createAudittrailForm();
        audittrailForm.getFilter().workflowInstanceId.set(resultTable.getSelectionModel().getSelectedItem().id.get());
        audittrailForm.show();
      }
    });
        audittrailMenuItem.disableProperty().bind(resultTable.getSelectionModel().selectedItemProperty().isNull());
        contextMenu.getItems().add(audittrailMenuItem);
       
        resultTable.setContextMenu(contextMenu);
       
       
View Full Code Here

Examples of javafx.scene.control.Slider.disableProperty()

    final CheckBox activateCB = new CheckBox();
    activateCB.setSelected(true);
    active.bind(activateCB.selectedProperty());

    final Slider rSlider = new Slider(50, 150, 86);
    rSlider.disableProperty().bind(activateCB.selectedProperty().not());
    radius.bind(rSlider.valueProperty());
    Label rL = new Label();
    rL.textProperty().bind(new StringBinding() {
      {
        bind(rSlider.valueProperty());
View Full Code Here

Examples of javafx.scene.control.Slider.disableProperty()

        return df.format(rSlider.getValue()) + "px";
      }
    });

    final Slider fmSlider = new Slider(3, 10, 5.5);
    fmSlider.disableProperty().bind(activateCB.selectedProperty().not());
    frameWidth.bind(fmSlider.valueProperty());
    Label fmL = new Label();
    fmL.textProperty().bind(new StringBinding() {
      {
        bind(fmSlider.valueProperty());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.