Package gr.bluevibe.fire.components

Examples of gr.bluevibe.fire.components.Row


  {
    Panel main= new Panel();
    main.setCommandListener(this);
    main.addCommand(exitCommand);
   
    Row sep = new Row();
    sep.setFilled(new Integer(FireScreen.defaultFilledRowColor));
    main.add(sep);
   
    sep = new Row("Highest Score: "+highestScore);
    sep.setFilled(new Integer(FireScreen.defaultFilledRowColor));
    main.add(sep);
   
    sep = new Row();
    sep.setFilled(new Integer(FireScreen.defaultFilledRowColor));
    main.add(sep);
   
   
    Row start = new Row(FireIO.getLocalImage("lightbulb"), Lang.get("Start new game"));
    int strWidth = start.getFont().stringWidth(start.getText())+10;
    start.setFullSizeHighlight(true);
    start.setCommandListener(this);
    start.addCommand(startCommand);
    start.setAlignment(FireScreen.CENTRE);
    start.setForcedTextWidth(new Integer(strWidth));
    main.add(start);
    return main;

  }
View Full Code Here

TOP

Related Classes of gr.bluevibe.fire.components.Row

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.