ICC_Profile.java: Added missing constants.

2002-11-07  Michael Koch <konqueror@gmx.de>

	* java/awt/color/ICC_Profile.java:
	Added missing constants.
	* java/awt/color/ICC_ColorSpace.java
	(getMinValue): Added dummy implementation.
	(getMaxValue): Added dummy implementation.
	* java/awt/datatransfer/DataFlavor.java
	(imageFlavor): Added.
	(isMimeTypeEqual): Must be final.
	(getDefaultRepresentationClass): Must be non-static.
	(getDefaultRepresentationClassAsString): Must be non-static.
	* java/awt/dnd/DragSourceContext.java
	(dragExit): Corrected argument.
	(dragDropEnd): Corrected argument.
	* java/awt/dnd/DragSourceListener.java.java
	(dragExit): Corrected argument.
	(dragDropEnd): Corrected argument.
	* java/awt/font/TextHitInfo.java
	(toString): Added stubbed implementation.
	* java/awt/geom/PathIterator.java:
	The constants must be static.
	* java/awt/image/VolatileImage.java
	(IMAGE_INCOMPATIBLE): Fixed typo.
	* java/awt/image/renderable/RenderableImage.java
	(HINTS_OBSERVED): Must be static.
	* java/beans/BeanInfo.java:
	Constants must be final.

From-SVN: r58885
This commit is contained in:
Michael Koch 2002-11-07 08:45:19 +00:00 committed by Michael Koch
parent d7899d8a40
commit 3bb5c7a169
11 changed files with 195 additions and 20 deletions

View file

@ -59,24 +59,24 @@ public interface PathIterator
* from the point to infinity (in any direction) crosses an odd number of
* segments.
*/
int WIND_EVEN_ODD = 0;
static final int WIND_EVEN_ODD = 0;
/**
* The non-zero winding mode: a point is internal to the shape if a ray
* from the point to infinity (in any direction) crosses a different number
* of segments headed clockwise than those headed counterclockwise.
*/
int WIND_NON_ZERO = 1;
static final int WIND_NON_ZERO = 1;
/**
* Starts a new subpath. There is no segment from the previous vertex.
*/
int SEG_MOVETO = 0;
static final int SEG_MOVETO = 0;
/**
* The current segment is a line.
*/
int SEG_LINETO = 1;
static final int SEG_LINETO = 1;
/**
* The current segment is a quadratic parametric curve. It is interpolated
@ -91,7 +91,7 @@ public interface PathIterator
* = n! / (m! * (n-m)!)
* </pre>
*/
int SEG_QUADTO = 2;
static final int SEG_QUADTO = 2;
/**
* The current segment is a cubic parametric curve (more commonly known as
@ -107,13 +107,13 @@ public interface PathIterator
* = n! / (m! * (n-m)!)
* </pre>
*/
int SEG_CUBICTO = 3;
static final int SEG_CUBICTO = 3;
/**
* The current segment closes a loop by an implicit line to the previous
* SEG_MOVETO coordinate.
*/
int SEG_CLOSE = 4;
static final int SEG_CLOSE = 4;
/**
* Returns the winding rule to determine which points are inside this path.