Package ch.sahits.game.graphic.layout

Examples of ch.sahits.game.graphic.layout.Spinner


   * in effect only that only the active element is displayed.
   * @param elements List of elements in the spinner
   * @return
   */
  private Spinner addSpinner(List<String> elements){
    Spinner spinner = new Spinner(metic);
    setFont(spinner);
    for (String s : elements) {
      spinner.add(s);
    }
    add(spinner,new MaximalGridLayoutConstraints(ECellPosition.LEFT));
    return spinner;
  }
View Full Code Here


   * in effect only that only the active element is displayed.
   * @param elements List of elements in the spinner
   * @return
   */
  private Spinner addSpinner(List<String> elements){
    Spinner spinner = new Spinner(metic);
    setFont(spinner);
    for (String s : elements) {
      spinner.add(s);
    }
    add(spinner,new MaximalGridLayoutConstraints(ECellPosition.LEFT));
    return spinner;
  }
View Full Code Here

TOP

Related Classes of ch.sahits.game.graphic.layout.Spinner

Copyright © 2015 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.