Package edu.spbstu.hoteldb.handlers

Examples of edu.spbstu.hoteldb.handlers.NumFilter


    rbook.setVgap(10);
    rbook.setPadding(new Insets(50, 0, 0, 0));
    Label lbook = new Label("Booking");
    Label lclid = new Label("Client id: ");
    TextField tfid = new TextField();
    tfid.addEventHandler(KeyEvent.KEY_TYPED, new NumFilter());
    Label lroomnum = new Label("Room number: ");
    TextField tfroomnum = new TextField();
    tfroomnum.addEventHandler(KeyEvent.KEY_TYPED, new NumFilter());
    Button btnbook = new Button("Book!");
    btnbook.setDisable(true);
    btnbook.setOnAction(new BookEventHandler(results, tfid, tfroomnum));
    rbook.add(lbook, 0, 0);
    rbook.add(lclid, 0, 1);
View Full Code Here


    this.setVgap(10);
    this.setPadding(new Insets(50, 0, 0, 0));
    Label lrooms = new Label("Room search");
    Label lpcount = new Label("People count: ");
    TextField tfpcount = new TextField();
    tfpcount.addEventHandler(KeyEvent.KEY_TYPED, new NumFilter());
    Label lcost = new Label("Cost: ");
    TextField tfcost = new TextField();
    tfcost.addEventHandler(KeyEvent.KEY_TYPED, new NumFilter());
    Label ldesc = new Label("Description");
    Label lbar = new Label("Bar");
    CheckBox chckbxdesc = new CheckBox();
    ChoiceBox<String> cbbar = new ChoiceBox<String>(
        FXCollections.observableArrayList("---", "yes", "no"));
View Full Code Here

    gp.setVgap(10);
   
    Label lclean = new Label("Worker search");
    Label lid = new Label("Id:");
    TextField tfid = new TextField();
    tfid.addEventFilter(KeyEvent.KEY_TYPED, new NumFilter());
    Label lname = new Label("Name:");
    TextField tfname = new TextField();
    tfname.addEventFilter(KeyEvent.KEY_TYPED, new NameFilter());
    Button btnsearch = new Button("Search");
   
View Full Code Here

   
    Label lsearch = new Label("Staff search");
   
    Label lid = new Label("Id: ");
    TextField tfid = new TextField();
    tfid.addEventFilter(KeyEvent.KEY_TYPED, new NumFilter());
   
    Label lname = new Label("Name: ");
    TextField tfname = new TextField();
    tfname.addEventFilter(KeyEvent.KEY_TYPED, new NameFilter());
   
View Full Code Here

    rbook.setVgap(10);
    rbook.setPadding(new Insets(50, 0, 0, 0));
    Label lbook = new Label("Booking");
    Label lroomnum = new Label("Room number: ");
    TextField tfroomnum = new TextField();
    tfroomnum.addEventHandler(KeyEvent.KEY_TYPED, new NumFilter());
    Button btnbook = new Button("Book!");
    btnbook.setDisable(true);
    btnbook.setOnAction(new BookEventHandler(results, new TextField(""+id), tfroomnum));
    rbook.add(lbook, 0, 0);
    rbook.add(lroomnum, 0, 1);
View Full Code Here

   
    Label lsearch = new Label("Client search");
   
    Label lid = new Label("Id: ");
    TextField tfid = new TextField();
    tfid.addEventFilter(KeyEvent.KEY_TYPED, new NumFilter());
   
    Label lname = new Label("Name: ");
    TextField tfname = new TextField();
    tfname.addEventFilter(KeyEvent.KEY_TYPED, new NameFilter());
   
View Full Code Here

TOP

Related Classes of edu.spbstu.hoteldb.handlers.NumFilter

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.