messager.bindBidirectional(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, goalRotationToggleButton.selectedProperty(), false); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, startPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, startPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, startPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, goalPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, goalPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, goalPositionToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, startRotationToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, startRotationToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, startRotationToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, goalRotationToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, goalRotationToggleButton.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, goalRotationToggleButton.disableProperty());
messager.bindBidirectional(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, rotateGoal.selectedProperty(), false); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, placeStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, placeStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, placeStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, placeGoal.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, placeGoal.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, placeGoal.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, rotateStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, rotateStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalOrientationEditModeEnabledTopic, rotateStart.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartPositionEditModeEnabledTopic, rotateGoal.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.GoalPositionEditModeEnabledTopic, rotateGoal.disableProperty()); messager.bindPropertyToTopic(FootstepPlannerMessagerAPI.StartOrientationEditModeEnabledTopic, rotateGoal.disableProperty());
messager.bindBidirectional(NextDatasetRequest, nextDatasetButton.selectedProperty(), false); previousDatasetButton.disableProperty().bind(previousDatasetButton.selectedProperty()); previousDatasetButton.disableProperty().bind(reloadDatasetButton.selectedProperty()); previousDatasetButton.disableProperty().bind(nextDatasetButton.selectedProperty()); reloadDatasetButton.disableProperty().bind(previousDatasetButton.selectedProperty()); reloadDatasetButton.disableProperty().bind(reloadDatasetButton.selectedProperty()); reloadDatasetButton.disableProperty().bind(nextDatasetButton.selectedProperty()); nextDatasetButton.disableProperty().bind(previousDatasetButton.selectedProperty()); nextDatasetButton.disableProperty().bind(reloadDatasetButton.selectedProperty()); nextDatasetButton.disableProperty().bind(nextDatasetButton.selectedProperty());
filterButton.disableProperty().bind(repeatToggleButton.selectedProperty());
public void bindControls() { setupControls(); messager.bindBidirectional(ShowStartPosition, showStartToggleButton.selectedProperty(), false); messager.bindBidirectional(ShowGoalPosition, showGoalToggleButton.selectedProperty(), false); messager.bindBidirectional(StartEditModeEnabled, placeStartToggleButton.selectedProperty(), false); messager.bindBidirectional(StartEditModeEnabled, placeGoalToggleButton.disableProperty(), false); messager.bindBidirectional(GoalEditModeEnabled, placeGoalToggleButton.selectedProperty(), false); messager.bindBidirectional(GoalEditModeEnabled, placeStartToggleButton.disableProperty(), false); startPositionProperty.bindBidirectionalX(startXSpinner.getValueFactory().valueProperty()); startPositionProperty.bindBidirectionalY(startYSpinner.getValueFactory().valueProperty()); startPositionProperty.bindBidirectionalZ(startZSpinner.getValueFactory().valueProperty()); messager.bindBidirectional(UIVisibilityGraphsTopics.StartPosition, startPositionProperty, false); goalPositionProperty.bindBidirectionalX(goalXSpinner.getValueFactory().valueProperty()); goalPositionProperty.bindBidirectionalY(goalYSpinner.getValueFactory().valueProperty()); goalPositionProperty.bindBidirectionalZ(goalZSpinner.getValueFactory().valueProperty()); messager.bindBidirectional(UIVisibilityGraphsTopics.GoalPosition, goalPositionProperty, false); }
pause.disableProperty().bind(play.selectedProperty().not());