Package ch.sahits.game.graphic.layout

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


   * Creating a label. The name may be null identifying the label a place holder
   * @param name
   * @return
   */
  private ISahitsComponent addLabel(String name) {
    Label label = new Label(metic);
    if (name!=null){
      label.setText(name);
    }
    setFont(label);
    add(label,new MaximalGridLayoutConstraints(ECellPosition.RIGHT));
    return label;
  }
View Full Code Here


   * Creating a label. The name may be null identifying the label a place holder
   * @param name
   * @return
   */
  private ISahitsComponent addLabel(String name) {
    Label label = new Label(metic);
    if (name!=null){
      label.setText(name);
    }
    setFont(label);
    add(label,new MaximalGridLayoutConstraints(ECellPosition.RIGHT));
    return label;
  }
View Full Code Here

TOP

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

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.