Point2D.java: Added protected constructor.
* java/awt/geom/Point2D.java: Added protected constructor. (equals): New method. (Float.setLocation(float,float)): New method. * java/awt/geom/Dimension2D.java: Added protected constructor. * java/awt/geom/AffineTransform.java: Made all constants public. (concatenate): Fixed typo in name. * java/awt/event/WindowAdapter.java: Class now abstract. * java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final. * java/awt/event/FocusEvent.java: Extend ComponentEvent, not AWTEvent. From-SVN: r37988
This commit is contained in:
parent
c06093a0a3
commit
2936419d1c
7 changed files with 51 additions and 18 deletions
|
@ -20,16 +20,16 @@ import java.io.Serializable;
|
|||
|
||||
public class AffineTransform implements Cloneable, Serializable
|
||||
{
|
||||
static final int TYPE_IDENTITY = 0;
|
||||
static final int TYPE_FLIP = 64;
|
||||
static final int TYPE_GENERAL_ROTATION = 16;
|
||||
static final int TYPE_GENERAL_SCALE = 4;
|
||||
static final int TYPE_GENERAL_TRANSFORM = 32;
|
||||
static final int TYPE_MASK_ROTATION = 24;
|
||||
static final int TYPE_MASK_SCALE = 6;
|
||||
static final int TYPE_QUADRANT_ROTATION = 8;
|
||||
static final int TYPE_TRANSLATION = 1;
|
||||
static final int TYPE_UNIFORM_SCALE = 2;
|
||||
public static final int TYPE_IDENTITY = 0;
|
||||
public static final int TYPE_FLIP = 64;
|
||||
public static final int TYPE_GENERAL_ROTATION = 16;
|
||||
public static final int TYPE_GENERAL_SCALE = 4;
|
||||
public static final int TYPE_GENERAL_TRANSFORM = 32;
|
||||
public static final int TYPE_MASK_ROTATION = 24;
|
||||
public static final int TYPE_MASK_SCALE = 6;
|
||||
public static final int TYPE_QUADRANT_ROTATION = 8;
|
||||
public static final int TYPE_TRANSLATION = 1;
|
||||
public static final int TYPE_UNIFORM_SCALE = 2;
|
||||
|
||||
public AffineTransform ()
|
||||
{
|
||||
|
@ -300,7 +300,7 @@ public class AffineTransform implements Cloneable, Serializable
|
|||
this.type = 0; // FIXME
|
||||
}
|
||||
|
||||
public void concatentate (AffineTransform tx)
|
||||
public void concatenate (AffineTransform tx)
|
||||
{
|
||||
double n00 = m00 * tx.m00 + m01 * tx.m10;
|
||||
double n01 = m00 * tx.m01 + m01 * tx.m11;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue