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

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


     *
     * @return
     */
    public TextField getDeltaField() {
        if (this.deltaField == null) {
            this.deltaField = new DoubleField(false);
            this.deltaField.setHorizontalAlignment(4); // 4 = RIGHT (TextField.RIGHT generates
            // ambiguous error.)
            this.deltaField.setPreferredSize(new Dimension(60, 20));
            deltaField.addKeyListener(new KeyListener() {

View Full Code Here


     *
     * @return
     */
    public TextField getScanSpeedField() {
        if (this.scanSpeedField == null) {
            this.scanSpeedField = new DoubleField(false);
            this.scanSpeedField.setEditable(false);
            this.scanSpeedField.setPreferredSize(new Dimension(100, 20));
        }
        return scanSpeedField;
    }
View Full Code Here

            scanSpeedLabel = new JLabel("Scan Speed");
            scanSpeedLabel.setVisible(false);

            jToolBar.add(scanSpeedLabel);

            scanSpeedField = new DoubleField();
            scanSpeedField.setBackground(Color.LIGHT_GRAY);
            scanSpeedField.setVisible(false);
            scanSpeedField.setEditable(false);
            jToolBar.add(scanSpeedField);
View Full Code Here

     *
     * @return
     */
    public TextField getFromField() {
        if (this.fromField == null) {
            this.fromField = new DoubleField(false);
            this.fromField.setColumns(6);
            setBackgroundBeginPosition();

            fromField.addKeyListener(new KeyAdapter() {
                public void keyReleased(KeyEvent e) {
View Full Code Here

     *
     * @return
     */
    public TextField getToField() {
        if (this.toField == null) {
            this.toField = new DoubleField(false);
            this.toField.setColumns(6);
            setBackgroundEndosition();
            toField.addKeyListener(new KeyAdapter() {
                public void keyReleased(KeyEvent e) {
                    if (e.getKeyChar() == KeyEvent.VK_ENTER) {
View Full Code Here

     *
     * @return
     */
    public TextField getDeltaField() {
        if (this.deltaField == null) {
            this.deltaField = new DoubleField(false);
            this.deltaField.setColumns(5);
            this.deltaField.setHorizontalAlignment(4); // 4 = RIGHT
                                                       // (TextField.RIGHT
                                                       // generates
            setBackgroundDelta();
View Full Code Here

     *
     * @return
     */
    public TextField getScanSpeedField() {
        if (this.scanSpeedField == null) {
            this.scanSpeedField = new DoubleField(false);
            // this.scanSpeedField.setEditable(true);
            this.scanSpeedField.setEditable(false);
            this.scanSpeedField.setVisible(false);
            this.scanSpeedField.setPreferredSize(new Dimension(100, 20));
            this.scanSpeedField.setBackground(Color.LIGHT_GRAY);
View Full Code Here

        this.completeTimeLabel.setText("Acquisition time ");
        this.completeTimeLabel.setFont(new Font(null, 0, 11));
        this.completeTimeLabel.setPreferredSize(new Dimension(100, 20));

        this.completeTime = new DoubleField(1d, "%6d");
        this.completeTime.setPreferredSize(new Dimension(100, 20));
        this.completeTime.setEditable(false);
        this.completeTime.setBackground(Color.LIGHT_GRAY);

        this.setLayout(new GridBagLayout());
View Full Code Here

     *
     * @return
     */
    public TextField getIntegrationTimeField() {
        if (integrationTimeField == null) {
            integrationTimeField = new DoubleField(1d, "%8d");
            integrationTimeField.setPreferredSize(new Dimension(100, 20));
            setBackgroundIntegrationTime();
            integrationTimeField.addKeyListener(new KeyAdapter() {
                @Override
                public void keyReleased(KeyEvent e) {
View Full Code Here

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

    public TextField getEminField() {
        if (this.eMinField == null) {
            eMinField = new DoubleField(false);
            eMinField.setColumns(6);
            setBackgroundEMin();
            eMinField.addKeyListener(new KeyAdapter() {
                @Override
                public void keyReleased(KeyEvent arg0) {
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.