Package de.nordakademie.cerca

Examples of de.nordakademie.cerca.MyButton


    // implementing customized behaviour
    NativeLCD lcd = NativeLCD.getInstance();
    lcd.setBehaviour(new MyLCD());
   
    NativeButton btn = NativeButton.getInstance();
    MyButton myBtn = new MyButton();
    btn.setBehaviour(myBtn);
   
    myBtn.setButtons(8);
   
    System.out.println("Buttons: " + getBits(myBtn.getButtons()));
   
//    System.out.println("Bits: 0" + getBits(0));
//    System.out.println("Bits: 1" + getBits(1));
//    System.out.println("Bits: 2" + getBits(2));
//    System.out.println("Bits: 3" + getBits(3));
View Full Code Here

TOP

Related Classes of de.nordakademie.cerca.MyButton

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.