6587235: Incorrect javadoc: "no parameter" in 2d source code

Reviewed-by: azvegint, prr
This commit is contained in:
Sergey Bylokhov 2015-05-22 23:26:00 +03:00
parent 13711e78f0
commit b081f20d61
65 changed files with 228 additions and 258 deletions

View file

@ -802,7 +802,7 @@ public void grab() {
/**
* Determine if applet is targeted for JDK 1.1.
*
* @param applet Applet class.
* @param clazz Applet class.
* @return TRUE if applet is targeted for JDK 1.1;
* FALSE if applet is not;
* null if applet is unknown.
@ -815,7 +815,7 @@ public void grab() {
/**
* Determine if applet is targeted for JDK 1.2.
*
* @param applet Applet class.
* @param clazz Applet class.
* @return TRUE if applet is targeted for JDK 1.2;
* FALSE if applet is not;
* null if applet is unknown.

View file

@ -270,10 +270,10 @@ class AppletSecurity extends AWTSecurityManager {
* The <code>checkPackageAccess</code> method for class
* <code>SecurityManager</code> calls
* <code>checkPermission</code> with the
* <code>RuntimePermission("accessClassInPackage."+pkg)</code>
* <code>RuntimePermission("accessClassInPackage."+ pkgname)</code>
* permission.
*
* @param pkg the package name.
* @param pkgname the package name.
* @exception SecurityException if the caller does not have
* permission to access the specified package.
* @see java.lang.ClassLoader#loadClass(java.lang.String, boolean)

View file

@ -190,7 +190,7 @@ public final class AppContext {
*
* @see #addPropertyChangeListener
* @see #removePropertyChangeListener
* @see #firePropertyChange
* @see PropertyChangeSupport#firePropertyChange
*/
private PropertyChangeSupport changeSupport = null;
@ -809,7 +809,7 @@ public final class AppContext {
*
* @see #addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
* @see #getPropertyChangeListeners(java.lang.String)
* @see #removePropertyChangeListener(java.beans.PropertyChangeListener)
* @see PropertyChangeSupport#removePropertyChangeListener(java.beans.PropertyChangeListener)
*/
public synchronized void removePropertyChangeListener(
String propertyName,

View file

@ -552,16 +552,10 @@ public abstract class EmbeddedFrame extends Frame
}
public void setModalBlocked(Dialog blocker, boolean blocked) {}
/**
* @see java.awt.peer.ContainerPeer#restack
*/
public void restack() {
throw new UnsupportedOperationException();
}
/**
* @see java.awt.peer.ContainerPeer#isRestackSupported
*/
public boolean isRestackSupported() {
return false;
}

View file

@ -366,8 +366,8 @@ public abstract class SunToolkit extends Toolkit
* status to synchronous for any of its windows, then further focus
* behaviour is unspecified.
* <p>
* @param w window for which the lightweight focus request status
* should be set
* @param changed the window for which the lightweight focus request
* status should be set
* @param status the value of lightweight focus request status
*/
@ -1459,9 +1459,9 @@ public abstract class SunToolkit extends Toolkit
* <p> Notice that realSync isn't guaranteed to work if recurring
* actions occur, such as if during processing of some event
* another request which may generate some events occurs. By
* default, sync tries to perform as much as {@value MAX_ITERS}
* default, sync tries to perform as much as {@value #MAX_ITERS}
* cycles of event processing, allowing for roughly {@value
* MAX_ITERS} additional requests.
* #MAX_ITERS} additional requests.
*
* <p> For example, requestFocus() generates native request, which
* generates one or two Java focus events, which then generate a

View file

@ -151,7 +151,7 @@ public abstract class SunClipboard extends Clipboard
/**
* @see java.awt.Clipboard#getAvailableDataFlavors
* @see java.awt.datatransfer.Clipboard#getAvailableDataFlavors
* @since 1.5
*/
public DataFlavor[] getAvailableDataFlavors() {
@ -167,7 +167,7 @@ public abstract class SunClipboard extends Clipboard
}
/**
* @see java.awt.Clipboard#isDataFlavorAvailable
* @see java.awt.datatransfer.Clipboard#isDataFlavorAvailable
* @since 1.5
*/
public boolean isDataFlavorAvailable(DataFlavor flavor) {
@ -186,7 +186,7 @@ public abstract class SunClipboard extends Clipboard
}
/**
* @see java.awt.Clipboard#getData
* @see java.awt.datatransfer.Clipboard#getData
* @since 1.5
*/
public Object getData(DataFlavor flavor)

View file

@ -27,30 +27,30 @@ package sun.awt.geom;
public interface PathConsumer2D {
/**
* @see java.awt.geom.Path2D.Float.moveTo
* @see java.awt.geom.Path2D.Float#moveTo
*/
public void moveTo(float x, float y);
/**
* @see java.awt.geom.Path2D.Float.lineTo
* @see java.awt.geom.Path2D.Float#lineTo
*/
public void lineTo(float x, float y);
/**
* @see java.awt.geom.Path2D.Float.quadTo
* @see java.awt.geom.Path2D.Float#quadTo
*/
public void quadTo(float x1, float y1,
float x2, float y2);
/**
* @see java.awt.geom.Path2D.Float.curveTo
* @see java.awt.geom.Path2D.Float#curveTo
*/
public void curveTo(float x1, float y1,
float x2, float y2,
float x3, float y3);
/**
* @see java.awt.geom.Path2D.Float.closePath
* @see java.awt.geom.Path2D.Float#closePath
*/
public void closePath();

View file

@ -519,7 +519,7 @@ class ExecutableInputMethodManager extends InputMethodManager
* Writes the preferred input method descriptor class name into
* the user's Preferences tree in accordance with the given locale.
*
* @param inputMethodLocator input method locator to remember.
* @param locator input method locator to remember.
*/
private synchronized void putPreferredInputMethod(InputMethodLocator locator) {
InputMethodDescriptor descriptor = locator.getDescriptor();

View file

@ -176,7 +176,7 @@ public class ByteBandedRaster extends SunWritableRaster {
* Returns data offset for the specified band. The data offset
* is the index into the band's data array
* in which the first sample of the first scanline is stored.
* @param The band whose offset is returned.
* @param band The band whose offset is returned.
*/
public int getDataOffset(int band) {
return dataOffsets[band];
@ -222,7 +222,7 @@ public class ByteBandedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -267,9 +267,9 @@ public class ByteBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -320,8 +320,8 @@ public class ByteBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -368,8 +368,8 @@ public class ByteBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -412,7 +412,7 @@ public class ByteBandedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -505,7 +505,7 @@ public class ByteBandedRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -253,7 +253,7 @@ public class ByteComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -299,9 +299,9 @@ public class ByteComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -352,8 +352,8 @@ public class ByteComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -415,8 +415,8 @@ public class ByteComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -458,7 +458,7 @@ public class ByteComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -577,7 +577,7 @@ public class ByteComponentRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -305,7 +305,7 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -351,9 +351,9 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -376,8 +376,8 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -437,8 +437,8 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -536,7 +536,7 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -666,7 +666,7 @@ public class ByteInterleavedRaster extends ByteComponentRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -234,7 +234,7 @@ public class BytePackedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -306,9 +306,9 @@ public class BytePackedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -358,8 +358,8 @@ public class BytePackedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param band The band to return, is ignored.
* @param outData If non-null, data elements
* at the specified locations are returned in this array.
@ -383,8 +383,8 @@ public class BytePackedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements
* at the specified locations are returned in this array.
* @return Byte array with data elements.
@ -499,7 +499,7 @@ public class BytePackedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -857,7 +857,7 @@ public class BytePackedRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -33,7 +33,7 @@ package sun.awt.image;
* threads which manage the applications User Interface.
*
* @see ImageFetcher
* @see ImageProducer
* @see java.awt.image.ImageProducer
*
* @author Jim Graham
*/
@ -42,7 +42,7 @@ public interface ImageFetchable {
* This method is called by one of the ImageFetcher threads to start
* the flow of information from the ImageProducer to the ImageConsumer.
* @see ImageFetcher
* @see ImageProducer
* @see java.awt.image.ImageProducer
*/
public void doFetch();
}

View file

@ -263,7 +263,7 @@ public class IntegerComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -309,9 +309,9 @@ public class IntegerComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -358,7 +358,7 @@ public class IntegerComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -489,7 +489,7 @@ public class IntegerComponentRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -206,7 +206,7 @@ public class IntegerInterleavedRaster extends IntegerComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -249,9 +249,9 @@ public class IntegerInterleavedRaster extends IntegerComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -291,7 +291,7 @@ public class IntegerInterleavedRaster extends IntegerComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -410,7 +410,7 @@ public class IntegerInterleavedRaster extends IntegerComponentRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -172,7 +172,7 @@ public class ShortBandedRaster extends SunWritableRaster {
* Returns the data offset for the specified band. The data offset
* is the index into the band's data array
* in which the first sample of the first scanline is stored.
* @param The band whose offset is returned.
* @param band The band whose offset is returned.
*/
public int getDataOffset(int band) {
return dataOffsets[band];
@ -218,7 +218,7 @@ public class ShortBandedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -262,9 +262,9 @@ public class ShortBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -315,8 +315,8 @@ public class ShortBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -363,8 +363,8 @@ public class ShortBandedRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -407,7 +407,7 @@ public class ShortBandedRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -503,7 +503,7 @@ public class ShortBandedRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -252,7 +252,7 @@ public class ShortComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -298,9 +298,9 @@ public class ShortComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -351,8 +351,8 @@ public class ShortComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the sample rectangle.
* @param height Height of the sample rectangle.
* @param w Width of the sample rectangle.
* @param h Height of the sample rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -414,8 +414,8 @@ public class ShortComponentRaster extends SunWritableRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -456,7 +456,7 @@ public class ShortComponentRaster extends SunWritableRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -553,7 +553,7 @@ public class ShortComponentRaster extends SunWritableRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -225,7 +225,7 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param outData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -271,9 +271,9 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param outData An object reference to an array of type defined by
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements().
* If null an array of appropriate type and size will be
* allocated.
@ -324,8 +324,8 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the sample rectangle.
* @param height Height of the sample rectangle.
* @param w Width of the sample rectangle.
* @param h Height of the sample rectangle.
* @param band The band to return.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
@ -387,8 +387,8 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* </pre>
* @param x The X coordinate of the upper left pixel location.
* @param y The Y coordinate of the upper left pixel location.
* @param width Width of the pixel rectangle.
* @param height Height of the pixel rectangle.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param outData If non-null, data elements for all bands
* at the specified location are returned in this array.
* @return Data array with data elements for all bands.
@ -429,7 +429,7 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* and references anything other than an array of transferType.
* @param x The X coordinate of the pixel location.
* @param y The Y coordinate of the pixel location.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length getNumDataElements()
* containing the pixel data to place at x,y.
*/
@ -525,7 +525,7 @@ public class ShortInterleavedRaster extends ShortComponentRaster {
* @param y The Y coordinate of the upper left pixel location.
* @param w Width of the pixel rectangle.
* @param h Height of the pixel rectangle.
* @param inData An object reference to an array of type defined by
* @param obj An object reference to an array of type defined by
* getTransferType() and length w*h*getNumDataElements()
* containing the pixel data to place between x,y and
* x+h, y+h.

View file

@ -40,7 +40,7 @@ public class ShellFolderColumnInfo {
private SortOrder sortOrder;
private Comparator<?> comparator;
/**
* <code>false</code> (default) if the {@link comparator} expects folders as arguments,
* <code>false</code> (default) if the {@link #comparator} expects folders as arguments,
* and <code>true</code> if folder's column values. The first option is used default for comparison
* on Windows and also for separating files from directories when sorting using
* ShellFolderManager's inner comparator.

View file

@ -68,7 +68,7 @@ import java.util.RandomAccess;
* synchronizing on some object that naturally encapsulates the list.
*
* If no such object exists, the list should be "wrapped" using the
* {@link Collections#synchronizedList Collections.synchronizedList}
* {@link java.util.Collections#synchronizedList Collections.synchronizedList}
* method. This is best done at creation time, to prevent accidental
* unsynchronized access to the list:<pre>
* List list = Collections.synchronizedList(new IdentityArrayList(...));</pre>

View file

@ -41,7 +41,7 @@ import java.util.NoSuchElementException;
* the <tt>IdentityLinkedList</tt> class provides uniformly named methods to
* <tt>get</tt>, <tt>remove</tt> and <tt>insert</tt> an element at the
* beginning and end of the list. These operations allow linked lists to be
* used as a stack, {@linkplain Queue queue}, or {@linkplain Deque
* used as a stack, {@linkplain java.util.Queue queue}, or {@linkplain Deque
* double-ended queue}. <p>
*
* The class implements the <tt>Deque</tt> interface, providing
@ -62,7 +62,7 @@ import java.util.NoSuchElementException;
* encapsulates the list.
*
* If no such object exists, the list should be "wrapped" using the
* {@link Collections#synchronizedList Collections.synchronizedList}
* {@link java.util.Collections#synchronizedList Collections.synchronizedList}
* method. This is best done at creation time, to prevent accidental
* unsynchronized access to the list:<pre>
* List list = Collections.synchronizedList(new IdentityLinkedList(...));</pre>
@ -478,7 +478,7 @@ public class IdentityLinkedList<E>
* Adds the specified element as the tail (last element) of this list.
*
* @param e the element to add
* @return <tt>true</tt> (as specified by {@link Queue#offer})
* @return <tt>true</tt> (as specified by {@link java.util.Queue#offer})
* @since 1.5
*/
public boolean offer(E e) {

View file

@ -138,7 +138,7 @@ public final class ScriptRun
* Get the script code for the script of the current script run.
*
* @return the script code for the script of the current script run.
* @see #Script
* @see Script
*/
public int getScriptCode() {
return scriptCode;
@ -274,7 +274,7 @@ public final class ScriptRun
* @param scriptOne one of the script codes.
* @param scriptTwo the other script code.
* @return <code>true</code> if the two scripts are the same.
* @see com.ibm.icu.lang.Script
* @see Script
*/
private static boolean sameScript(int scriptOne, int scriptTwo) {
return scriptOne == scriptTwo || scriptOne <= Script.INHERITED || scriptTwo <= Script.INHERITED;

View file

@ -41,11 +41,11 @@ import java.text.Bidi;
*
* @see Font
* @see FontRenderContext
* @see GlyphVector
* @see java.awt.font.GlyphVector
* @see TextLabel
* @see ExtendedTextLabel
* @see Bidi
* @see TextLayout
* @see java.awt.font.TextLayout
*/
public final class TextLabelFactory {

View file

@ -86,7 +86,7 @@ public class NullSurfaceData extends SurfaceData {
* In most cases, the returned Raster might contain more pixels
* than requested.
*
* @see useTightBBoxes
* @see #useTightBBoxes
*/
public Raster getRaster(int x, int y, int w, int h) {
throw new InvalidPipeException("should be NOP");
@ -101,7 +101,7 @@ public class NullSurfaceData extends SurfaceData {
* the pixels has to be made when doing a getRaster. The
* fewer pixels copied, the faster the operation will go.
*
* @see getRaster
* @see #getRaster
*/
public boolean useTightBBoxes() {
return false;

View file

@ -88,13 +88,13 @@ public class SunCompositeContext implements CompositeContext {
* @param src2 The second source tile for the compositing operation.
* @param dst The tile where the result of the operation is stored.
*/
public void compose(Raster srcArg, Raster dstIn, WritableRaster dstOut) {
public void compose(Raster src1, Raster src2, WritableRaster dst) {
WritableRaster src;
int w;
int h;
if (dstIn != dstOut) {
dstOut.setDataElements(0, 0, dstIn);
if (src2 != dst) {
dst.setDataElements(0, 0, src2);
}
// REMIND: We should be able to create a SurfaceData from just
@ -102,20 +102,20 @@ public class SunCompositeContext implements CompositeContext {
// create a SurfaceData from a BufferedImage then we need to
// make a WritableRaster since it is needed to construct a
// BufferedImage.
if (srcArg instanceof WritableRaster) {
src = (WritableRaster) srcArg;
if (src1 instanceof WritableRaster) {
src = (WritableRaster) src1;
} else {
src = srcArg.createCompatibleWritableRaster();
src.setDataElements(0, 0, srcArg);
src = src1.createCompatibleWritableRaster();
src.setDataElements(0, 0, src1);
}
w = Math.min(src.getWidth(), dstIn.getWidth());
h = Math.min(src.getHeight(), dstIn.getHeight());
w = Math.min(src.getWidth(), src2.getWidth());
h = Math.min(src.getHeight(), src2.getHeight());
BufferedImage srcImg = new BufferedImage(srcCM, src,
srcCM.isAlphaPremultiplied(),
null);
BufferedImage dstImg = new BufferedImage(dstCM, dstOut,
BufferedImage dstImg = new BufferedImage(dstCM, dst,
dstCM.isAlphaPremultiplied(),
null);

View file

@ -874,13 +874,13 @@ public final class SunGraphics2D
* space. The rendering attributes taken into account include the
* clip, transform, and stroke attributes.
* @param rect The area in device space to check for a hit.
* @param p The path to check for a hit.
* @param s The path to check for a hit.
* @param onStroke Flag to choose between testing the stroked or
* the filled path.
* @return True if there is a hit, false otherwise.
* @see #setStroke
* @see #fillPath
* @see #drawPath
* @see #fill(Shape)
* @see #draw(Shape)
* @see #transform
* @see #setTransform
* @see #clip
@ -1295,7 +1295,7 @@ public final class SunGraphics2D
/**
* Returns the preferences for the rendering algorithms.
* @param hintCategory The category of hint to be set. The strings
* @param hintKey The category of hint to be set. The strings
* are defined in the RenderingHints class.
* @return The preferences for rendering algorithms. The strings
* are defined in the RenderingHints class.
@ -1577,7 +1577,7 @@ public final class SunGraphics2D
* Cx'(p) = Cx(Tx(p)).
* A copy of the Tx is made, if necessary, so further
* modifications to Tx do not affect rendering.
* @param Tx The Transform object to be composed with the current
* @param xform The Transform object to be composed with the current
* transform.
* @see #setTransform
* @see AffineTransform
@ -1606,7 +1606,6 @@ public final class SunGraphics2D
* Sets the Transform in the current graphics state.
* @param Tx The Transform object to be used in the rendering process.
* @see #transform
* @see TransformChain
* @see AffineTransform
*/
@Override
@ -1789,8 +1788,8 @@ public final class SunGraphics2D
* of the component, use appropriate methods of the component.
* @param color The background color that should be used in
* subsequent calls to clearRect().
* @see getBackground
* @see Graphics.clearRect()
* @see #getBackground
* @see Graphics#clearRect
*/
public void setBackground(Color color) {
backgroundColor = color;
@ -1798,7 +1797,7 @@ public final class SunGraphics2D
/**
* Returns the background color used for clearing a region.
* @see setBackground
* @see #setBackground
*/
public Color getBackground() {
return backgroundColor;
@ -1806,7 +1805,7 @@ public final class SunGraphics2D
/**
* Returns the current Stroke in the Graphics2D state.
* @see setStroke
* @see #setStroke
*/
public Stroke getStroke() {
return stroke;
@ -2056,7 +2055,7 @@ public final class SunGraphics2D
* with the current transform in the Graphics2D state before being
* intersected with the current clip. This method is used to make the
* current clip smaller. To make the clip larger, use any setClip method.
* @param p The Path to be intersected with the current clip.
* @param s The Path to be intersected with the current clip.
*/
public void clip(Shape s) {
s = transformShape(s);
@ -2483,7 +2482,7 @@ public final class SunGraphics2D
* Strokes the outline of a Path using the settings of the current
* graphics state. The rendering attributes applied include the
* clip, transform, paint or color, composite and stroke attributes.
* @param p The path to be drawn.
* @param s The path to be drawn.
* @see #setStroke
* @see #setPaint
* @see java.awt.Graphics#setColor

View file

@ -939,7 +939,7 @@ public abstract class SurfaceData
* In most cases, the returned Raster might contain more pixels
* than requested.
*
* @see useTightBBoxes
* @see #useTightBBoxes
*/
public abstract Raster getRaster(int x, int y, int w, int h);
@ -952,7 +952,7 @@ public abstract class SurfaceData
* the pixels has to be made when doing a getRaster. The
* fewer pixels copied, the faster the operation will go.
*
* @see getRaster
* @see #getRaster
*/
public boolean useTightBBoxes() {
// Note: The native equivalent would trigger on VISIBLE_TO_NATIVE

View file

@ -56,7 +56,7 @@ public class PixelToParallelogramConverter extends PixelToShapeConverter
* @param minPenSize minimum pen size for dropout control
* @param normPosition sub-pixel location to normalize endpoints
* for STROKE_NORMALIZE cases
* @param adjustFill boolean to control whethere normalization
* @param adjustfill boolean to control whethere normalization
* constants are also applied to fill operations
* (normally true for non-AA, false for AA)
*/

View file

@ -66,7 +66,7 @@ import sun.awt.geom.PathConsumer2D;
* line width can get before dropouts occur. Rendering with a BasicStroke
* is defined to never allow the line to have breaks, gaps, or dropouts
* even if the width is set to 0.0f, so this information allows the
* {@link SunGraphics2D} class to detect the "thin line" case and set
* {@link sun.java2d.SunGraphics2D} class to detect the "thin line" case and set
* the rendering attributes accordingly.
* </dl>
* At startup the runtime will load a single instance of this class.
@ -177,11 +177,11 @@ public abstract class RenderingEngine {
* The specified {@code src} {@link Shape} is widened according
* to the parameters specified by the {@link BasicStroke} object.
* Adjustments are made to the path as appropriate for the
* {@link VALUE_STROKE_NORMALIZE} hint if the {@code normalize}
* boolean parameter is true.
* {@link java.awt.RenderingHints#VALUE_STROKE_NORMALIZE} hint if the
* {@code normalize} boolean parameter is true.
* Adjustments are made to the path as appropriate for the
* {@link VALUE_ANTIALIAS_ON} hint if the {@code antialias}
* boolean parameter is true.
* {@link java.awt.RenderingHints#VALUE_ANTIALIAS_ON} hint if the
* {@code antialias} boolean parameter is true.
* <p>
* The geometry of the widened path is forwarded to the indicated
* {@link PathConsumer2D} object as it is calculated.

View file

@ -137,7 +137,7 @@ public class AccelDeviceEventNotifier {
*
* @param screen a screen number with which the device which is a source of
* the event is associated with
* @param eventType a type of the event
* @param deviceEventType a type of the event
* @see #DEVICE_DISPOSED
* @see #DEVICE_RESET
*/

View file

@ -77,7 +77,7 @@ public interface AccelGraphicsConfig extends BufferedContextProvider {
* events.
*
* Note: a hard link to the listener may be kept so it must be explicitly
* removed via {@link #removeDeviceEventListener()}.
* removed via {@link #removeDeviceEventListener}.
*
* @param l the listener
* @see AccelDeviceEventListener

View file

@ -65,7 +65,7 @@ public class ContextCapabilities {
/**
* Constructs a {@code ContextCapabilities} object.
* @param caps an {@code int} representing the capabilities
* @param a {@code String} representing the name of the adapter, or null,
* @param adapterId {@code String} representing the name of the adapter, or null,
* in which case the adapterId will be set to "unknown adapter".
*/
protected ContextCapabilities(int caps, String adapterId) {

View file

@ -29,8 +29,6 @@ import java.util.Arrays;
/**
* An object used to cache pre-rendered complex paths.
*
* @see PiscesRenderer#render
*/
final class PiscesCache {

View file

@ -108,11 +108,11 @@ public class PiscesRenderingEngine extends RenderingEngine {
* The specified {@code src} {@link Shape} is widened according
* to the parameters specified by the {@link BasicStroke} object.
* Adjustments are made to the path as appropriate for the
* {@link VALUE_STROKE_NORMALIZE} hint if the {@code normalize}
* boolean parameter is true.
* {@link java.awt.RenderingHints#VALUE_STROKE_NORMALIZE} hint if the
* {@code normalize} boolean parameter is true.
* Adjustments are made to the path as appropriate for the
* {@link VALUE_ANTIALIAS_ON} hint if the {@code antialias}
* boolean parameter is true.
* {@link java.awt.RenderingHints#VALUE_ANTIALIAS_ON} hint if the
* {@code antialias} boolean parameter is true.
* <p>
* The geometry of the widened path is forwarded to the indicated
* {@link PathConsumer2D} object as it is calculated.

View file

@ -45,10 +45,9 @@ public final class DialogOwner
private Frame dlgOwner;
/**
* Construct a new dialog type selection enumeration value with the
* given integer value.
* Construct a new dialog owner attribute with the given frame.
*
* @param value Integer value.
* @param frame the frame that owns the print dialog
*/
public DialogOwner(Frame frame) {
dlgOwner = frame;

View file

@ -74,7 +74,7 @@ class OpenBook implements Pageable {
/**
* Return the PageFormat of the page specified by 'pageIndex'.
* @param int The zero based index of the page whose
* @param pageIndex The zero based index of the page whose
* PageFormat is being requested.
* @return The PageFormat describing the size and orientation
*/
@ -85,7 +85,7 @@ class OpenBook implements Pageable {
/**
* Return the Printable instance responsible for rendering
* the page specified by 'pageIndex'.
* @param int The zero based index of the page whose
* @param pageIndex The zero based index of the page whose
* Printable is being requested.
* @return The Printable that will draw the page.
*/

View file

@ -126,7 +126,7 @@ class PSPathGraphics extends PathGraphics {
* such as Hebrew and Arabic, the glyphs can be rendered from right to
* left, in which case the coordinate supplied is the location of the
* leftmost character on the baseline.
* @param s the <code>String</code> to be rendered
* @param str the <code>String</code> to be rendered
* @param x,&nbsp;y the coordinates where the <code>String</code>
* should be rendered
* @see #setPaint
@ -256,7 +256,7 @@ class PSPathGraphics extends PathGraphics {
* is transformed by the supplied AffineTransform and
* drawn using PS to the printer context.
*
* @param img The image to be drawn.
* @param image The image to be drawn.
* This method does nothing if <code>img</code> is null.
* @param xform Used to transform the image before drawing.
* This can be null.

View file

@ -361,9 +361,9 @@ public class PeekGraphics extends Graphics2D
* use this font.
* @param font the font.
* @see java.awt.Graphics#getFont
* @see java.awt.Graphics#drawChars(java.lang.String, int, int)
* @see java.awt.Graphics#drawString(byte[], int, int, int, int)
* @see java.awt.Graphics#drawBytes(char[], int, int, int, int)
* @see java.awt.Graphics#drawChars(char[], int, int, int, int)
* @see java.awt.Graphics#drawString(String, int, int)
* @see java.awt.Graphics#drawBytes(byte[], int, int, int, int)
* @since 1.0
*/
public void setFont(Font font) {
@ -1446,7 +1446,7 @@ public class PeekGraphics extends Graphics2D
* Draws a string of text.
* The rendering attributes applied include the clip, transform,
* paint or color, font and composite attributes.
* @param s The string to be drawn.
* @param str The string to be drawn.
* @param x,y The coordinates where the string should be drawn.
* @see #setPaint
* @see java.awt.Graphics#setColor
@ -1548,7 +1548,7 @@ public class PeekGraphics extends Graphics2D
* @param comp The Composite object to be used for drawing.
* @see java.awt.Graphics#setXORMode
* @see java.awt.Graphics#setPaintMode
* @see AlphaComposite
* @see java.awt.AlphaComposite
*/
public void setComposite(Composite comp) {
mGraphics.setComposite(comp);
@ -1560,8 +1560,8 @@ public class PeekGraphics extends Graphics2D
* @param paint The Paint object to be used to generate color in
* the rendering process.
* @see java.awt.Graphics#setColor
* @see GradientPaint
* @see TexturePaint
* @see java.awt.GradientPaint
* @see java.awt.TexturePaint
*/
public void setPaint(Paint paint) {
mGraphics.setPaint(paint);
@ -1594,7 +1594,7 @@ public class PeekGraphics extends Graphics2D
* Returns the preferences for the rendering algorithms.
* @param hintCategory The category of hint to be set.
* @return The preferences for rendering algorithms.
* @see RenderingHings
* @see RenderingHints
*/
public Object getRenderingHint(Key hintCategory) {
return mGraphics.getRenderingHint(hintCategory);
@ -1647,7 +1647,6 @@ public class PeekGraphics extends Graphics2D
* @param Tx The Transform object to be composed with the current
* transform.
* @see #setTransform
* @see TransformChain
* @see AffineTransform
*/
public void transform(AffineTransform Tx) {
@ -1658,7 +1657,6 @@ public class PeekGraphics extends Graphics2D
* Sets the Transform in the current graphics state.
* @param Tx The Transform object to be used in the rendering process.
* @see #transform
* @see TransformChain
* @see AffineTransform
*/
public void setTransform(AffineTransform Tx) {
@ -1700,8 +1698,8 @@ public class PeekGraphics extends Graphics2D
* of the component, use appropriate methods of the component.
* @param color The background color that should be used in
* subsequent calls to clearRect().
* @see getBackground
* @see Graphics.clearRect()
* @see #getBackground
* @see Graphics#clearRect
*/
public void setBackground(Color color) {
mGraphics.setBackground(color);
@ -1709,7 +1707,7 @@ public class PeekGraphics extends Graphics2D
/**
* Returns the background color used for clearing a region.
* @see setBackground
* @see #setBackground
*/
public Color getBackground() {
return mGraphics.getBackground();
@ -1717,7 +1715,7 @@ public class PeekGraphics extends Graphics2D
/**
* Returns the current Stroke in the Graphics2D state.
* @see setStroke
* @see #setStroke
*/
public Stroke getStroke() {
return mGraphics.getStroke();

View file

@ -79,7 +79,7 @@ import sun.print.SunMinMaxPage;
* A class which initiates and executes a print job using
* the underlying PrinterJob graphics conversions.
*
* @see Toolkit#getPrintJob
* @see java.awt.Toolkit#getPrintJob
*
*/
public class PrintJob2D extends PrintJob implements Printable, Runnable {
@ -750,7 +750,7 @@ public class PrintJob2D extends PrintJob implements Printable, Runnable {
* The page is sent to the printer when the graphics
* object is disposed. This graphics object will also implement
* the PrintGraphics interface.
* @see PrintGraphics
* @see java.awt.PrintGraphics
*/
public Graphics getGraphics() {
@ -937,7 +937,7 @@ public class PrintJob2D extends PrintJob implements Printable, Runnable {
* If the requested page does not exist then this method returns
* NO_SUCH_PAGE; otherwise PAGE_EXISTS is returned.
* The <code>Graphics</code> class or subclass implements the
* {@link PrinterGraphics} interface to provide additional
* {@link java.awt.PrintGraphics} interface to provide additional
* information. If the <code>Printable</code> object
* aborts the print job then it throws a {@link PrinterException}.
* @param graphics the context into which the page is drawn

View file

@ -297,9 +297,9 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* use this font.
* @param font the font.
* @see java.awt.Graphics#getFont
* @see java.awt.Graphics#drawChars(java.lang.String, int, int)
* @see java.awt.Graphics#drawString(byte[], int, int, int, int)
* @see java.awt.Graphics#drawBytes(char[], int, int, int, int)
* @see java.awt.Graphics#drawChars(char[], int, int, int, int)
* @see java.awt.Graphics#drawString(String, int, int)
* @see java.awt.Graphics#drawBytes(byte[], int, int, int, int)
* @since 1.0
*/
public void setFont(Font font) {
@ -1345,7 +1345,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* Draws a string of text.
* The rendering attributes applied include the clip, transform,
* paint or color, font and composite attributes.
* @param s The string to be drawn.
* @param str The string to be drawn.
* @param x,y The coordinates where the string should be drawn.
* @see #setPaint
* @see java.awt.Graphics#setColor
@ -1432,7 +1432,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* @param comp The Composite object to be used for drawing.
* @see java.awt.Graphics#setXORMode
* @see java.awt.Graphics#setPaintMode
* @see AlphaComposite
* @see java.awt.AlphaComposite
*/
public void setComposite(Composite comp) {
mGraphics.setComposite(comp);
@ -1444,8 +1444,8 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* @param paint The Paint object to be used to generate color in
* the rendering process.
* @see java.awt.Graphics#setColor
* @see GradientPaint
* @see TexturePaint
* @see java.awt.GradientPaint
* @see java.awt.TexturePaint
*/
public void setPaint(Paint paint) {
mGraphics.setPaint(paint);
@ -1455,7 +1455,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* Sets the Stroke in the current graphics state.
* @param s The Stroke object to be used to stroke a Shape in
* the rendering process.
* @see BasicStroke
* @see java.awt.BasicStroke
*/
public void setStroke(Stroke s) {
mGraphics.setStroke(s);
@ -1478,7 +1478,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* Returns the preferences for the rendering algorithms.
* @param hintCategory The category of hint to be set.
* @return The preferences for rendering algorithms.
* @see RenderingHings
* @see RenderingHints
*/
public Object getRenderingHint(Key hintCategory) {
return mGraphics.getRenderingHint(hintCategory);
@ -1531,7 +1531,6 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* @param Tx The Transform object to be composed with the current
* transform.
* @see #setTransform
* @see TransformChain
* @see AffineTransform
*/
public void transform(AffineTransform Tx) {
@ -1542,7 +1541,6 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* Sets the Transform in the current graphics state.
* @param Tx The Transform object to be used in the rendering process.
* @see #transform
* @see TransformChain
* @see AffineTransform
*/
public void setTransform(AffineTransform Tx) {
@ -1584,8 +1582,8 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
* of the component, use appropriate methods of the component.
* @param color The background color that should be used in
* subsequent calls to clearRect().
* @see getBackground
* @see Graphics.clearRect()
* @see #getBackground
* @see Graphics#clearRect
*/
public void setBackground(Color color) {
mGraphics.setBackground(color);
@ -1593,7 +1591,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
/**
* Returns the background color used for clearing a region.
* @see setBackground
* @see #setBackground
*/
public Color getBackground() {
return mGraphics.getBackground();
@ -1601,7 +1599,7 @@ public class ProxyGraphics2D extends Graphics2D implements PrinterGraphics {
/**
* Returns the current Stroke in the Graphics2D state.
* @see setStroke
* @see #setStroke
*/
public Stroke getStroke() {
return mGraphics.getStroke();

View file

@ -69,7 +69,7 @@ public class ProxyPrintGraphics extends ProxyGraphics
* <code>Graphics</code> object, but with a new translation and
* clip area.
* Refer to
* {@link sun.print.ProxyGraphics#createGraphics}
* {@link sun.print.ProxyGraphics#create(int, int, int, int)}
* for a complete description of this method.
* <p>
* @param x the <i>x</i> coordinate.

View file

@ -498,7 +498,7 @@ public abstract class RasterPrinterJob extends PrinterJob {
* Throws <code>PrinterException</code> if the specified service
* cannot support the <code>Pageable</code> and
* <code>Printable</code> interfaces necessary to support 2D printing.
* @param a print service which supports 2D printing.
* @param service print service which supports 2D printing.
*
* @throws PrinterException if the specified service does not support
* 2D printing or no longer available.
@ -1024,7 +1024,7 @@ public abstract class RasterPrinterJob extends PrinterJob {
* The pages in the document to be printed by this PrinterJob
* are drawn by the Printable object 'painter'. The PageFormat
* for each page is the default page format.
* @param Printable Called to render each page of the document.
* @param painter Called to render each page of the document.
*/
public void setPrintable(Printable painter) {
setPageable(new OpenBook(defaultPage(new PageFormat()), painter));
@ -1034,8 +1034,8 @@ public abstract class RasterPrinterJob extends PrinterJob {
* The pages in the document to be printed by this PrinterJob
* are drawn by the Printable object 'painter'. The PageFormat
* of each page is 'format'.
* @param Printable Called to render each page of the document.
* @param PageFormat The size and orientation of each page to
* @param painter Called to render each page of the document.
* @param format The size and orientation of each page to
* be printed.
*/
public void setPrintable(Printable painter, PageFormat format) {
@ -1048,7 +1048,7 @@ public abstract class RasterPrinterJob extends PrinterJob {
* Pageable instance 'document'. 'document' will be queried
* for the number of pages as well as the PageFormat and
* Printable for each page.
* @param Pageable The document to be printed. It may not be null.
* @param document The document to be printed. It may not be null.
* @exception NullPointerException the Pageable passed in was null.
* @see PageFormat
* @see Printable

View file

@ -89,7 +89,7 @@ public abstract class CachedPainter {
* @param y Y-coordinate to render to
* @param w Width to render in
* @param h Height to render in
* @param arg Variable arguments that will be passed to paintToImage
* @param args Variable arguments that will be passed to paintToImage
*/
public void paint(Component c, Graphics g, int x,
int y, int w, int h, Object... args) {

View file

@ -54,7 +54,6 @@ import javax.swing.Action;
* <code>isEnabled(Component)</code>, and be aware that the passed in
* <code>Component</code> may be null.
*
* @see com.sun.java.swing.ExtendedAction
* @see javax.swing.Action
* @author Scott Violet
*/

View file

@ -289,7 +289,7 @@ public class DefaultSynthStyle extends SynthStyle implements Cloneable {
/**
* Sets the insets.
*
* @param Insets.
* @param insets the new insets.
*/
public void setInsets(Insets insets) {
this.insets = insets;
@ -300,7 +300,7 @@ public class DefaultSynthStyle extends SynthStyle implements Cloneable {
* insets will be placed in it, otherwise a new Insets object will be
* created and returned.
*
* @param context SynthContext identifying requestor
* @param state SynthContext identifying requestor
* @param to Where to place Insets
* @return Insets.
*/
@ -435,7 +435,7 @@ public class DefaultSynthStyle extends SynthStyle implements Cloneable {
* Returns the default value for a particular property. This is only
* invoked if this style doesn't define a property for <code>key</code>.
*
* @param state SynthContext identifying requestor
* @param context SynthContext identifying requestor
* @param key Property being requested.
* @return Value of the named property
*/
@ -724,8 +724,6 @@ public class DefaultSynthStyle extends SynthStyle implements Cloneable {
*
* @param state Component state(s) that this StateInfo should be used
* for
* @param painter Painter responsible for rendering
* @param bgPainter Painter responsible for rendering the background
* @param font Font for this state
* @param colors Colors for this state
*/

View file

@ -118,7 +118,7 @@ public class Paint9Painter extends CachedPainter {
* @param dInsets Destination insets specifying the portion of the image
* will be stretched or tiled, if <code>null</code> empty
* <code>Insets</code> will be used.
* @param paintType Specifies what type of algorithm to use in painting
* @param type Specifies what type of algorithm to use in painting
* @param mask Specifies portion of image to render, if
* <code>PAINT_ALL</code> is specified, any other regions
* specified will not be painted, for example

View file

@ -212,7 +212,7 @@ public class TextComponentPrintable implements CountingPrintable {
* level {@code JEditorPanes}. For instance if there is a frame
* inside the frame it will return the top frame only.
*
* @param c the container to find all frames under
* @param container the container to find all frames under
* @param list {@code List} to append the results too
*/
private static void getFrames(final Container container, List<JEditorPane> list) {

View file

@ -189,7 +189,7 @@ public abstract class UNIXToolkit extends SunToolkit
* @param stockId String which defines the stock id of the gtk item.
* For a complete list reference the API at www.gtk.org for StockItems.
* @param iconSize One of the GtkIconSize values defined in GTKConstants
* @param textDirection One of the TextDirection values defined in
* @param direction One of the TextDirection values defined in
* GTKConstants
* @param detail Render detail that is passed to the native engine (feel
* free to pass null)

View file

@ -338,7 +338,6 @@ public final class XAtom {
/** Gets the window property for the specified window
* @param window window id to use
* @param str value to set to.
* @return string with the property.
* @since 1.5
*/

View file

@ -680,7 +680,6 @@ public class XComponentPeer extends XWindow implements ComponentPeer, DropTarget
* obtained
* @return the font metrics for <code>font</code>
* @see #getFont
* @see #getPeer
* @see java.awt.peer.ComponentPeer#getFontMetrics(Font)
* @see Toolkit#getFontMetrics(Font)
* @since 1.0

View file

@ -1952,7 +1952,6 @@ class XListPeer extends XComponentPeer implements ListPeer, XScrollbarClient {
* Paint the horizontal scrollbar to the screen
*
* @param g the graphics context to draw into
* @param colors the colors used to draw the scrollbar
* @param paintAll paint the whole scrollbar if true, just the thumb if false
*/
void paintHorScrollbar(Graphics g, boolean paintAll) {
@ -1964,7 +1963,6 @@ class XListPeer extends XComponentPeer implements ListPeer, XScrollbarClient {
* Paint the vertical scrollbar to the screen
*
* @param g the graphics context to draw into
* @param colors the colors used to draw the scrollbar
* @param paintAll paint the whole scrollbar if true, just the thumb if false
*/
void paintVerScrollbar(Graphics g, boolean paintAll) {

View file

@ -222,7 +222,7 @@ public class XMenuBarPeer extends XBaseMenuWindow implements MenuBarPeer {
}
/**
* @see XBaseMenuWindow.map
* @see XBaseMenuWindow#map
*/
protected MappingData map() {
XMenuItemPeer[] itemVector = copyItems();
@ -292,7 +292,7 @@ public class XMenuBarPeer extends XBaseMenuWindow implements MenuBarPeer {
}
/**
* @see XBaseMenuWindow.getSubmenuBounds
* @see XBaseMenuWindow#getSubmenuBounds
*/
protected Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize) {
Rectangle globalBounds = toGlobal(itemBounds);
@ -362,7 +362,7 @@ public class XMenuBarPeer extends XBaseMenuWindow implements MenuBarPeer {
************************************************/
/**
* @see XBaseMenuWindow.doDispose()
* @see XBaseMenuWindow#doDispose()
*/
protected void doDispose() {
super.doDispose();
@ -388,7 +388,7 @@ public class XMenuBarPeer extends XBaseMenuWindow implements MenuBarPeer {
/**
* Performs ungrabbing of input
* @see XBaseWindow.ungrabInputImpl()
* @see XBaseWindow#ungrabInputImpl()
*/
void ungrabInputImpl() {
selectItem(null, false);

View file

@ -437,7 +437,7 @@ public class XMenuItemPeer implements MenuItemPeer {
* Sets mapping of item to window.
* @param bounds bounds of item in container's coordinates
* @param textOrigin point for drawString in container's coordinates
* @see XBaseMenuWindow.map()
* @see XBaseMenuWindow#map()
*/
void map(Rectangle bounds, Point textOrigin) {
this.bounds = bounds;

View file

@ -192,14 +192,14 @@ public class XMenuWindow extends XBaseMenuWindow {
************************************************/
/**
* @see XBaseMenuWindow.getParentMenuWindow()
* @see XBaseMenuWindow#getParentMenuWindow()
*/
protected XBaseMenuWindow getParentMenuWindow() {
return (menuPeer != null) ? menuPeer.getContainer() : null;
}
/**
* @see XBaseMenuWindow.map()
* @see XBaseMenuWindow#map()
*/
protected MappingData map() {
//TODO:Implement popup-menu caption mapping and painting and tear-off
@ -274,7 +274,7 @@ public class XMenuWindow extends XBaseMenuWindow {
}
/**
* @see XBaseMenuWindow.getSubmenuBounds()
* @see XBaseMenuWindow#getSubmenuBounds
*/
protected Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize) {
Rectangle globalBounds = toGlobal(itemBounds);

View file

@ -161,8 +161,6 @@ abstract class XScrollbar {
* paint the scrollbar
* @param g the graphics context to paint into
* @param colors the colors to use when painting the scrollbar
* @param width the width of the scrollbar
* @param height the height of the scrollbar
* @param paintAll paint the whole scrollbar if true, just the thumb is false
*/
void paint(Graphics g, Color colors[], boolean paintAll) {
@ -393,7 +391,7 @@ abstract class XScrollbar {
/**
* Scroll one unit.
* @see notifyValue
* @see #notifyValue
*/
void scroll() {
switch (mode) {
@ -607,7 +605,6 @@ abstract class XScrollbar {
* @param minimum is the minimum value of the scrollbar
* @param maximum is the maximum value of the scrollbar
* @param unitSize is the unit size for increment or decrement of the value
* @param page is the block size for increment or decrement of the value
* @see #setValues
*/
synchronized void setValues(int value, int visible, int minimum, int maximum,
@ -631,7 +628,7 @@ abstract class XScrollbar {
/**
* Sets the value of this Scrollbar to the specified value.
* @param value the new value of the Scrollbar. If this value is
* @param newValue the new value of the Scrollbar. If this value is
* below the current minimum or above the current maximum minus
* the visible amount, it becomes the new one of those values,
* respectively.
@ -655,7 +652,7 @@ abstract class XScrollbar {
/**
* Sets the minimum value for this Scrollbar.
* @param minimum the minimum value of the scrollbar
* @param newMinimum the minimum value of the scrollbar
*/
synchronized void setMinimum(int newMinimum) {
/* Use setValues so that a consistent policy
@ -675,7 +672,7 @@ abstract class XScrollbar {
/**
* Sets the maximum value for this Scrollbar.
* @param maximum the maximum value of the scrollbar
* @param newMaximum the maximum value of the scrollbar
*/
synchronized void setMaximum(int newMaximum) {
/* Use setValues so that a consistent policy
@ -694,7 +691,7 @@ abstract class XScrollbar {
/**
* Sets the visible amount of this Scrollbar, which is the range
* of values represented by the width of the scroll bar's bubble.
* @param visible the amount visible per page
* @param newAmount the amount visible per page
*/
synchronized void setVisibleAmount(int newAmount) {
setValues(val, newAmount, min, max);
@ -759,7 +756,7 @@ abstract class XScrollbar {
/**
* Returns the scale factor for the thumbArea ( thumbAreaH / (max - min)).
* @see #getArrowAreaSize
* @see #getArrowAreaWidth
*/
private double getScaleFactor(){
double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min));

View file

@ -58,7 +58,7 @@ import sun.awt.image.SurfaceManager;
* This is an implementation of a GraphicsConfiguration object for a
* single X11 visual.
*
* @see GraphicsEnvironment
* @see java.awt.GraphicsEnvironment
* @see GraphicsDevice
*/
public class X11GraphicsConfig extends GraphicsConfiguration

View file

@ -48,7 +48,7 @@ import sun.java2d.xr.XRSurfaceData;
* for X11 environments.
*
* @see GraphicsDevice
* @see GraphicsConfiguration
* @see java.awt.GraphicsConfiguration
*/
public final class X11GraphicsEnvironment extends SunGraphicsEnvironment {

View file

@ -548,7 +548,7 @@ public abstract class X11InputMethod extends InputMethodAdapter {
* method is invoked from the event handler in canvas.c in the
* AWT Toolkit thread context and thus inside the AWT Lock.
* @param str committed text
* @param long when
* @param when when
*/
// NOTE: This method may be called by privileged threads.
// This functionality is implemented in a package-private method

View file

@ -436,12 +436,6 @@ public class FontConfigManager {
return (fcInfo.compFont = new CompositeFont(physFont, jdkFont));
}
/**
*
* @param locale
* @param fcFamily
* @return
*/
public FcCompFont[] getFontConfigFonts() {
return fontConfigFonts;
}

View file

@ -663,7 +663,7 @@ public abstract class WComponentPeer extends WObjectPeer
* This method is intentionally not synchronized as it is called while
* holding other locks.
*
* @see sun.java2d.d3d.D3DScreenUpdateManager#validate(D3DWindowSurfaceData)
* @see sun.java2d.d3d.D3DScreenUpdateManager#validate
*/
public Color getBackgroundNoSync() {
return background;

View file

@ -386,7 +386,7 @@ final class WPathGraphics extends PathGraphics {
* such as Hebrew and Arabic, the glyphs can be rendered from right to
* left, in which case the coordinate supplied is the location of the
* leftmost character on the baseline.
* @param s the <code>String</code> to be rendered
* @param str the <code>String</code> to be rendered
* @param x,&nbsp;y the coordinates where the <code>String</code>
* should be rendered
* @see #setPaint
@ -877,7 +877,7 @@ final class WPathGraphics extends PathGraphics {
* is transformed by the supplied AffineTransform and
* drawn using GDI to the printer context.
*
* @param img The image to be drawn.
* @param image The image to be drawn.
* @param xform Used to transform the image before drawing.
* This can be null.
* @param bgcolor This color is drawn where the image has transparent

View file

@ -591,7 +591,7 @@ public final class WPrinterJob extends RasterPrinterJob
* Throws <code>PrinterException</code> if the specified service
* cannot support the <code>Pageable</code> and
* </code>Printable</code> interfaces necessary to support 2D printing.
* @param a print service which supports 2D printing.
* @param service print service which supports 2D printing.
*
* @throws PrinterException if the specified service does not support
* 2D printing.

View file

@ -59,7 +59,7 @@ import sun.misc.InnocuousThread;
* GDIWindowSurfaceData. A background thread handles the swap chain flips.
*
* There are some restrictions to which windows we would use this for.
* @see #createScreenSurface()
* @see #createScreenSurface
*/
public class D3DScreenUpdateManager extends ScreenUpdateManager
implements Runnable
@ -290,7 +290,7 @@ public class D3DScreenUpdateManager extends ScreenUpdateManager
/**
* Adds a surface to the list of tracked surfaces.
*
* @param d3dw the surface to be added
* @param sd the surface to be added
*/
private void trackScreenSurface(SurfaceData sd) {
if (!done && sd instanceof D3DWindowSurfaceData) {

View file

@ -118,7 +118,7 @@ public class D3DSurfaceData extends SurfaceData implements AccelSurface {
/**
* To be used with getNativeResource() only.
* @see #getNativeResource()
* @see #getNativeResource
*/
public static final int D3D_DEVICE_RESOURCE= 100;
/*

View file

@ -244,7 +244,7 @@ public abstract class WGLSurfaceData extends OGLSurfaceData {
* Updates the layered window with the contents of the surface.
*
* @param psdops pointer to the native ogl sd structure
* @param pData pointer to the AwtWindow peer data
* @param peer pointer to the AwtWindow peer data
* @param w width of the window
* @param h height of the window
* @see sun.awt.windows.TranslucentWindowPainter