final Parent laserCell = createCell(laserThreshold, laserTripGauge);
add(laserCell, ++ci, ri);
}
protected void addDelayChildren(final int columnIndex, final int rowIndex) {
final VBox sp = new VBox();
final Label sonarDelayLabel = createLabel(KEY.SONAR_ALARM_DELAY);
final UGateGaugeBox<RemoteNode> sonarTripRateGauge = new UGateGaugeBox<>(
controlBar.getRemoteNodePA(),
RemoteNodeType.SONAR_DELAY_BTWN_TRIPS, null,
IndicatorType.NEEDLE, DELAY_SIZE_SCALE, 1d,
RemoteNodeType.SONAR_DELAY_BTWN_TRIPS.getMin().intValue(), 0d, 180d,
RemoteNodeType.SONAR_DELAY_BTWN_TRIPS.getMax().intValue() + 1, 0,
FORMAT_DELAY, RS.IMG_STOPWATCH, GuiUtil.COLOR_SONAR);
controlBar.addHelpTextTrigger(sonarTripRateGauge, RS.rbLabel(KEY.SONAR_ALARM_DELAY_DESC));
sonarTripRateGauge.gauge.setIntensity(Color.TRANSPARENT, Color.TRANSPARENT, Color.TRANSPARENT);
sp.getChildren().addAll(sonarDelayLabel, sonarTripRateGauge);
final VBox pp = new VBox();
final Label pirDelay = createLabel(KEY.PIR_ALARM_DELAY);
final UGateGaugeBox<RemoteNode> pirTripRateGauge = new UGateGaugeBox<>(
controlBar.getRemoteNodePA(),
RemoteNodeType.PIR_DELAY_BTWN_TRIPS, null,
IndicatorType.NEEDLE, DELAY_SIZE_SCALE, 1d,
RemoteNodeType.PIR_DELAY_BTWN_TRIPS.getMin().intValue(), 0d, 180d,
RemoteNodeType.PIR_DELAY_BTWN_TRIPS.getMax().intValue() + 1, 0,
FORMAT_DELAY, RS.IMG_STOPWATCH, GuiUtil.COLOR_PIR);
controlBar.addHelpTextTrigger(pirTripRateGauge, RS.rbLabel(KEY.PIR_ALARM_DELAY_DESC));
pirTripRateGauge.gauge.setIntensity(Color.TRANSPARENT, Color.TRANSPARENT, Color.TRANSPARENT);
pp.getChildren().addAll(pirDelay, pirTripRateGauge);
final VBox mp = new VBox();
final Label mwDelay = createLabel(KEY.MW_ALARM_DELAY);
final UGateGaugeBox<RemoteNode> mwTripRateGauge = new UGateGaugeBox<>(
controlBar.getRemoteNodePA(),
RemoteNodeType.MW_DELAY_BTWN_TRIPS, null, IndicatorType.NEEDLE,
DELAY_SIZE_SCALE, 1d,
RemoteNodeType.MW_DELAY_BTWN_TRIPS.getMin().intValue(), 0d, 180d,
RemoteNodeType.MW_DELAY_BTWN_TRIPS.getMax().intValue() + 1, 0, FORMAT_DELAY,
RS.IMG_STOPWATCH, GuiUtil.COLOR_MW);
controlBar.addHelpTextTrigger(mwTripRateGauge, RS.rbLabel(KEY.MW_ALARM_DELAY_DESC));
mwTripRateGauge.gauge.setIntensity(Color.TRANSPARENT, Color.TRANSPARENT, Color.TRANSPARENT);
mp.getChildren().addAll(mwDelay, mwTripRateGauge);
final VBox lp = new VBox();
final Label laserDelay = createLabel(KEY.LASER_ALARM_DELAY);
final UGateGaugeBox<RemoteNode> laserTripRateGauge = new UGateGaugeBox<>(
controlBar.getRemoteNodePA(),
RemoteNodeType.LASER_DELAY_BTWN_TRIPS, null,
IndicatorType.NEEDLE, DELAY_SIZE_SCALE, 1d,
RemoteNodeType.LASER_DELAY_BTWN_TRIPS.getMin().intValue(), 0d, 180d,
RemoteNodeType.LASER_DELAY_BTWN_TRIPS.getMax().intValue() + 1, 0,
FORMAT_DELAY, RS.IMG_STOPWATCH, GuiUtil.COLOR_LASER);
controlBar.addHelpTextTrigger(laserTripRateGauge, RS.rbLabel(KEY.LASER_ALARM_DELAY_DESC));
laserTripRateGauge.gauge.setIntensity(Color.TRANSPARENT, Color.TRANSPARENT, Color.TRANSPARENT);
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);