ca.spaz.gui
Class SpazPosition

java.lang.Object
  extended by ca.spaz.gui.SpazPosition

public class SpazPosition
extends java.lang.Object


Field Summary
 int bottomA
           
 double bottomR
           
 int leftA
           
 double leftR
           
 int rightA
           
 double rightR
           
 int topA
           
 double topR
           
 
Constructor Summary
SpazPosition()
           
SpazPosition(SpazPosition copy)
           
 
Method Summary
 void adjustBottom(int val, int height)
           
 void adjustLeft(int val, int width)
           
 void adjustRight(int val, int width)
           
 void adjustTop(int val, int height)
           
 java.awt.Rectangle getMinRectangle()
           
 java.awt.Rectangle getRectangle(int width, int height)
           
 void setHPos(double lR, int lA, double rR, int rA)
           
 void setVPos(double tR, int tA, double bR, int bA)
           
 java.lang.String toString()
           
 java.lang.String toXMLString()
           
 boolean valid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leftA

public int leftA

rightA

public int rightA

topA

public int topA

bottomA

public int bottomA

leftR

public double leftR

rightR

public double rightR

topR

public double topR

bottomR

public double bottomR
Constructor Detail

SpazPosition

public SpazPosition()

SpazPosition

public SpazPosition(SpazPosition copy)
Method Detail

setHPos

public void setHPos(double lR,
                    int lA,
                    double rR,
                    int rA)

setVPos

public void setVPos(double tR,
                    int tA,
                    double bR,
                    int bA)

getRectangle

public java.awt.Rectangle getRectangle(int width,
                                       int height)

getMinRectangle

public java.awt.Rectangle getMinRectangle()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

adjustLeft

public void adjustLeft(int val,
                       int width)

adjustRight

public void adjustRight(int val,
                        int width)

adjustTop

public void adjustTop(int val,
                      int height)

adjustBottom

public void adjustBottom(int val,
                         int height)

valid

public boolean valid()

toXMLString

public java.lang.String toXMLString()


Copyright © 2005 Spaz. All Rights Reserved.