Package com.googlecode.jumpnevolve.graphics.gui

Examples of com.googlecode.jumpnevolve.graphics.gui.Interfaceable


   * Interfaceables als Size gesetzt
   */
  public void maximizeSize() {
    this.toMaximize = MAXIME_BOTH;
    Vector pos = Vector.ZERO;
    Interfaceable inter = this.getInterfaceable();
    if (inter != null) {
      if (this.parentContainer != null) {
        pos = this.parentContainer.getPositionFor(this);
      }
      this.sizeX = inter.getWidth() - pos.x;
      this.sizeY = inter.getHeight() - pos.y;
      this.toMaximize = MAXIME_NOTHING;
    }
  }
View Full Code Here


   * getWantedSize() ermittelt
   */
  public void maximizeXRange() {
    this.toMaximize = MAXIME_X;
    Vector pos = Vector.ZERO;
    Interfaceable inter = this.getInterfaceable();
    if (inter != null) {
      if (this.parentContainer != null) {
        pos = this.parentContainer.getPositionFor(this);
      }
      this.sizeX = inter.getWidth() - pos.x + 1;
      this.sizeY = Float.NaN;
      this.toMaximize = MAXIME_NOTHING;
    }
  }
View Full Code Here

   * getWantedSize() ermittelt
   */
  public void maximizeYRange() {
    this.toMaximize = MAXIME_Y;
    Vector pos = Vector.ZERO;
    Interfaceable inter = this.getInterfaceable();
    if (inter != null) {
      if (this.parentContainer != null) {
        pos = this.parentContainer.getPositionFor(this);
      }
      this.sizeX = Float.NaN;
      this.sizeY = inter.getHeight() - pos.y + 1;
      this.toMaximize = MAXIME_NOTHING;
    }
  }
View Full Code Here

TOP

Related Classes of com.googlecode.jumpnevolve.graphics.gui.Interfaceable

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.