java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
org.fluidsynth.gui.vkeyboard.KeyRect
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable, java.awt.Shape
- public class KeyRect
- extends java.awt.Rectangle
| Nested classes inherited from class java.awt.geom.Rectangle2D |
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
| 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, 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 |
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
code
private int code
name
private java.lang.String name
KeyRect
public KeyRect(int x,
int y,
int w,
int h,
int code,
java.lang.String name)
getCode
public int getCode()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Description copied from class:
java.awt.Rectangle
- Returns a string representation of this rectangle. This is in the form
getClass().getName() + "[x=" + x + ",y=" + y + ",width=" + width
+ ",height=" + height + ']'.