Class Text

java.lang.Object
  |
  +--java.awt.geom.RectangularShape
        |
        +--java.awt.geom.Rectangle2D
              |
              +--java.awt.Rectangle
                    |
                    +--Text
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, java.awt.Shape

public class Text
extends java.awt.Rectangle

See Also:
Serialized Form

Field Summary
static int TEXT
           
 
Fields inherited from class java.awt.Rectangle
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
Text()
          Creates new Text
Text(int x, int y, java.lang.String text)
          Creates new Text
 
Method Summary
 java.lang.Object clone()
           
 void draw(java.awt.Graphics2D g2)
           
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
 
Methods inherited from class java.awt.geom.RectangularShape
contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
 

Field Detail

TEXT

public static final int TEXT
See Also:
Constant Field Values
Constructor Detail

Text

public Text()
Creates new Text


Text

public Text(int x,
            int y,
            java.lang.String text)
Creates new Text

Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.awt.geom.RectangularShape

draw

public void draw(java.awt.Graphics2D g2)