net.grelf.grip
Class XYText

java.lang.Object
  extended by net.grelf.grip.XYText

public class XYText
extends java.lang.Object

Record to hold a String plus the x and y position where it is to be drawn.


Field Summary
 java.lang.String text
           
 int x
           
 int y
           
 
Constructor Summary
XYText(int x, int y, java.lang.String text)
           
 
Method Summary
 java.lang.String toString()
          Get a String representation of the XYText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

text

public java.lang.String text
Constructor Detail

XYText

public XYText(int x,
              int y,
              java.lang.String text)
Method Detail

toString

public java.lang.String toString()
Get a String representation of the XYText

Overrides:
toString in class java.lang.Object