aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2002-11-07 08:45:19 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2002-11-07 08:45:19 +0000
commit3bb5c7a16975806acf62a1d371c54b4402f86508 (patch)
treecddd30213d89bcf18b520a827dc2080baa5af0b0 /libjava/java/awt/geom
parentd7899d8a4064eeb0640aa97f35595582f4cb6153 (diff)
downloadgcc-3bb5c7a16975806acf62a1d371c54b4402f86508.zip
gcc-3bb5c7a16975806acf62a1d371c54b4402f86508.tar.gz
gcc-3bb5c7a16975806acf62a1d371c54b4402f86508.tar.bz2
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
Diffstat (limited to 'libjava/java/awt/geom')
-rw-r--r--libjava/java/awt/geom/PathIterator.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/awt/geom/PathIterator.java b/libjava/java/awt/geom/PathIterator.java
index 871c9a8..6cf77d7 100644
--- a/libjava/java/awt/geom/PathIterator.java
+++ b/libjava/java/awt/geom/PathIterator.java
@@ -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.