All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.objects.acroforms.javafx.JavaFXGeneral Maven / Gradle / Ivy

There is a newer version: 7.15.25
Show newest version
/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * JavaFXGeneral.java
 * ---------------
 */


package org.jpedal.objects.acroforms.javafx;

import javafx.scene.control.Label;
import javafx.scene.layout.HBox;

class JavaFXGeneral {
    private Label issuedToBox;
    private Label label1;
    private Label label3;
    private Label label4;
    private Label validFromBox;
    private Label validToBox;

    /**
     * Creates new form General
     */
    JavaFXGeneral() {
        initComponents();
    }

    void setValues(final String name, final String notBefore, final String notAfter) {
        issuedToBox.setText(name);
        validFromBox.setText(notBefore);
        validToBox.setText(notAfter);
    }

    private void initComponents() {
        final HBox box = new HBox();

        label1.setText("Valid to:");
        label3.setText("Valid from:");
        label4.setText("Issued to:");

        box.getChildren().addAll(label1, label3, label4, validFromBox, issuedToBox);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy