Package org.ugate.gui.components

Examples of org.ugate.gui.components.Digits


    this.sensorReadingsPropertyWrapper = new ReadOnlyObjectWrapper<RemoteNodeReading>();
    readDate = new Label();
    readDate.getStyleClass().add("readings-text");
    cb.addHelpTextTrigger(readDate, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_TIME));
    final ImageView sonarReadingLabel = RS.imgView(RS.IMG_SONAR);
    sonarReading = new Digits(String.format(AlarmThresholds.FORMAT_SONAR, 0.0f),
        0.15f, GuiUtil.COLOR_SONAR, null);
    cb.addHelpTextTrigger(sonarReading, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_SENSOR));
    final ImageView pirReadingLabel = RS.imgView(RS.IMG_PIR);
    pirReading = new Digits(String.format(AlarmThresholds.FORMAT_PIR, 0),
        0.15f, GuiUtil.COLOR_PIR, null);
    cb.addHelpTextTrigger(pirReading, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_SENSOR));
    final ImageView mwReadingLabel = RS.imgView(RS.IMG_MICROWAVE);
    mwReading = new Digits(String.format(AlarmThresholds.FORMAT_MW, 0), 0.15f,
        GuiUtil.COLOR_MW, null);
    cb.addHelpTextTrigger(mwReading, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_SENSOR));
    final ImageView laserReadingLabel = RS.imgView(RS.IMG_LASER);
    laserReading = new Digits(String.format(AlarmThresholds.FORMAT_LASER, 0.0f),
        0.15f, GuiUtil.COLOR_LASER, null);
    cb.addHelpTextTrigger(laserReading, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_SENSOR));
    reportReadings = new UGateToggleSwitchBox<>(
        controlBar.getRemoteNodePA(), RemoteNodeType.REPORT_READINGS);
    cb.addHelpTextTrigger(reportReadings, RS.rbLabel(KEY.WIRELESS_REMOTE_READINGS_REPORT));
View Full Code Here

TOP

Related Classes of org.ugate.gui.components.Digits

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.