Package com.golden.gamedev.gui

Examples of com.golden.gamedev.gui.TTextField


  public void processUI(TComponent component, BufferedImage[] ui) {
  }
  public void renderUI(Graphics2D g, int x, int y,
             TComponent component, BufferedImage[] ui) {
    TTextField textField = (TTextField) component;

    if (!textField.isEnabled()) {
      g.drawImage(ui[1], x, y, null);

    } else if (!textField.isEditable()) {
      g.drawImage(ui[2], x, y, null);

    } else {
      g.drawImage(ui[0], x, y, null);
    }
View Full Code Here


 
  public void processUI(TComponent component, BufferedImage[] ui) {
  }
 
  public void renderUI(Graphics2D g, int x, int y, TComponent component, BufferedImage[] ui) {
    TTextField textField = (TTextField) component;
   
    if (!textField.isEnabled()) {
      g.drawImage(ui[1], x, y, null);
     
    }
    else if (!textField.isEditable()) {
      g.drawImage(ui[2], x, y, null);
     
    }
    else {
      g.drawImage(ui[0], x, y, null);
View Full Code Here

TOP

Related Classes of com.golden.gamedev.gui.TTextField

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.