Package edu.spbstu.hoteldb.handlers

Examples of edu.spbstu.hoteldb.handlers.BookEventHandler


    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);
    rbook.add(tfid, 1, 1);
    rbook.add(lroomnum, 0, 2);
    rbook.add(tfroomnum, 1, 2);
View Full Code Here


    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);
    rbook.add(tfroomnum, 1, 1);
    rbook.add(btnbook, 0, 2);
   
View Full Code Here

TOP

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

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.