Examples of selectedProperty()


Examples of javafx.scene.control.ToggleButton.selectedProperty()

    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.ToggleButton.selectedProperty()

    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.ToggleButton.selectedProperty()

   
   
    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(){
View Full Code Here

Examples of javafx.scene.control.ToggleButton.selectedProperty()

   
    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.ToggleButton.selectedProperty()

            final int index = i;
            final Tool tool = tools[i];
            final ToggleButton button = new ToggleButton(tool.getName().replace(' ', '\n'));
            ImageView icon = new ImageView(tool.getIcon());
            icon.effectProperty().bind(new ObjectBinding<Effect>() {
                { bind(button.selectedProperty()); }
                @Override protected Effect computeValue() {
                    return button.isSelected() ? null : new ColorAdjust(0, -1, 0, 0);
                }
            });
            button.setGraphic(icon);
View Full Code Here

Examples of javafx.scene.control.ToggleButton.selectedProperty()

    {
      // create buttons
      ToggleButton lToggleButton = new ToggleButton("" + i);
      lToggleButton.setId("day" + i);
      lToggleButton.getStyleClass().add("day-button");
      lToggleButton.selectedProperty().addListener(toggleButtonSelectedPropertyChangeListener); // for minimal memory usage, use a single listener
      lToggleButton.onMouseReleasedProperty().set(toggleButtonMouseReleasedPropertyEventHandler); // for minimal memory usage, use a single listener
      lToggleButton.onKeyReleasedProperty().set(toggleButtonKeyReleasedPropertyEventHandler); // for minimal memory usage, use a single listener
     
      // remember which button belongs to this property
      booleanPropertyToDayToggleButtonMap.put(lToggleButton.selectedProperty(), lToggleButton);
View Full Code Here

Examples of javafx.scene.control.ToggleButton.selectedProperty()

      lToggleButton.selectedProperty().addListener(toggleButtonSelectedPropertyChangeListener); // for minimal memory usage, use a single listener
      lToggleButton.onMouseReleasedProperty().set(toggleButtonMouseReleasedPropertyEventHandler); // for minimal memory usage, use a single listener
      lToggleButton.onKeyReleasedProperty().set(toggleButtonKeyReleasedPropertyEventHandler); // for minimal memory usage, use a single listener
     
      // remember which button belongs to this property
      booleanPropertyToDayToggleButtonMap.put(lToggleButton.selectedProperty(), lToggleButton);
     
      // add it
      lToggleButton.setMaxWidth(Double.MAX_VALUE); // make the button grow to fill a GridPane's cell
      lToggleButton.setAlignment(Pos.BASELINE_CENTER);
     
View Full Code Here

Examples of org.gwt.mosaic.application.client.CmdAction.selectedProperty()

        }
        if (cmdAction.enabledProperty() != null
            && cmdAction.enabledProperty().length() > 0) {
          cmdActionDescriptor.enabledProperty = cmdAction.enabledProperty();
        }
        if (cmdAction.selectedProperty() != null
            && cmdAction.selectedProperty().length() > 0) {
          cmdActionDescriptor.selectedProperty = cmdAction.selectedProperty();
        }
        cmdActionDescriptorList.add(cmdActionDescriptor);
      }
View Full Code Here

Examples of org.gwt.mosaic.application.client.CmdAction.selectedProperty()

        if (cmdAction.enabledProperty() != null
            && cmdAction.enabledProperty().length() > 0) {
          cmdActionDescriptor.enabledProperty = cmdAction.enabledProperty();
        }
        if (cmdAction.selectedProperty() != null
            && cmdAction.selectedProperty().length() > 0) {
          cmdActionDescriptor.selectedProperty = cmdAction.selectedProperty();
        }
        cmdActionDescriptorList.add(cmdActionDescriptor);
      }
    }
View Full Code Here

Examples of org.gwt.mosaic.application.client.CmdAction.selectedProperty()

            && cmdAction.enabledProperty().length() > 0) {
          cmdActionDescriptor.enabledProperty = cmdAction.enabledProperty();
        }
        if (cmdAction.selectedProperty() != null
            && cmdAction.selectedProperty().length() > 0) {
          cmdActionDescriptor.selectedProperty = cmdAction.selectedProperty();
        }
        cmdActionDescriptorList.add(cmdActionDescriptor);
      }
    }
  }
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.