Package javafx.scene

Examples of javafx.scene.Parent


        3, FORMAT_SONAR, RS.IMG_RULER, GuiUtil.COLOR_SONAR);
    //sonarTripGauge.gauge.tickMarkLabelFillProperty.set(Color.WHITE);
    controlBar.addHelpTextTrigger(sonarTripGauge, RS.rbLabel(KEY.SONAR_THRESHOLD_DESC, feet));
    sonarTripGauge.gauge.setIntensity(80d, 15d, 5d);
    sonarTripGauge.setMaxWidth(200d);
    final Parent sonarCell = createCell(sonarThresholdLabel, sonarTripGauge);
   
    add(sonarCell, ci, ri);

    final Label mwThreshold = createLabel(KEY.MW_THRESHOLD, feet);
    final UGateGaugeBox<RemoteNode> mwTripGauge = new UGateGaugeBox<>(
        controlBar.getRemoteNodePA(),
        RemoteNodeType.MW_SPEED_THRES_CYCLES_PER_SEC, null,
        IndicatorType.NEEDLE, THRESHOLD_SIZE_SCALE, 1d,
        RemoteNodeType.MW_SPEED_THRES_CYCLES_PER_SEC.getMin().intValue(), 0d, 180d,
        RemoteNodeType.MW_SPEED_THRES_CYCLES_PER_SEC.getMax().intValue() - 1,
        0, FORMAT_MW, RS.IMG_SPEEDOMETER, GuiUtil.COLOR_MW);
    controlBar.addHelpTextTrigger(mwTripGauge, RS.rbLabel(KEY.MW_THRESHOLD_DESC, feet));
    final Parent mwCell = createCell(mwThreshold, mwTripGauge);
    add(mwCell, ++ci, ri);

    final Label laserThreshold = createLabel(KEY.LASER_THRESHOLD, RS.rbLabel(KEY.FEET), feet);
    final UGateGaugeBox<RemoteNode> laserTripGauge = new UGateGaugeBox<>(
        controlBar.getRemoteNodePA(),
        RemoteNodeType.LASER_DISTANCE_THRES_FEET,
        RemoteNodeType.LASER_DISTANCE_THRES_INCHES,
        IndicatorType.NEEDLE, THRESHOLD_SIZE_SCALE, 4d,
        RemoteNodeType.LASER_DISTANCE_THRES_FEET.getMin().intValue(), 0d, 180d,
        RemoteNodeType.LASER_DISTANCE_THRES_FEET.getMax().intValue(),
        3, FORMAT_LASER, RS.IMG_RULER, GuiUtil.COLOR_LASER);
    //laserTripGauge.gauge.tickMarkLabelFillProperty.set(Color.WHITE);
    controlBar.addHelpTextTrigger(laserTripGauge, RS.rbLabel(KEY.LASER_THRESHOLD_DESC, feet));
    laserTripGauge.gauge.setIntensity(100d, 0d, 0d);
    final Parent laserCell = createCell(laserThreshold, laserTripGauge);
    add(laserCell, ++ci, ri);
  }
View Full Code Here


    lp.getChildren().addAll(laserDelay, laserTripRateGauge);
   
    final HBox p = new HBox(CHILD_PADDING);
    p.setAlignment(Pos.CENTER);
    p.getChildren().addAll(sp, pp, mp, lp);
    final Parent cell = createCell(p);
    add(cell, columnIndex, rowIndex, 3, 1);
  }
View Full Code Here

      }
    });
    controlBar.addHelpTextTrigger(laserCalibrate, RS.rbLabel(KEY.LASER_CALIBRATION_DESC));
    grid.add(laserCalibrate, 1, 5);
   
    final Parent camCell = createCell(grid);
    add(camCell, 0, 0);
  }
View Full Code Here

        IndicatorType.KNOB, KNOB_SIZE_SCALE, 10.7d, 0, 0, 180d, 18, 0,
        FORMAT_ANGLE, RS.IMG_PAN, GuiUtil.COLOR_PIR);
    controlBar.addHelpTextTrigger(pirTiltGauge, RS.rbLabel(KEY.CAM_TILT_PIR_DESC));
    grid.add(pirTiltGauge, 1, 5);
   
    final Parent cell = createCell(grid);
    add(cell, 1, 0);
  }
View Full Code Here

        IndicatorType.KNOB, KNOB_SIZE_SCALE, 10.7d, 0, 0, 180d, 18, 0,
        FORMAT_ANGLE, RS.IMG_PAN, GuiUtil.COLOR_LASER);
    controlBar.addHelpTextTrigger(laserTiltGauge, RS.rbLabel(KEY.CAM_TILT_LASER_DESC));
    grid.add(laserTiltGauge, 1, 5);
   
    final Parent cell = createCell(grid);
    add(cell, 2, 0);
  }
View Full Code Here

    calenderButton.setId("CalenderButton");
    calenderButton.setOnAction(new EventHandler<ActionEvent>() {

      @Override
      public void handle(ActionEvent ae) {
        Parent parent = SimpleCalendar.this.getParent();
        // Popup will be shown at upper left corner of calenderbutton
        Point2D point = calenderButton.localToScene(0, 0);
        final double layoutX = parent.getScene().getWindow().getX() + parent.getScene().getX() + point.getX();
        final double layoutY = parent.getScene().getWindow().getY() + parent.getScene().getY() + point.getY();
        popup.show(SimpleCalendar.this, layoutX, layoutY);

      }
    });
   
View Full Code Here

    syncToggleSwitch = new UGateToggleSwitchBox<>(
        controlBar.getRemoteNodePA(), RemoteNodeType.DEVICE_AUTO_SYNCHRONIZE,
        RS.IMG_SYNC_ON, RS.IMG_SYNC_OFF);
    controlBar.addHelpTextTrigger(syncToggleSwitch, RS.rbLabel(KEY.WIRELESS_REMOTE_SYNC_DESC));

    final Parent generalCell = createCell(soundLabel, soundsToggleSwitch, emailLabel, emailToggleSwitch,
        imgResLabel, imgResToggleSwitch, syncResLabel, syncToggleSwitch);
    add(generalCell, columnIndex, rowIndex);
  }
View Full Code Here

      controlBar.addHelpTextTrigger(accessKey3, RS.rbLabel(KEY.WIRELESS_ACCESS_KEY_DESC, 3));
     
      final HBox accessKeysContainer = new HBox(5);
      accessKeysContainer.getChildren().addAll(accessKey1, accessKey2, accessKey3);
     
    final Parent setupCell = createCell(nodeLabel, remoteAddress, workingDir, alarmMultistates,
        univRemoteLabel, universalRemoteAccessToggleSwitch, accessKeysContainer);
    add(setupCell, columnIndex, rowIndex);
  }
View Full Code Here

                RS.img(RS.IMG_GATE_OPENED) : RS.img(RS.IMG_GATE_CLOSED));
            gateToggleBtn.setDisable(false);
          }
        });
   
    final Parent cell = createCell(gateHeader, gateToggleSwitchView,
        gateCtrlHeader, gateToggleBtn);
    add(cell, columnIndex, rowIndex);
  }
View Full Code Here

        MethodsView methodsView
                = new MethodsView();
        MethodsPresenter methodsPresenter = (MethodsPresenter) methodsView.getPresenter();
        methodsPresenter.monitor(this.monitoredApplication, ejb);
        methods.getChildren().clear();
        final Parent view = methodsView.getView();
        AnchorPane.setRightAnchor(view, 0.0);
        AnchorPane.setLeftAnchor(view, 0.0);
        AnchorPane.setBottomAnchor(view, 0.0);
        AnchorPane.setTopAnchor(view, 0.0);
        methods.getChildren().add(view);
View Full Code Here

TOP

Related Classes of javafx.scene.Parent

Copyright © 2018 www.massapicom. 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.