Package fr.soleil.salsa.client.view.component

Examples of fr.soleil.salsa.client.view.component.DoubleField


    // /---- Edge fields -----///////

    public TextField getE0Field() {
        if (this.e0Field == null) {
            e0Field = new DoubleField(false);
            e0Field.setPreferredSize(new Dimension(120, 20));
            e0Field.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(e0Field.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here


        return kDeltaField;
    }

    public TextField getPostEdgeTimeField() {
        if (this.postTimeField == null) {
            postTimeField = new DoubleField(false);
            postTimeField.setPreferredSize(new Dimension(120, 20));
            postTimeField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(postTimeField.getText()))
                        scanKTrajectoryController.notifyPostEdgeTimeFieldChange(Double
View Full Code Here

        return e0Field;
    }

    public TextField getE1Field() {
        if (this.e1Field == null) {
            e1Field = new DoubleField(false);
            e1Field.setPreferredSize(new Dimension(120, 20));
            e1Field.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(e1Field.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here

        return postTimeField;
    }

    public TextField getNField() {
        if (this.nField == null) {
            nField = new DoubleField(false);
            nField.setPreferredSize(new Dimension(120, 20));
            nField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(nField.getText()))
                        scanKTrajectoryController.notifyNFieldChange(Double.valueOf(nField
View Full Code Here

        return e1Field;
    }

    public TextField getE2Field() {
        if (this.e2Field == null) {
            e2Field = new DoubleField(false);
            e2Field.setPreferredSize(new Dimension(120, 20));
            e2Field.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(e2Field.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here

    // /---- Connexion fields -----///////

    public TextField getMField() {
        if (this.mField == null) {
            mField = new DoubleField(false);
            mField.setEditable(false);
            mField.setPreferredSize(new Dimension(120, 20));
            mField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(mField.getText()))
View Full Code Here

        return e2Field;
    }

    public TextField getEDeltaEdgeField() {
        if (this.eDeltaEdgeField == null) {
            eDeltaEdgeField = new DoubleField(false);
            eDeltaEdgeField.setPreferredSize(new Dimension(120, 20));
            eDeltaEdgeField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(eDeltaEdgeField.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here

        return eDeltaEdgeField;
    }

    public TextField getTimeEdgeField() {
        if (this.timeEdgeField == null) {
            timeEdgeField = new DoubleField(false);
            timeEdgeField.setPreferredSize(new Dimension(120, 20));
            timeEdgeField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(timeEdgeField.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here

    public TextField getKMinField() {
        if (this.kMinField == null) {
            DecimalFormat kMinFieldFormat = (DecimalFormat) DoubleField.DEFAULT_FORMAT.clone();
            kMinFieldFormat.setMaximumFractionDigits(4);
            kMinField = new DoubleField(false, kMinFieldFormat);
            kMinField.setPreferredSize(new Dimension(120, 20));
            kMinField.setEditable(false);
            kMinField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(kMinField.getText())) {
View Full Code Here

        return kMinField;
    }

    public TextField getKMaxField() {
        if (this.kMaxField == null) {
            kMaxField = new DoubleField(false);
            kMaxField.setPreferredSize(new Dimension(120, 20));
            kMaxField.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (TrajectoryListView.validateField(kMaxField.getText())) {
                        if (scanKTrajectoryController != null) {
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.view.component.DoubleField

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.