Package ch.sahits.game.graphic.layout

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


   * are placed in a half circle above a steering wheel
   * @param elements List of the selectable values. There should be only a few
   * @return
   */
  private Slider addSlider(List<String> elements) {
    Slider slider = new Slider(metic);
    setFont(slider);
    for (String s : elements) {
      slider.add(s);
    }
    slider.setSelected(0);
    slider.setPaintLabels(true);
    add(slider,new MaximalGridLayoutConstraints(ECellPosition.LEFT));
    return slider;
  }
View Full Code Here


   * are placed in a half circle above a steering wheel
   * @param elements List of the selectable values. There should be only a few
   * @return
   */
  private Slider addSlider(List<String> elements) {
    Slider slider = new Slider(metic);
    setFont(slider);
    for (String s : elements) {
      slider.add(s);
    }
    slider.setSelected(0);
    slider.setPaintLabels(true);
    add(slider,new MaximalGridLayoutConstraints(ECellPosition.LEFT));
    return slider;
  }
View Full Code Here

TOP

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

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.