Examples of addInformable()


Examples of com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceButton.addInformable()

    this.add(back, Vector.ZERO);
    this.list.put(FORTH_POS, forth);
    this.invertList.put(forth, FORTH_POS);
    this.add(forth, Vector.ZERO);
    back.addInformable(this);
    forth.addInformable(this);
  }

  public void addButton(InterfaceButton object) {
    this.list.put(this.next, object);
    this.invertList.put(object, this.next);
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceTextButton.addInformable()

    // Button-Liste erstellen
    for (String file : this.levels) {
      InterfaceTextButton button = new InterfaceTextButton(
          InterfaceFunctions.LEVELSELECTION, file);
      button.addInformable(this);
      this.selectList.addTextButton(button);
    }
    GridContainer grid = new GridContainer(1, 1);
    grid.add(this.selectList, 0, 0);
    grid.maximizeSize();
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceTextButton.addInformable()

        GridContainer.MODUS_Y_UP), mainCon);
    this.parent = parent;
    this.name = name;
    InterfaceTextButton b = new InterfaceTextButton(
        InterfaceFunctions.MENU_BACKTOMAINMENU, "Hauptmenü");
    b.addInformable(this);
    ((GridContainer) this.getHeadlineContainer()).add(b, 0, 0);
    mainCon.maximizeSize();
    this.getHeadlineContainer().maximizeXRange();
  }
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceTextButton.addInformable()

  public Dialog() {
    this.enableBackground();
    this.setBackgroundColor(Color.darkGray);
    InterfaceTextButton closeButton = new InterfaceTextButton(
        InterfaceFunctions.DIALOG_CLOSE, "Dialog schließen");
    closeButton.addInformable(this);
    this.buttons.add(closeButton);
    this.updateCon();
    Dialog.Instances.add(this);
  }
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.objects.InterfaceTextButton.addInformable()

    this.add(up, Vector.ZERO);
    this.list.put(DOWN_POS, down);
    this.invertList.put(down, DOWN_POS);
    this.add(down, Vector.ZERO);
    up.addInformable(this);
    down.addInformable(this);
    // TODO: Up- und Down-Button sollten für maxWidth betrachtet werden,
    // dies kann jedoch nicht hier geschehen, da sonst deren Größe aufgrund
    // der fehlenden Font noch nicht initialisiert ist
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.