Package java.awt

Examples of java.awt.Checkbox$State


      case "binkp.server":
      case "binkp.client":
      case "fileecho.enable":
      case "stat.enable":
      case "jscript.enable":
        comp = new Checkbox();
        break;
      default:
        comp = new TextField();
        break;
      }
View Full Code Here


  p1 = new Panel();

  p1.setLayout(new BorderLayout());
  p1.add("West", new Label("Auto Transmit"));

  auto = new Checkbox();

  auto.addItemListener(this);
  p1.add("East", auto);
  p.add(p1);
  this.add("North", p);
View Full Code Here

    p1 = new Panel();
    p1.setLayout(new BorderLayout());

    p1.add("West", new Label("Auto Transmit"));
    auto = new Checkbox();
    auto.addItemListener(this);
    p1.add("East", auto);
    p.add(p1);

    this.add("North", p);
View Full Code Here

    p1 = new Panel();
    p1.setLayout(new BorderLayout());

    p1.add("West", new Label("Auto Transmit"));
    auto = new Checkbox();
    auto.addItemListener(this);
    p1.add("East", auto);
    p.add(p1);

    p2 = new Panel();
    p2.setLayout(new BorderLayout());

    p2.add("West", new Label("Send Break"));
    sendBreak = new Checkbox();
    sendBreak.addItemListener(this);
    p2.add("East", sendBreak);
    p.add(p2);

    this.add("North", p);
View Full Code Here

    this.add(XONLabel);

    RCVLabel = new Label("RCV");
    this.add(RCVLabel);

    RCVRTS = new Checkbox();
    RCVRTS.addItemListener(this);
    this.add(RCVRTS);

    RCVXON = new Checkbox();
    RCVXON.addItemListener(this);
    this.add(RCVXON);

    XMTLabel = new Label("XMT");
    this.add(XMTLabel);

    XMTRTS = new Checkbox();
    XMTRTS.addItemListener(this);
    this.add(XMTRTS);

    XMTXON = new Checkbox();
    XMTXON.addItemListener(this);
    this.add(XMTXON);

    onColor = Color.green;
    offColor = Color.black;
View Full Code Here

    class CalendarRec {
        public CalendarRec(String nameStr, Calendar cal)
        {
            name = nameStr;
            calendar = cal;
            rollAdd = new Checkbox();

            text = new JTextField("",FIELD_COLUMNS);
            text.setFont(DemoUtility.editFont);

            format = DateFormat.getDateInstance(cal, DateFormat.FULL,
View Full Code Here

        tDestAlter = new TextField();

        tDestAlter.addActionListener(this);

        cTransfer = new Checkbox("Transfer to destination table", true);

        cTransfer.addItemListener(this);

        cDrop = new Checkbox("Drop destination table (ignore error)", true);

        cDrop.addItemListener(this);

        cCreate = new Checkbox("Create destination table", true);

        cCreate.addItemListener(this);

        cDropIndex = new Checkbox("Drop destination index (ignore error)",
                                  true);

        cDropIndex.addItemListener(this);

        cIdxForced = new Checkbox("force Idx_ prefix for indexes names",
                                  false);

        cIdxForced.addItemListener(this);

        cCreateIndex = new Checkbox("Create destination index", true);

        cCreateIndex.addItemListener(this);

        cDelete = new Checkbox("Delete rows in destination table", true);

        cDelete.addItemListener(this);

        cInsert = new Checkbox("Insert into destination", true);

        cInsert.addItemListener(this);

        cFKForced = new Checkbox("force FK_ prefix for foreign key names",
                                 false);

        cFKForced.addItemListener(this);

        cAlter = new Checkbox("Alter destination table", true);

        cAlter.addItemListener(this);
        p.add(createLabel("Source table"));
        p.add(tSourceTable);
        p.add(cTransfer);
View Full Code Here

        gAllWords = new CheckboxGroup();

        Checkbox[] checkboxes = new Checkbox[2];

        checkboxes[0] = new Checkbox("all", gAllWords, true);
        c.gridx       = 1;

        pEntry.add(checkboxes[0], c);

        checkboxes[1] = new Checkbox("any ", gAllWords, false);
        c.gridx       = 2;

        pEntry.add(checkboxes[1], c);

        // ignore case
        c.gridy = 3;
        c.gridx = 0;

        pEntry.add(new Label("Ignore case"), c);

        gIgnoreCase = new CheckboxGroup();

        Checkbox[] checkboxes1 = new Checkbox[2];

        checkboxes1[0] = new Checkbox("yes", gIgnoreCase, true);
        c.gridx        = 1;

        pEntry.add(checkboxes1[0], c);

        checkboxes1[1] = new Checkbox("no", gIgnoreCase, false);
        c.gridx        = 2;

        pEntry.add(checkboxes1[1], c);

        // Match column exactly
        c.gridy = 4;
        c.gridx = 0;

        pEntry.add(new Label("Match whole col"), c);

        gNoMatchWhole = new CheckboxGroup();

        Checkbox[] checkboxes2 = new Checkbox[2];

        checkboxes2[0] = new Checkbox("no", gNoMatchWhole, true);
        c.gridx        = 1;

        pEntry.add(checkboxes2[0], c);

        checkboxes2[1] = new Checkbox("yes ", gNoMatchWhole, false);
        c.gridx        = 2;

        pEntry.add(checkboxes2[1], c);
        pForm.add("search", pEntry);
        pFormButs.add("Center", pForm);
View Full Code Here

        tDestAlter = new TextField();

        tDestAlter.addActionListener(this);

        cTransfer = new Checkbox("Transfer to destination table", true);

        cTransfer.addItemListener(this);

        cDrop = new Checkbox("Drop destination table (ignore error)", true);

        cDrop.addItemListener(this);

        cCreate = new Checkbox("Create destination table", true);

        cCreate.addItemListener(this);

        cDropIndex = new Checkbox("Drop destination index (ignore error)",
                                  true);

        cDropIndex.addItemListener(this);

        cIdxForced = new Checkbox("force Idx_ prefix for indexes names",
                                  false);

        cIdxForced.addItemListener(this);

        cCreateIndex = new Checkbox("Create destination index", true);

        cCreateIndex.addItemListener(this);

        cDelete = new Checkbox("Delete rows in destination table", true);

        cDelete.addItemListener(this);

        cInsert = new Checkbox("Insert into destination", true);

        cInsert.addItemListener(this);

        cFKForced = new Checkbox("force FK_ prefix for foreign key names",
                                 false);

        cFKForced.addItemListener(this);

        cAlter = new Checkbox("Alter destination table", true);

        cAlter.addItemListener(this);
        p.add(createLabel("Source table"));
        p.add(tSourceTable);
        p.add(cTransfer);
View Full Code Here

        }
        sd.setVisible(true);
      }
    });
    p3.add(reply);
    quote = new Checkbox(ipmsg.getPref("quoteLabel"));
    quote.setState(new Boolean(ipmsg.getPref("quoteState"))
      .booleanValue());
    p3.add(quote);
    Button close = new Button(ipmsg.getPref("closeLabel"));
    close.addActionListener(new ActionListener() {
View Full Code Here

TOP

Related Classes of java.awt.Checkbox$State

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.