Package java.awt

Examples of java.awt.TextField$AccessibleAWTTextField


        this.textfelder = new TextField[sensAnzahl];

        // Setze berechnete Sensoren-Felder.
        for (int i = 0; i < berSensoren; i++) {
            this.labels[i] = new Label("Sensor" + (i + 1));
            this.textfelder[i] = new TextField("0", 3);
            p1.add(this.labels[i]);
            p1.add(this.textfelder[i]);
        }

        // Setze generische Sensoren-Felder.
        for (int i = 0; i < genSens.size(); i++) {
            if (genSens.get(i) != null) {
                this.labels[i] = new Label(genSens.get(i).id());
                this.textfelder[i] = new TextField("0", 3);
                p2.add(this.labels[i]);
                p2.add(this.textfelder[i]);
                b = true;
            } else if (b) {
                break;
View Full Code Here


        buttonPanel4.add(b);
        b = new Button(Messages.getString("SteuerFenster.EVO"));
        b.addActionListener(this);
        buttonPanel4.add(b);

        this.aktion = new TextField("", 5);
        this.param = new TextField("", 5);
        this.alter = new TextField("", 5);
        this.zustName = new TextField("", 5);
        this.zustName.setEditable(false);

        labelPanel.add(new Label(Messages.getString("SteuerFenster.Zustand"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Aktion"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Parameter"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Alter"),
                                 Label.LEFT));
        editPanel.add(this.zustName);
        editPanel.add(this.aktion);
        editPanel.add(this.param);
        editPanel.add(this.alter);

        this.ktList = new List(5, false);
        this.ktList.add(
            "                                            "
            + "                                          ");
        this.ktList.addActionListener(this);
        this.ktList.addItemListener(this);
        listPanel.add(this.ktList);

        this.kantenEinstell = new Panel();
        this.kantenEinstell.setLayout(new GridLayout(3, 1));
        this.beding = new TextField("", 35);
        this.folgeZust = new TextField("", 35);
        this.ktAlter = new TextField("", 35);
        this.kantenEinstell.add(this.beding);
        this.kantenEinstell.add(this.folgeZust);
        this.kantenEinstell.add(this.ktAlter);

        this.grAuswahl = new Choice();
View Full Code Here

        buttonPanel4.add(b);
        b = new Button(Messages.getString("SteuerFenster.EVO"));
        b.addActionListener(this);
        buttonPanel4.add(b);

        this.aktion = new TextField("", 5);
        this.param = new TextField("", 5);
        this.alter = new TextField("", 5);
        this.zustName = new TextField("", 5);
        this.zustName.setEditable(false);

        labelPanel.add(new Label(Messages.getString("SteuerFenster.Zustand"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Aktion"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Parameter"),
                                 Label.LEFT));
        labelPanel.add(new Label(Messages.getString("SteuerFenster.Alter"),
                                 Label.LEFT));
        editPanel.add(this.zustName);
        editPanel.add(this.aktion);
        editPanel.add(this.param);
        editPanel.add(this.alter);

        this.ktList = new List(5, false);
        this.ktList.add(
            "                                            "
            + "                                          ");
        this.ktList.addActionListener(this);
        this.ktList.addItemListener(this);
        listPanel.add(this.ktList);

        this.kantenEinstell = new Panel();
        this.kantenEinstell.setLayout(new GridLayout(3, 1));
        this.beding = new TextField("", 35);
        this.folgeZust = new TextField("", 35);
        this.ktAlter = new TextField("", 35);
        this.kantenEinstell.add(this.beding);
        this.kantenEinstell.add(this.folgeZust);
        this.kantenEinstell.add(this.ktAlter);

        this.grAuswahl = new Choice();
View Full Code Here

    panel.add(new Label(strings.get(Strings.ENTER_WINDOW_SIZE)));
    panel.add(new Label(""));

    panel.add(new Label(strings.get(Strings.WINDOW_WIDTH)));
    width = new TextField(Integer.toString(initialWidth));
    width.addKeyListener(this);
    panel.add(width);

    panel.add(new Label(strings.get(Strings.WINDOW_HEIGHT)));
    height = new TextField(Integer.toString(initialHeight));
    height.addKeyListener(this);
    panel.add(height);

    add(panel, BorderLayout.CENTER);
View Full Code Here

    panel.add(setHue);
    colorPanel = new Panel();
    panel.add(colorPanel);

    panel.add(new Label(strings.get(Strings.HUE)));
    hue = new TextField(Integer.toString(h));
    hue.addKeyListener(this);
    panel.add(hue);

    panel.add(new Label(strings.get(Strings.SATURATION)));
    saturation = new TextField(Integer.toString(s));
    saturation.addKeyListener(this);
    panel.add(saturation);

    panel.add(new Label(strings.get(Strings.VALUE)));
    value = new TextField(Integer.toString(v));
    value.addKeyListener(this);
    panel.add(value);

    add(panel, BorderLayout.CENTER);
View Full Code Here

    this.height = height;
    Panel panel = new Panel();
    panel.setLayout(new GridLayout(0, 6));

    panel.add(new Label(strings.get(Strings.LEFT_COLUMN)));
    x1 = new TextField("0");
    x1.addKeyListener(this);
    panel.add(x1);

    panel.add(new Label(strings.get(Strings.RIGHT_COLUMN)));
    x2 = new TextField(Integer.toString(width - 1));
    x2.addKeyListener(this);
    panel.add(x2);

    panel.add(new Label(strings.get(Strings.NEW_WIDTH)));
    newWidth = new Label();
    panel.add(newWidth);

    panel.add(new Label(strings.get(Strings.TOP_ROW)));
    y1 = new TextField("0");
    y1.addKeyListener(this);
    panel.add(y1);

    panel.add(new Label(strings.get(Strings.BOTTOM_ROW)));
    y2 = new TextField(Integer.toString(height - 1));
    y2.addKeyListener(this);
    panel.add(y2);

    panel.add(new Label(strings.get(Strings.NEW_HEIGHT)));
    newHeight = new Label();
View Full Code Here

    this.imageHeight = imageHeight;

    Panel panel = new Panel(new GridLayout(0, 2));

    panel.add(new Label(strings.get(Strings.SHEAR_ENTER_ANGLE)));
    angleTextField = new TextField(Double.toString(initialValue));
    angleTextField.addKeyListener(this);
    panel.add(angleTextField);

    panel.add(new Label(strings.get(Strings.NEW_WIDTH)));
    newWidthLabel = new Label("");
View Full Code Here

    Panel panel = new Panel();
    panel.setLayout(new GridLayout(0, 2));

    panel.add(new Label(strings.get(Strings.NUM_COLORS)));
    numColorsField = new TextField(Integer.toString(numColors), 6);
    numColorsField.addKeyListener(this);
    panel.add(numColorsField);

    /*panel.add(new Label(strings.get(Strings.OUTPUT_COLOR_TYPE)));
    outputColorType = new Choice();
View Full Code Here

    Panel panel = new Panel(new BorderLayout());
    scrollbar = new Scrollbar(Scrollbar.HORIZONTAL, initialValue, 1, minValue, maxValue + 1);
    scrollbar.addAdjustmentListener(this);
    panel.add(scrollbar, BorderLayout.CENTER);

    valueTextField = new TextField(Integer.toString(initialValue), 6);
    valueTextField.addKeyListener(this);
    panel.add(valueTextField, BorderLayout.EAST);
    add(panel, BorderLayout.CENTER);

    panel = new Panel();
View Full Code Here

    Panel panel = new Panel();
    panel.setLayout(new GridLayout(0, 2));

    Label widthLabel = new Label(strings.get(Strings.NEW_WIDTH));
    widthTextField = new TextField(Integer.toString(width), 6);
    widthTextField.addKeyListener(this);
    Label heightLabel = new Label(strings.get(Strings.NEW_HEIGHT));
    heightTextField = new TextField(Integer.toString(height), 6);
    heightTextField.addKeyListener(this);

    panel.add(widthLabel);
    panel.add(widthTextField);
View Full Code Here

TOP

Related Classes of java.awt.TextField$AccessibleAWTTextField

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.